diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
commit | 22f703cab05b7cd368f4de9e03991b7664dc5022 (patch) | |
tree | 6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /cgats/Jamfile |
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to 'cgats/Jamfile')
-rw-r--r-- | cgats/Jamfile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cgats/Jamfile b/cgats/Jamfile new file mode 100644 index 0000000..813269a --- /dev/null +++ b/cgats/Jamfile @@ -0,0 +1,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 ; + |