Changeset 10298
- Timestamp:
- Nov 29, 2006, 2:26:29 PM (20 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 9 edited
-
Configure.in (modified) (2 diffs)
-
Makefile (modified) (2 diffs)
-
configure (modified) (10 diffs)
-
src/libautocode/Makefile (modified) (3 diffs)
-
src/libdvo/Makefile (modified) (2 diffs)
-
src/libfits/Makefile (modified) (3 diffs)
-
src/libkapa/Makefile (modified) (2 diffs)
-
src/libohana/Makefile (modified) (3 diffs)
-
src/libtap/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/Configure.in
r6706 r10298 3 3 # this is the location of the package 4 4 # change this to match your location of the source 5 ROOT = ROOTDIR6 ARCH = ARCHVAL5 ROOT = @ROOTDIR@ 6 ARCH = @ARCHVAL@ 7 7 8 8 # destination directories: … … 12 12 # LBIN = PREFIX/bin/$(ARCH) 13 13 14 LBIN = BINDIR 15 LINC = INCDIR 16 LLIB = LIBDIR 17 LMAN = MANDIR 18 LHLP = HELPDIR 19 20 # X include and lib directories 21 # put your X paths here if they are not automatically included (they 22 # seem to be ok on most linux distributions) 23 XINC = XINCDIR 24 XLIB = XLIBDIR 25 TLIB = TLIBFLAG 14 BINDIR = @BINDIR@ 15 INCDIR = @INCDIR@ 16 LIBDIR = @LIBDIR@ 17 MANDIR = @MANDIR@ 18 HELPDIR = @HELPDIR@ 26 19 27 20 # prefered C compiler 28 21 # CC = gcc -g -DOHANA_MEMORY -Wall -Werror 29 CC = gcc OPTFLAGS 22 CC = gcc @OPTFLAGS@ 23 INCDIRS = @INCDIRS@ 24 LIBDIRS = @LIBDIRS@ 25 LIBFLAGS = @LIBFLAGS@ 30 26 31 27 # select the appropriate version of ranlib -
trunk/Ohana/Makefile
r9605 r10298 69 69 70 70 # Required libraries depends on the architecture 71 LIBS-linux = libtap libohana libfits libdvo libkapa libdummy72 LIBS-lin64 = libtap libohana libfits libdvo libkapa libdummy73 LIBS-linrh = libtap libohana libfits libdvo libkapa libdummy74 LIBS-sid = libtap libohana libfits libdvo libkapa libdummy71 LIBS-linux = libtap libohana libfits libdvo libkapa 72 LIBS-lin64 = libtap libohana libfits libdvo libkapa 73 LIBS-linrh = libtap libohana libfits libdvo libkapa 74 LIBS-sid = libtap libohana libfits libdvo libkapa 75 75 LIBS-sol = libtap libohana libfits libdvo libkapa 76 76 … … 79 79 @if [ "$(ARCH)" = "" ]; then echo ""; echo " *** please define ARCH ***"; echo; exit 1; fi 80 80 @if [ "$(LIBS-$(ARCH))" = "" ]; then echo; echo " *** LIBS-$(ARCH) is missing"; echo; exit 1; fi 81 mkdir -p $( LINC)82 mkdir -p $(L LIB)81 mkdir -p $(INCDIR) 82 mkdir -p $(LIBDIR) 83 83 for i in $(LIBS-$(ARCH)); do make $$i.install || exit; done 84 84 -
trunk/Ohana/configure
r7080 r10298 76 76 if ($#args != 1) goto usage 77 77 78 # sun (at least) seems to need the socket library 79 # linux does not 80 set archlib = "" 78 set needlibs = "png z jpeg readline X11 pthread m" 79 set syslibpath = "/usr/lib /usr/X11R6/lib /usr/openwin/lib" 80 81 set needincs = "math.h fcntl.h malloc.h errno.h time.h memory.h stdlib.h string.h X11/X.h" 82 set sysincpath = "/usr/include /usr/X11R6/include /usr/openwin/include" 81 83 82 84 # check the hardware architecture: … … 93 95 set arch="sun4"; 94 96 endif 95 # XXX old solaris needed termcap for readline96 set archlib = "libsocket libnsl"97 # sun (at least) seems to need the socket library (linux does not) 98 set needlibs = "$needlibs libsocket libnsl" 97 99 breaksw; 98 100 case Linux: … … 118 120 set root = `pwd` 119 121 if ($prefix == "") set prefix = $root 120 set inc = $prefix/include/$arch 121 set lib = $prefix/lib/$arch 122 if ($vararch) then 123 set inc = $prefix/include/$arch 124 set lib = $prefix/lib/$arch 125 else 126 set inc = $prefix/include 127 set lib = $prefix/lib 128 endif 122 129 if ($?LD_LIBRARY_PATH) then 123 130 set libpath = `echo $LD_LIBRARY_PATH | tr ':' ' '` … … 127 134 128 135 # check for basic libraries 129 set fail = 0 130 foreach f ( libpng libz libjpeg libreadline $archlib ) 131 foreach g ( /usr/lib $lib $libpath ) 132 set name = "$g/$f.a" 133 if (-e $name) then 134 echo "found $name" 135 goto next_lib; 136 endif 137 set name = "$g/$f.so" 138 if (-e $name) then 139 echo "found $name" 140 goto next_lib; 141 endif 136 set faillibs = "" 137 set libflags = "" 138 set libdirs = "" 139 foreach f ( $needlibs ) 140 foreach g ( $syslibpath $lib $libpath ) 141 set name = "$g/lib$f.a" 142 if (-e $name) goto got_lib; 143 set name = "$g/lib$f.so" 144 if (-e $name) goto got_lib; 142 145 end 143 echo "missing $f" 144 set fail = 1 145 next_lib: 146 echo "missing lib$f" 147 set faillibs = "$faillibs lib$f" 146 148 continue 149 got_lib: 150 echo "found lib$f ($name)" 151 echo "$libdirs" | grep -- "-L$g " > /dev/null 152 if ($status) then 153 set libdirs = "$libdirs -L$g " 154 endif 155 echo "$libflags" | grep -- "-l$f " > /dev/null 156 if ($status) then 157 set libflags = "$libflags -l$f " 158 endif 147 159 end 148 160 161 # we need a curses library; can choose one of the following: 149 162 # check for termcap, curses, etc 150 set tlibflag = ""151 163 foreach f ( ncurses curses termcap ) 152 foreach g ( /usr/lib$lib $libpath )164 foreach g ( $syslibpath $lib $libpath ) 153 165 set name = "$g/lib$f.a" 154 if (-e $name) then 155 echo "found $name" 156 set tlibflag = "-l$f" 157 goto got_curses; 158 endif 166 if (-e $name) goto got_curses; 159 167 set name = "$g/lib$f.so" 160 if (-e $name) then 161 echo "found $name" 162 set tlibflag = "-l$f" 163 goto got_curses; 164 endif 168 if (-e $name) goto got_curses; 165 169 end 166 170 end 167 if ("$tlibflag" == "") then 168 echo "missing a valid curses library" 169 set fail = 1 170 endif 171 set faillibs = "$faillibs (ncurses | curses | termcap)" 172 echo "missing a valid curses library" 173 echo "missing: $faillibs" 174 echo "please find them and install them in $lib" 175 exit 1 171 176 172 177 got_curses: 173 174 if ($fail) then 178 echo "found $f ($name)" 179 echo "$libdirs" | grep -- "-L$g " > /dev/null 180 if ($status) then 181 set libdirs = "$libdirs -L$g " 182 endif 183 echo "$libflags" | grep -- "-l$f " > /dev/null 184 if ($status) then 185 set libflags = "$libflags -l$f " 186 endif 187 188 if ("$faillibs" != "") then 175 189 echo "your installation is missing some important libraries" 190 echo "missing: $faillibs" 176 191 echo "please find them and install them in $lib" 177 192 exit 1 178 193 endif 179 194 180 # check for basic libraries 181 set fail = 0 182 foreach f ( libX11.a ) 183 foreach g ( /usr/lib $lib $libpath /usr/X11R6/lib /usr/openwin/lib ) 184 set name = "$g/$f" 185 if (-e $name) then 186 echo "found $g/$f" 187 set xlib = $g 188 goto next_xlib; 189 endif 190 end 191 echo "missing $f" 192 set fail = 1 193 next_xlib: 194 continue 195 # check for headers 196 set failincs = "" 197 set incdirs = "" 198 foreach f ( $needincs ) 199 foreach g ( $sysincpath $inc ) 200 set name = "$g/$f" 201 if (-e $name) goto got_inc; 202 end 203 echo "missing $f" 204 set failincs = "$failincs $f" 205 continue 206 got_inc: 207 echo "found $f ($name)" 208 echo "$incdirs" | grep -- "-I$g " > /dev/null 209 if ($status) then 210 set incdirs = "$incdirs -I$g " 211 endif 195 212 end 196 213 197 if ( $fail) then198 echo "your installation is missing some important librar ies"199 echo "please find them and install them in $ lib"214 if ("$failincs" != "") then 215 echo "your installation is missing some important library headers" 216 echo "please find them and install them in $inc" 200 217 exit 1 201 218 endif 202 219 203 # check for X11 headers 204 set fail = 0 205 foreach f ( X11/X.h ) 206 foreach g ( /usr/include $inc /usr/X11R6/include /usr/openwin/include ) 207 set name = "$g/$f" 208 if (-e $name) then 209 echo "found $g/$f" 210 set xinc = $g 211 goto next_xinc; 212 endif 213 end 214 echo "missing $f" 215 set fail = 1 216 next_xinc: 217 continue 218 end 219 220 if ($fail) then 221 echo "your installation is missing some important libraries" 222 echo "please find them and install them in $lib" 223 exit 1 224 endif 225 226 echo XINC: $xinc 227 echo XLIB: $xlib 220 echo INCDIRS: $incdirs 221 echo LIBDIRS: $libdirs 222 echo LIBFLAGS: $libflags 228 223 229 224 echo ARCH: $arch … … 245 240 # modify the BINDIR 246 241 if ("$bindir" == "") then 247 set subdir = bin /$arch242 set subdir = bin 248 243 if ($vararch) set subdir = 'bin/$(ARCH)' 249 244 set bindir = $prefix/$subdir 250 245 endif 251 cat Configure.in.tmp | sed "s| BINDIR| $bindir|" > Configure.tmp246 cat Configure.in.tmp | sed "s|@BINDIR@| $bindir|" > Configure.tmp 252 247 rm -f Configure.in.tmp 253 248 mv Configure.tmp Configure.in.tmp … … 256 251 # modify the INCDIR 257 252 if ("$incdir" == "") then 258 set subdir = include /$arch253 set subdir = include 259 254 if ($vararch) set subdir = 'include/$(ARCH)' 260 255 set incdir = $prefix/$subdir 261 256 endif 262 cat Configure.in.tmp | sed "s| INCDIR|$incdir|" > Configure.tmp257 cat Configure.in.tmp | sed "s|@INCDIR@|$incdir|" > Configure.tmp 263 258 rm -f Configure.in.tmp 264 259 mv Configure.tmp Configure.in.tmp … … 267 262 # modify the LIBDIR 268 263 if ("$libdir" == "") then 269 set subdir = lib /$arch264 set subdir = lib 270 265 if ($vararch) set subdir = 'lib/$(ARCH)' 271 266 set libdir = $prefix/$subdir 272 267 endif 273 cat Configure.in.tmp | sed "s| LIBDIR|$libdir|" > Configure.tmp268 cat Configure.in.tmp | sed "s|@LIBDIR@|$libdir|" > Configure.tmp 274 269 rm -f Configure.in.tmp 275 270 mv Configure.tmp Configure.in.tmp … … 280 275 set mandir = $prefix/man 281 276 endif 282 cat Configure.in.tmp | sed "s| MANDIR|$mandir|" > Configure.tmp277 cat Configure.in.tmp | sed "s|@MANDIR@|$mandir|" > Configure.tmp 283 278 rm -f Configure.in.tmp 284 279 mv Configure.tmp Configure.in.tmp … … 290 285 endif 291 286 set helpdir = $datadir/help 292 cat Configure.in.tmp | sed "s| HELPDIR|$helpdir|" > Configure.tmp287 cat Configure.in.tmp | sed "s|@HELPDIR@|$helpdir|" > Configure.tmp 293 288 rm -f Configure.in.tmp 294 289 mv Configure.tmp Configure.in.tmp … … 298 293 cat Configure.in.tmp | sed "s|^\s*ARCH|# ARCH|" > Configure.tmp 299 294 else 300 cat Configure.in.tmp | sed "s| ARCHVAL|$arch|" > Configure.tmp295 cat Configure.in.tmp | sed "s|@ARCHVAL@|$arch|" > Configure.tmp 301 296 endif 302 297 rm -f Configure.in.tmp 303 298 mv Configure.tmp Configure.in.tmp 304 299 305 cat Configure.in.tmp | sed "s| ROOTDIR|$root|" | sed "s|XINCDIR|$xinc|" | sed "s|XLIBDIR|$xlib|" | sed "s|TLIBFLAG|$tlibflag|" | sed "s|OPTFLAGS|$optflags $pedantic|" > Configure300 cat Configure.in.tmp | sed "s|@ROOTDIR@|$root|" | sed "s|@INCDIRS@|$incdirs|" | sed "s|@LIBDIRS@|$libdirs|" | sed "s|@LIBFLAGS@|$libflags|" | sed "s|@OPTFLAGS@|$optflags $pedantic|" > Configure 306 301 rm -f Configure.in.tmp Configure.tmp 307 302 -
trunk/Ohana/src/libautocode/Makefile
r6683 r10298 13 13 TEX = $(HOME)/tex 14 14 MAN = $(HOME)/doc 15 DESTLIB = $(L LIB)16 DESTINC = $( LINC)17 DESTMAN = $( LMAN)15 DESTLIB = $(LIBDIR) 16 DESTINC = $(INCDIR) 17 DESTMAN = $(MANDIR) 18 18 19 INCS = -I$(INC) -I$(LINC) 20 LIBS = -L$(LLIB) 21 CFLAGS = $(INCS) -D$(ARCH) 22 LFLAGS = $(LIBS) 19 CFLAGS = -I$(INC) -I$(INCDIR) $(INCDIRS) -D$(ARCH) -fPIC 23 20 24 21 # remember to add entries here to libohana/Makefile:AOBJ as well … … 102 99 latex: $(LIBTEX) 103 100 104 install: $(DESTINC)/autocode.h $(DESTLIB)/libautocode.a 101 install: $(DESTINC)/autocode.h $(DESTLIB)/libautocode.a $(DESTLIB)/libautocode.so 105 102 @echo done install 106 103 107 104 test: $(DESTINC)/autocode.h 108 105 109 autocode: $(INC)/autocode.h $(LIB)/libautocode.$(ARCH).a 106 autocode: $(INC)/autocode.h $(LIB)/libautocode.$(ARCH).a $(LIB)/libautocode.$(ARCH).so 110 107 @echo done autocode 111 108 … … 137 134 @echo installed libautocode.a 138 135 136 $(DESTLIB)/libautocode.so: $(LIB)/libautocode.$(ARCH).so 137 @if [ ! -d $(DESTLIB) ]; then mkdir -p $(DESTLIB); fi 138 rm -f $(DESTLIB)/libautocode.so 139 cp $(LIB)/libautocode.$(ARCH).so $(DESTLIB)/libautocode.so 140 141 $(LIB)/libautocode.$(ARCH).so: $(OBJS) 142 @if [ ! -d $(LIB) ]; then mkdir -p $(LIB); fi 143 rm -f $(LIB)/libautocode.$(ARCH).so 144 gcc -shared -Wl,-soname,libautocode.so -o $(LIB)/libautocode.$(ARCH).so $(OBJS) -lc 145 139 146 $(TEX)/%.tex: $(DEF)/%.d $(DEF)/autocode.tex 140 147 @if [ ! -d $(TEX) ]; then mkdir -p $(TEX); fi -
trunk/Ohana/src/libdvo/Makefile
r8650 r10298 9 9 MAN = $(HOME)/doc 10 10 INC = $(HOME)/include 11 DESTBIN = $( LBIN)12 DESTLIB = $(L LIB)13 DESTINC = $( LINC)14 DESTMAN = $( LMAN)11 DESTBIN = $(BINDIR) 12 DESTLIB = $(LIBDIR) 13 DESTINC = $(INCDIR) 14 DESTMAN = $(MANDIR) 15 15 16 CFLAGS = -I$( LINC) -D$(ARCH)16 CFLAGS = -I$(INC) -I$(INCDIR) $(INCDIRS) -D$(ARCH) -fPIC 17 17 18 18 default: install 19 19 20 install: $(DESTLIB)/libdvo.a 20 install: $(DESTLIB)/libdvo.a $(DESTLIB)/libdvo.so 21 21 22 libdvo: $(LIB)/libdvo.$(ARCH).a 22 libdvo: $(LIB)/libdvo.$(ARCH).a $(LIB)/libdvo.$(ARCH).so 23 23 24 24 INCS = $(DESTINC)/dvo.h $(DESTINC)/autocode.h … … 102 102 $(RANLIB) $(LIB)/libdvo.$(ARCH).a 103 103 104 $(DESTLIB)/libdvo.so: $(LIB)/libdvo.$(ARCH).so 105 @if [ ! -d $(DESTLIB) ]; then mkdir -p $(DESTLIB); fi 106 rm -f $(DESTLIB)/libdvo.so 107 cp $(LIB)/libdvo.$(ARCH).so $(DESTLIB)/libdvo.so 108 109 $(LIB)/libdvo.$(ARCH).so: $(OBJS) 110 @if [ ! -d $(LIB) ]; then mkdir -p $(LIB); fi 111 rm -f $(LIB)/libdvo.$(ARCH).so 112 gcc -shared -Wl,-soname,libdvo.so -o $(LIB)/libdvo.$(ARCH).so $(OBJS) -lc 113 104 114 $(DESTINC)/%: $(INC)/% 105 115 @if [ ! -d $(DESTINC) ]; then mkdir -p $(DESTINC); fi -
trunk/Ohana/src/libfits/Makefile
r7039 r10298 1 # libfits package version $Name: not supported by cvs2svn $2 3 1 include ../../Configure 4 2 … … 10 8 INC = $(HOME)/include 11 9 MAN = $(HOME)/doc 12 DESTLIB = $(L LIB)13 DESTINC = $( LINC)14 DESTMAN = $( LMAN)10 DESTLIB = $(LIBDIR) 11 DESTINC = $(INCDIR) 12 DESTMAN = $(MANDIR) 15 13 16 CFLAGS = -I$( LINC) -D$(ARCH)14 CFLAGS = -I$(INC) -I$(INCDIR) $(INCDIRS) -D$(ARCH) -fPIC 17 15 18 16 default: install 19 17 20 install: $(DESTLIB)/libFITS.a $(DEST MAN)/fits.118 install: $(DESTLIB)/libFITS.a $(DESTLIB)/libFITS.so $(DESTMAN)/fits.1 21 19 22 libfits: $(LIB)/libFITS.$(ARCH).a 20 libfits: $(LIB)/libFITS.$(ARCH).a $(LIB)/libFITS.$(ARCH).so 23 21 24 22 INCS = $(DESTINC)/gfitsio.h … … 71 69 $(RANLIB) $(LIB)/libFITS.$(ARCH).a 72 70 71 $(DESTLIB)/libFITS.so: $(LIB)/libFITS.$(ARCH).so 72 @if [ ! -d $(DESTLIB) ]; then mkdir -p $(DESTLIB); fi 73 rm -f $(DESTLIB)/libFITS.so 74 cp $(LIB)/libFITS.$(ARCH).so $(DESTLIB)/libFITS.so 75 76 $(LIB)/libFITS.$(ARCH).so: $(OBJS) 77 @if [ ! -d $(LIB) ]; then mkdir -p $(LIB); fi 78 rm -f $(LIB)/libFITS.$(ARCH).so 79 gcc -shared -Wl,-soname,libFITS.so -o $(LIB)/libFITS.$(ARCH).so $(OBJS) -lc 80 73 81 $(DESTINC)/%: $(INC)/% 74 82 @if [ ! -d $(DESTINC) ]; then mkdir -p $(DESTINC); fi -
trunk/Ohana/src/libkapa/Makefile
r5933 r10298 6 6 MAN = $(HOME)/doc 7 7 INC = $(HOME)/include 8 DESTBIN = $( LBIN)9 DESTLIB = $(L LIB)10 DESTINC = $( LINC)11 DESTMAN = $( LMAN)8 DESTBIN = $(BINDIR) 9 DESTLIB = $(LIBDIR) 10 DESTINC = $(INCDIR) 11 DESTMAN = $(MANDIR) 12 12 13 CFLAGS = -I$(LINC) -I$(INC) -D$(ARCH)13 CFLAGS = -I$(INC) -I$(INCDIR) $(INCDIRS) -D$(ARCH) -fPIC 14 14 15 15 default: install 16 16 17 install: $(DESTINC)/kapa.h $(DESTLIB)/libkapa.a 17 install: $(DESTINC)/kapa.h $(DESTLIB)/libkapa.a $(DESTLIB)/libkapa.so 18 18 19 libkapa: $(LIB)/libkapa.$(ARCH).a 19 libkapa: $(LIB)/libkapa.$(ARCH).a $(LIB)/libkapa.$(ARCH).so 20 20 21 21 INCS = $(DESTINC)/kapa.h … … 52 52 $(RANLIB) $(LIB)/libkapa.$(ARCH).a 53 53 54 $(DESTLIB)/libkapa.so: $(LIB)/libkapa.$(ARCH).so 55 @if [ ! -d $(DESTLIB) ]; then mkdir -p $(DESTLIB); fi 56 rm -f $(DESTLIB)/libkapa.so 57 cp $(LIB)/libkapa.$(ARCH).so $(DESTLIB)/libkapa.so 58 59 $(LIB)/libkapa.$(ARCH).so: $(OBJS) 60 @if [ ! -d $(LIB) ]; then mkdir -p $(LIB); fi 61 rm -f $(LIB)/libkapa.$(ARCH).so 62 gcc -shared -Wl,-soname,libkapa.so -o $(LIB)/libkapa.$(ARCH).so $(OBJS) -lc 63 54 64 $(DESTINC)/%: $(INC)/% 55 65 @if [ ! -d $(DESTINC) ]; then mkdir -p $(DESTINC); fi -
trunk/Ohana/src/libohana/Makefile
r8633 r10298 9 9 TESTLIB = $(ROOT)/src/libtap/lib/$(ARCH) 10 10 TESTINC = $(ROOT)/src/libtap/include 11 DESTBIN = $( LBIN)12 DESTLIB = $(L LIB)13 DESTINC = $( LINC)14 DESTMAN = $( LMAN)11 DESTBIN = $(BINDIR) 12 DESTLIB = $(LIBDIR) 13 DESTINC = $(INCDIR) 14 DESTMAN = $(MANDIR) 15 15 16 LIBS = -L$(LLIB) -L$(XLIB) -lohana 17 CFLAGS = -I$(INC) -I$(LINC) -D$(ARCH) 16 CFLAGS = -I$(INCDIR) $(INCDIRS) -D$(ARCH) -fPIC 18 17 TFLAGS = $(CFLAGS) $(LIBS) -L$(TESTLIB) -I$(TESTINC) -ltap 18 LIBS = -L$(LIBDIRS) $(LIBFLAGS) -lohana 19 19 20 20 default: install 21 21 22 install: $(DESTLIB)/libohana.a 22 install: $(DESTLIB)/libohana.a $(DESTLIB)/libohana.so 23 23 24 libohana: $(LIB)/libohana.$(ARCH).a 24 libohana: $(LIB)/libohana.$(ARCH).a $(LIB)/libohana.$(ARCH).so 25 25 26 26 INCS = \ … … 58 58 $(RANLIB) $(LIB)/libohana.$(ARCH).a 59 59 60 $(DESTLIB)/libohana.so: $(LIB)/libohana.$(ARCH).so 61 @if [ ! -d $(DESTLIB) ]; then mkdir -p $(DESTLIB); fi 62 rm -f $(DESTLIB)/libohana.so 63 cp $(LIB)/libohana.$(ARCH).so $(DESTLIB)/libohana.so 64 65 $(LIB)/libohana.$(ARCH).so: $(OBJS) 66 @if [ ! -d $(LIB) ]; then mkdir -p $(LIB); fi 67 rm -f $(LIB)/libohana.$(ARCH).so 68 gcc -shared -Wl,-soname,libohana.so -o $(LIB)/libohana.$(ARCH).so $(OBJS) -lc 69 60 70 $(DESTINC)/%: $(INC)/% 61 71 @if [ ! -d $(DESTINC) ]; then mkdir -p $(DESTINC); fi … … 83 93 84 94 .c.$(ARCH).o: 85 echo make c86 echo $(CFLAGS)87 echo $*.c88 echo $@89 95 $(CC) $(CFLAGS) -c $*.c -o $@ 90 96 -
trunk/Ohana/src/libtap/Makefile
r8631 r10298 16 16 DESTMAN = $(LMAN) 17 17 18 # 19 INCS = -I$(INC) -I$(LINC) -I$(XINC) 20 LIBS = -L$(LLIB) -L$(XLIB) -ldvo -lkapa -lFITS -lohana -lz -lm 21 CFLAGS = $(INCS) 22 LFLAGS = $(LIBS) 18 CFLAGS = -I$(INC) -I$(INCDIR) $(INCDIRS) -D$(ARCH) 23 19 24 20 TAP = $(SRC)/tap.$(ARCH).o
Note:
See TracChangeset
for help on using the changeset viewer.
