Changeset 2603
- Timestamp:
- Dec 3, 2004, 12:23:04 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
Makefile.Globals (modified) (2 diffs)
-
astronomy/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/Makefile.Globals
r2524 r2603 5 5 ## Assumptions: Variable "prefix" already defined 6 6 ## 7 ## $Revision: 1.2 5$ $Name: not supported by cvs2svn $8 ## $Date: 2004-1 1-30 00:49:16$7 ## $Revision: 1.26 $ $Name: not supported by cvs2svn $ 8 ## $Date: 2004-12-03 22:23:04 $ 9 9 ## 10 10 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 45 45 46 46 ifndef sladir 47 export sladir = /usr/local/star 48 endif 47 export sladir = /usr/local/star 48 endif 49 50 ifndef xml2config 51 export xml2config = `which xml2-config` 52 endif 53 54 SLA_LINK := $(shell $(sladir)/bin/sla_link) 55 XML2_LINK := $(shell $(xml2config) --libs) 56 XML2_CFLAGS := $(shell $(xml2config) --cflags) 49 57 50 58 # Set initial value for CFLAGS which will include all OS common flags for GCC 51 59 GCOVFLAGS := 52 CFLAGS := -O0 -g2 -Wall -Werror -std=c99 -D_GNU_SOURCE -pipe $(GCOVFLAGS) 60 CFLAGS := -O0 -g2 -Wall -Werror -std=c99 -D_GNU_SOURCE -pipe $(GCOVFLAGS) $(XML2_CFLAGS) 53 61 54 62 ifdef NO_TRACE 55 63 CFLAGS := $(CFLAGS) -DPS_NO_TRACE=1 56 64 endif 57 65 58 66 # Set initial value for LDFLAGS which will include all OS common flags for GCC and required libraries. 59 67 60 SLA_LINK := $(shell $(sladir)/bin/sla_link) 61 EXTLIBS := -lxml2 -lcfitsio -lgsl -lgslcblas -lfftw3f -L$(sladir)/lib $(SLA_LINK) 68 EXTLIBS := -lxml2 -lcfitsio -lgsl -lgslcblas -lfftw3f -L$(sladir)/lib $(SLA_LINK) $(XML2_LINK) 62 69 LDFLAGS := -g2 -pipe $(EXTLIBS) 63 70 -
trunk/psLib/src/astronomy/Makefile
r2602 r2603 3 3 endif 4 4 5 # XXX: Must put appropiate conditional here:6 LIBXMLDIR = /usr/include/libxml27 LIBXMLDIR = /usr/local/include/libxml28 9 5 TARGET_STATIC = libpslib.a 10 6 include ../Makefile.Globals 11 7 CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \ 12 -I.. -I../image -I../fileUtils -I$(LIBXMLDIR)\8 -I.. -I../image -I../fileUtils \ 13 9 -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\"" 14 10
Note:
See TracChangeset
for help on using the changeset viewer.
