]> err.no Git - sope/blob - GNUmakefile
added error data for bug 1714
[sope] / GNUmakefile
1 # GNUstep makefile
2
3 -include ./config.make
4
5 ifeq ($(GNUSTEP_MAKEFILES),)
6
7 $(warning Note: Your $(GNUSTEP_MAKEFILES) environment variable is empty!)
8 $(warning       Either use ./configure or source GNUstep.sh.)
9
10 else
11
12 include $(GNUSTEP_MAKEFILES)/common.make
13
14 SUBPROJECTS += \
15         sope-xml        \
16         sope-core       \
17         sope-mime       \
18         sope-appserver  \
19         sope-ical       \
20         sope-gdl1       \
21         xmlrpc_call
22
23 ifeq ($(HAS_LIBRARY_ldap),yes)
24 SUBPROJECTS += sope-ldap
25 endif
26
27 ifeq ($(FOUNDATION_LIB),apple)
28 ifeq ($(frameworks),yes)
29 SUBPROJECTS += sopex
30 endif
31 endif
32
33
34 -include $(GNUSTEP_MAKEFILES)/GNUmakefile.preamble
35 include $(GNUSTEP_MAKEFILES)/aggregate.make
36 -include $(GNUSTEP_MAKEFILES)/GNUmakefile.postamble
37
38 include ./Version
39
40 endif
41
42 distclean ::
43         if test -f config.make; then rm config.make; fi
44         if test -d .gsmake; then rm -r .gsmake; fi
45         if test -f config-NGStreams.log; then rm config-NGStreams.log; fi
46         if test -f config-gstepmake.log; then rm config-gstepmake.log; fi
47
48 macosx-pkg ::
49         for i in $(SUBPROJECTS); do \
50           (cd $$i; $(MAKE) macosx-pkg); \
51         done
52         ./maintenance/make-osxmpkg.sh \
53           "SOPE-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)"
54
55 macosx-dmg :: macosx-pkg
56         ./maintenance/make-osxdmg.sh \
57           "SOPE-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)" \
58           osxpkgbuild \
59           "SOPE $(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)"