File: GNUmakefile

package info (click to toggle)
sope 2.0.5-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 16,276 kB
  • sloc: objc: 167,238; sh: 3,588; ansic: 3,399; python: 318; makefile: 180
file content (52 lines) | stat: -rw-r--r-- 1,159 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# GNUstep makefile

include ../config.make
include $(GNUSTEP_MAKEFILES)/common.make
include ./Version

ifneq ($(frameworks),yes)
LIBRARY_NAME = libNGMime
else
FRAMEWORK_NAME = NGMime
endif

libNGMime_HEADER_FILES_DIR         = .
libNGMime_HEADER_FILES_INSTALL_DIR = /NGMime
libNGMime_INTERFACE_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
libNGMime_INSTALL_DIR=$(SOPE_SYSLIBDIR)
libNGMime_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)

ifneq ($(frameworks),yes)
libNGMime_SUBPROJECTS = NGMime NGMail NGImap4
else
libNGMime_SUBPROJECTS = NGMime
SUBPROJECTS = NGMail NGImap4
endif


# framework support

NGMime_HEADER_FILES = $(libNGMime_HEADER_FILES)
NGMime_OBJC_FILES   = $(libNGMime_OBJC_FILES)
NGMime_SUBPROJECTS  = $(libNGMime_SUBPROJECTS)


# building

-include GNUmakefile.preamble
ifneq ($(FHS_INSTALL_ROOT),)
GNUSTEP_HEADERS=$(DESTDIR)$(FHS_INSTALL_ROOT)/include
endif
ifneq ($(frameworks),yes)
include $(GNUSTEP_MAKEFILES)/library.make
else
include $(GNUSTEP_MAKEFILES)/framework.make
include $(GNUSTEP_MAKEFILES)/aggregate.make
endif
-include GNUmakefile.postamble


# package

macosx-pkg :: all
	../maintenance/make-osxpkg.sh sope-mime