http://assistance.club-internet.fr/telechargement/ADSL/cibox/firmware_sources/AH4222...
[bcm963xx.git] / userapps / broadcom / cfm / Makefile
1 all:
2         cp cfm_$(PROFILE)_save cfm
3
4 dynamic: all install webuihtml rmwl_html rmvoice_html
5
6 clean:
7         rm -f cfm
8
9
10 install:
11         install -m 755 cfm $(INSTALL_DIR)/bin
12         $(STRIP) $(INSTALL_DIR)/bin/cfm
13
14 webuihtml:
15         mkdir -p $(INSTALL_DIR)/webs
16 ifneq ($(strip $(PLATFORM)),)
17         cp -f html_$(PLATFORM)/*.html html_$(PLATFORM)/*.js html_$(PLATFORM)/*.gif html_$(PLATFORM)/*.css $(INSTALL_DIR)/webs
18 else
19         cp -f html/*.html html/*.js html/*.gif html/*.css $(INSTALL_DIR)/webs
20 endif
21         mkdir -p $(INSTALL_DIR)/webs/image
22 ifneq ($(strip $(PLATFORM)),)
23         cp -a html_$(PLATFORM)/image/*.gif $(INSTALL_DIR)/webs/image
24 else
25         cp -a html/image/*.gif $(INSTALL_DIR)/webs/image
26 endif
27         mkdir -p  $(INSTALL_DIR)/webs/button
28 ifneq ($(strip $(PLATFORM)),)
29         cp -a html_$(PLATFORM)/button/*.gif $(INSTALL_DIR)/webs/button
30 else
31         cp -a html/button/*.gif $(INSTALL_DIR)/webs/button
32 endif
33         mkdir -p  $(INSTALL_DIR)/webs/titres
34 ifneq ($(strip $(PLATFORM)),)
35         cp -a html_$(PLATFORM)/titres/*.gif $(INSTALL_DIR)/webs/titres
36 else
37         cp -a html/titres/*.gif $(INSTALL_DIR)/webs/titres
38 endif
39
40         
41 rmwl_html:
42 ifneq ($(strip $(WIRELESS)),1)
43         rm -f $(INSTALL_DIR)/webs/wl*.html
44 else
45 rmwl_html:
46 endif
47
48 rmvoice_html:
49 ifneq ($(strip $(VOXXXLOAD)),1)
50         rm -f $(INSTALL_DIR)/webs/voice*.html
51 else
52 rmvoice_html:
53 endif
54