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