www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git] / userapps / broadcom / cfm / Makefile
1 all:
2         cp cfm_$(PROFILE)_save cfm
3
4 dynamic: all install webuihtml rmwl_html sharedlib rmvoice_html
5
6 clean:
7         rm -f cfm
8
9
10 sharedlib:
11         cp -f util/psi/libpsi_$(PROFILE).so $(INSTALL_DIR)/lib/libpsi.so
12         cp -f util/psi/libpsixml_$(PROFILE).so $(INSTALL_DIR)/lib/libpsixml.so
13
14
15 install:
16         install -m 755 cfm $(INSTALL_DIR)/bin
17         $(STRIP) $(INSTALL_DIR)/bin/cfm
18
19 webuihtml:
20         mkdir -p $(INSTALL_DIR)/webs
21         cp -f html/*.html html/*.js html/*.gif html/*.css html/*.jpg $(INSTALL_DIR)/webs
22         
23 rmwl_html:
24 ifneq ($(strip $(WIRELESS)),1)
25         rm -f $(INSTALL_DIR)/webs/wl*.html
26 else
27 rmwl_html:
28 endif
29
30 rmvoice_html:
31 ifneq ($(strip $(VOXXXLOAD)),1)
32         rm -f $(INSTALL_DIR)/webs/voice*.html
33 else
34 rmvoice_html:
35 endif
36