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