File: Jamfile

package info (click to toggle)
argyll 3.3.0%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 33,944 kB
  • sloc: ansic: 402,917; javascript: 36,570; xml: 1,551; sh: 520; makefile: 428
file content (77 lines) | stat: -rwxr-xr-x 1,743 bytes parent folder | download | duplicates (2)
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
72
73
74
75
76
77

# Top level Argyll Jamfile. 

# Overall optization state and configuration. Overrides sub-Jamfiles
# See Jamtop and Jambase for other details.

PREF_CCFLAGS 	+= $(CCOPTFLAG) ;		# Turn optimisation on
#PREF_CCFLAGS	+= $(CCDEBUGFLAG) ;		# Debugging flags
#PREF_CCFLAGS	+= $(CCHEAPDEBUG) ;		# Heap Debugging & Debugging flags
#PREF_LINKFLAGS	+= $(LINKOPTFLAG) ;		# Link optimization flags
PREF_LINKFLAGS	+= $(LINKDEBUGFLAG) ;	# Link debugging flags
#PREF_CCFLAGS 	+= $(CCPROFFLAG) ;		# Profile flags
#PREF_LINKFLAGS	+= $(LINKPROFFLAG) ;    # Profile flags

if [ GLOB . : thirdparty_licenses.txt ] {
	ExeDoc = thirdparty_licenses.txt ;
	InstallFile bin : $(ExeDoc) ;
}

# Need compile date ?
if $(NEED_COMPILE_DATE) = true && [ GLOB $(PATH) : awk awk.exe ] {
	Always compiledate.h ;
	GenFileNND compiledate.h : "awk 'BEGIN {srand();print \"#define COMPILEDATE \" srand()}' > compiledate.h" ; 
} else {
	# make sure compilation fails if there is no awk and compiledate.h is needed
	if [ GLOB . : compiledate.h ] {
		GenFileNND compiledate.rm : $(RM) compiledate.h ; 
	}
}

# Include all the sub-directory Jamfiles

SubInclude numlib ;
SubInclude plot ;
SubInclude icc ;
SubInclude cgats ;
SubInclude xml ;
SubInclude yajl ;
SubInclude rspl ;
SubInclude gamut ;
SubInclude xicc ;
SubInclude imdi ;
SubInclude spectro ;
SubInclude target ;
SubInclude scanin ;
SubInclude profile ;
SubInclude link ;
SubInclude tweak ;
SubInclude render ;
SubInclude namedc ;
SubInclude ccast ;

if ! $(HAVE_TIFF) {
	SubInclude tiff ;
}

if ! $(HAVE_JPEG) {
	SubInclude jpeg ;
}

if ! $(HAVE_ZLIB) {
	SubInclude zlib ;
}

if ! $(HAVE_PNG) {
	SubInclude png ;
}

if $(NT) {
	SubInclude usb ;
}

if $(UNIX) && $(OS) != MACOSX {
	SubInclude jcnf ;
	SubInclude ucmm ;
}