File: GNUmakefile.postamble

package info (click to toggle)
dbuskit 0.1.1-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,844 kB
  • sloc: objc: 10,502; sh: 9,463; ansic: 200; makefile: 33
file content (71 lines) | stat: -rw-r--r-- 1,636 bytes parent folder | download
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# GNUmakefile.postamble for DBusKit
#

# Things to do before compiling
# before-all::

# Things to do after compiling
#after-all::

# Things to do before installing
# before-install::

# Things to do after installing
# after-install::

# Things to do before uninstalling
# before-uninstall::

# Things to do after uninstalling
# after-uninstall::

# Things to do before cleaning
# before-clean::

# Things to do after cleaning
after-clean::
	@-$(RM) config.make
	@-$(RM) Source/config.h
	@-$(RM) Tests/DBusKit
	-gnustep-tests --clean Tests

# Things to do before distcleaning
# before-distclean::

# Things to do after distcleaning
after-distclean::
	@-$(RM)  config.log config.status config.make Source/config.h
	@-$(RM) -rf autom4te.cache

# Things to do before checking
# before-check::

# Things to do after checking
# after-check::


# Rule to generate configuration data:

config.make: config.make.in Source/config.h.in
	./configure

check::
	cd Tests; ln -s ../Headers DBusKit
	(\
	ADDITIONAL_INCLUDE_DIRS="$(ADDITIONAL_OBJCFLAGS)"; \
	ADDITIONAL_LIB_DIRS="-L../Source/DBusKit.framework/Versions/Current -lDBusKit"; \
	if [ "$(GNUSTEP_TARGET_OS)" != "windows" -a "$(GNUSTEP_TARGET_OS)" != "mingw32" ]; then \
	  ADDITIONAL_LDFLAGS="-Wl,-rpath,../Source/DBusKit.framework/Versions/Current"; \
	  LD_LIBRARY_PATH="../Source/DBusKit.framework/Versions/Current:${LD_LIBRARY_PATH}"; \
	  export ADDITIONAL_LDFLAGS; \
	  export LD_LIBRARY_PATH; \
	fi; \
	export ADDITIONAL_INCLUDE_DIRS; \
	export ADDITIONAL_LIB_DIRS; \
	if [ "$(debug)" = "yes" ]; then \
	  gnustep-tests --debug Tests; \
	else \
	  gnustep-tests Tests; \
	fi; \
	)