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