parent
4221d2c804
commit
c2d0e059d1
@ -1,18 +1,40 @@
|
|||||||
--- cfitsio/cfitsio.pc.in.orig 2012-04-11 14:48:16.000000000 -0600
|
diff -ur cfitsio/Makefile.in cfitsio-zlib/Makefile.in
|
||||||
+++ cfitsio/cfitsio.pc.in 2012-04-13 10:10:54.545363858 -0600
|
--- cfitsio/Makefile.in 2012-04-24 14:19:09.307351928 +0200
|
||||||
@@ -1,11 +1,11 @@
|
+++ cfitsio-zlib/Makefile.in 2012-04-24 14:19:40.906582888 +0200
|
||||||
prefix=@prefix@
|
@@ -52,9 +52,7 @@
|
||||||
exec_prefix=@exec_prefix@
|
putcolj.c putcolk.c putcoluk.c putcoll.c putcols.c putcolsb.c \
|
||||||
libdir=@libdir@
|
putcolu.c putcolui.c putcoluj.c putkey.c region.c scalnull.c \
|
||||||
-includedir=@includedir@
|
swapproc.c wcssub.c wcsutil.c imcompress.c quantize.c ricecomp.c \
|
||||||
+includedir=@includedir@/cfitsio
|
- pliocomp.c fits_hcompress.c fits_hdecompress.c zuncompress.c zcompress.c \
|
||||||
|
- adler32.c crc32.c inffast.c inftrees.c trees.c zutil.c \
|
||||||
Name: cfitsio
|
- deflate.c infback.c inflate.c uncompr.c \
|
||||||
Description: FITS File Subroutine Library
|
+ pliocomp.c fits_hcompress.c fits_hdecompress.c zuncompress.c zcompress.c
|
||||||
Version: 3.30
|
|
||||||
-Libs: -L${libdir} -lcfitsio @LIBS@
|
SOURCES = ${CORE_SOURCES} @F77_WRAPPERS@
|
||||||
-Libs.private: -lm
|
|
||||||
-Cflags: -I${includedir}
|
@@ -87,7 +85,7 @@
|
||||||
+Libs: -L${libdir} -lcfitsio
|
shared: libcfitsio${SHLIB_SUFFIX}
|
||||||
+Libs.private: @LIBS@ -lm
|
|
||||||
+Cflags: -D_REENTRANT -I${includedir}
|
libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
|
||||||
|
- ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -lpthread -lm
|
||||||
|
+ ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -lpthread -lm -lz
|
||||||
|
|
||||||
|
install: libcfitsio.a $(INSTALL_DIRS)
|
||||||
|
@if [ -f libcfitsio.a ]; then \
|
||||||
|
@@ -109,13 +107,13 @@
|
||||||
|
${CC} $(CFLAGS) $(DEFS) -o smem smem.o -L. -lcfitsio -lm
|
||||||
|
|
||||||
|
testprog: testprog.o libcfitsio.a ${OBJECTS}
|
||||||
|
- ${CC} $(CFLAGS) $(DEFS) -o testprog testprog.o -L. -lcfitsio -lm ${LIBS}
|
||||||
|
+ ${CC} $(CFLAGS) $(DEFS) -o testprog testprog.o -L. -lcfitsio -lm ${LIBS} -lz
|
||||||
|
|
||||||
|
fpack: fpack.o fpackutil.o libcfitsio.a ${OBJECTS}
|
||||||
|
- ${CC} $(CFLAGS) $(DEFS) -o fpack fpack.o fpackutil.o libcfitsio.a -lm ${LIBS}
|
||||||
|
+ ${CC} $(CFLAGS) $(DEFS) -o fpack fpack.o fpackutil.o -L. -lcfitsio -lm ${LIBS} -lz
|
||||||
|
|
||||||
|
funpack: funpack.o fpackutil.o libcfitsio.a ${OBJECTS}
|
||||||
|
- ${CC} $(CFLAGS) $(DEFS) -o funpack funpack.o fpackutil.o libcfitsio.a -lm ${LIBS}
|
||||||
|
+ ${CC} $(CFLAGS) $(DEFS) -o funpack funpack.o fpackutil.o -L. -lcfitsio -lm ${LIBS} -lz
|
||||||
|
|
||||||
|
fitscopy: fitscopy.o libcfitsio.a ${OBJECTS}
|
||||||
|
${CC} $(CFLAGS) $(DEFS) -o fitscopy fitscopy.o -L. -lcfitsio -lm ${LIBS}
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
diff -up cfitsio/Makefile.in.orig cfitsio/Makefile.in
|
|
||||||
--- cfitsio/Makefile.in.orig 2012-04-11 13:55:24.000000000 -0600
|
|
||||||
+++ cfitsio/Makefile.in 2012-04-13 10:07:54.549874768 -0600
|
|
||||||
@@ -87,7 +87,7 @@ libcfitsio.a: ${OBJECTS}
|
|
||||||
shared: libcfitsio${SHLIB_SUFFIX}
|
|
||||||
|
|
||||||
libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
|
|
||||||
- ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS}
|
|
||||||
+ ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -pthread -lm
|
|
||||||
|
|
||||||
install: libcfitsio.a $(INSTALL_DIRS)
|
|
||||||
@if [ -f libcfitsio.a ]; then \
|
|
Loading…
Reference in new issue