~ubuntu-branches/ubuntu/saucy/sope/saucy

« back to all changes in this revision

Viewing changes to GNUmakefile

  • Committer: Package Import Robot
  • Author(s): Jeroen Dekkers
  • Date: 2012-05-09 15:39:17 UTC
  • Revision ID: package-import@ubuntu.com-20120509153917-nr4jlm8mktma1yv3
Tags: upstream-1.3.14
ImportĀ upstreamĀ versionĀ 1.3.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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-gdl1 \
 
20
        sope-json
 
21
 
 
22
ifeq ($(HAS_LIBRARY_ldap),yes)
 
23
SUBPROJECTS += sope-ldap
 
24
endif
 
25
 
 
26
ifeq ($(FOUNDATION_LIB),apple)
 
27
ifeq ($(frameworks),yes)
 
28
SUBPROJECTS += sopex
 
29
endif
 
30
endif
 
31
 
 
32
 
 
33
-include $(GNUSTEP_MAKEFILES)/GNUmakefile.preamble
 
34
include $(GNUSTEP_MAKEFILES)/aggregate.make
 
35
-include $(GNUSTEP_MAKEFILES)/GNUmakefile.postamble
 
36
 
 
37
endif
 
38
 
 
39
distclean ::
 
40
        if test -f config.make; then rm config.make; fi
 
41
        if test -d .gsmake; then rm -r .gsmake; fi
 
42
        if test -f config-NGStreams.log; then rm config-NGStreams.log; fi
 
43
        if test -f config-gstepmake.log; then rm config-gstepmake.log; fi
 
44
 
 
45
macosx-pkg ::
 
46
        for i in $(SUBPROJECTS); do \
 
47
          (cd $$i; $(MAKE) macosx-pkg); \
 
48
        done
 
49
        ./maintenance/make-osxmpkg.sh \
 
50
          "SOPE-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)"
 
51
 
 
52
macosx-dmg :: macosx-pkg
 
53
        ./maintenance/make-osxdmg.sh \
 
54
          "SOPE-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)" \
 
55
          osxpkgbuild \
 
56
          "SOPE $(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)"