File: Jamfile

package info (click to toggle)
argyll 2.0.1%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 38,928 kB
  • sloc: ansic: 380,801; xml: 1,551; sh: 655; makefile: 604
file content (37 lines) | stat: -rwxr-xr-x 926 bytes parent folder | download | duplicates (7)
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

# Jamfile for cgats library
 
#PREF_CCFLAGS 	= $(CCOPTFLAG) ;		# Turn optimisation on
PREF_CCFLAGS	= $(CCDEBUGFLAG) ;		# Debugging flags
PREF_LINKFLAGS	= $(LINKDEBUGFLAG) ;

#if stdio is not wanted in icclib:
#DEFINES = SEPARATE_STD ;

#Products
Libraries = libcgats ;
Headers = cgats.h ;

#Install
#InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries ;
#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;

# Stop objects that are in more than one library from being
# prematurely deleted:
ObjectKeep cgats pars ;

# CGATS library
Library libcgats : pars.c cgats.c ;

# Executable support if SEPARATED_STD
if SEPARATE_STD in $(DEFINES) {
	Objects parsstd.c cgatsstd.c ;
	LINKOBJS = cgatsstd parsstd ;		# Link all tests here with these
}

# Individual stand alone test of parser
MainVariant pars : pars.c : : STANDALONE_TEST ;

# Individual stand alone test of cgats i/o
MainVariant cgats : cgats.c : : STANDALONE_TEST : : pars ;