update dev300-m58
[ooovba.git] / odk / util / makefile.mk
blob078ecb98715767d4c401d9a54ef7956195b814f6
1 PRJ=..
2 PRJNAME=odk
3 TARGET=odk
5 # ------------------------------------------------------------------
6 .INCLUDE: settings.mk
7 .INCLUDE: makefile.pmk
8 # ------------------------------------------------------------------
10 ZIP1TARGET=odkexamples
11 ZIP1FLAGS=-u -r
12 ZIP1DIR=$(PRJ)
13 ZIP1LIST=examples -x "*.svn*" -x "*CVS*" -x "*makefile.mk" -x "*Inspector*" -x "*Container1*" -x "*Storage*" -x "*register_component*" -x "*examples.html"
15 .INCLUDE : target.mk
17 ALLTAR:\
18 $(BIN)$/$(PRODUCTZIPFILE)
19 # $(BIN)$/odk_oo.zip
22 $(BIN)$/$(PRODUCTZIPFILE) : $(SDK_CONTENT_CHECK_FILES) $(SDK_CHECK_FLAGS)
23 cd $(BIN)$/$(PRODUCT_NAME) && zip -urq ..$/$(PRODUCTZIPFILE) . $(CHECKZIPRESULT)
24 .IF "$(USE_SHELL)"!="4nt"
25 $(PERL) -w $(SOLARENV)$/bin$/cleanzip.pl $@
26 .ENDIF # "$(USE_SHELL)"!="4nt"
27 # cd $(BIN)$/$(PRODUCT_NAME) && zip -urq ..$/$(PRODUCTZIPFILE) . -x "idl/*" $(CHECKZIPRESULT)
28 # cd $(BIN)$/$(PRODUCT_NAME) && zip -urq ..$/odkidl.zip idl/* $(CHECKZIPRESULT)
30 ODK_OO_FILES=\
31 $(PRJ)$/index.html \
32 $(PRJ)$/docs$/tools.html \
33 $(PRJ)$/docs$/notsupported.html \
34 $(PRJ)$/docs$/install.html \
35 $(PRJ)$/docs$/sdk_styles.css \
36 $(PRJ)$/docs$/images$/arrow-1.gif \
37 $(PRJ)$/docs$/images$/arrow-3.gif \
38 $(PRJ)$/docs$/images$/bg_table.gif \
39 $(PRJ)$/docs$/images$/bg_table2.gif \
40 $(PRJ)$/docs$/images$/bg_table3.gif \
41 $(PRJ)$/docs$/images$/nav_down.png \
42 $(PRJ)$/docs$/images$/nav_home.png \
43 $(PRJ)$/docs$/images$/nav_left.png \
44 $(PRJ)$/docs$/images$/nav_right.png \
45 $(PRJ)$/docs$/images$/nav_up.png \
46 $(PRJ)$/docs$/images$/sdk_head-1.gif \
47 $(PRJ)$/docs$/images$/sdk_head-2.gif \
48 $(PRJ)$/docs$/images$/sdk_head-3.gif \
49 $(PRJ)$/docs$/images$/sdk_line-1.gif \
50 $(PRJ)$/docs$/images$/sdk_line-2.gif \
51 $(PRJ)$/examples$/examples.html \
52 $(PRJ)$/examples$/DevelopersGuide$/examples.html
55 $(BIN)$/odk_oo.zip : $(ODK_OO_FILES)
56 cd $(PRJ) && zip -urq $(subst,$(PRJ)$/, $(BIN)$/odk_oo.zip) $(subst,$(PRJ)$/, $<) $(CHECKZIPRESULT)