|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
diff -ur cfitsio/Makefile.in cfitsio.no-zlib/Makefile.in
|
|
|
|
|
--- cfitsio/Makefile.in 2013-12-05 23:20:57.000000000 +0100
|
|
|
|
|
+++ cfitsio.no-zlib/Makefile.in 2013-12-09 11:05:55.332013282 +0100
|
|
|
|
|
@@ -62,9 +62,7 @@
|
|
|
|
|
swapproc.c wcssub.c wcsutil.c imcompress.c quantize.c ricecomp.c \
|
|
|
|
|
pliocomp.c fits_hcompress.c fits_hdecompress.c
|
|
|
|
|
diff -ur cfitsio/Makefile.in cfitsio.zlib/Makefile.in
|
|
|
|
|
--- cfitsio/Makefile.in 2014-06-03 20:51:29.000000000 +0200
|
|
|
|
|
+++ cfitsio.zlib/Makefile.in 2014-06-12 16:29:17.480249747 +0200
|
|
|
|
|
@@ -63,9 +63,7 @@
|
|
|
|
|
pliocomp.c fits_hcompress.c fits_hdecompress.c \
|
|
|
|
|
simplerng.c
|
|
|
|
|
|
|
|
|
|
-ZLIB_SOURCES = zlib/adler32.c zlib/crc32.c zlib/deflate.c zlib/infback.c \
|
|
|
|
|
- zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \
|
|
|
|
@ -12,7 +12,7 @@ diff -ur cfitsio/Makefile.in cfitsio.no-zlib/Makefile.in
|
|
|
|
|
|
|
|
|
|
SOURCES = ${CORE_SOURCES} ${ZLIB_SOURCES} @F77_WRAPPERS@
|
|
|
|
|
|
|
|
|
|
@@ -97,7 +95,7 @@
|
|
|
|
|
@@ -98,7 +96,7 @@
|
|
|
|
|
shared: libcfitsio${SHLIB_SUFFIX}
|
|
|
|
|
|
|
|
|
|
libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
|
|
|
|
@ -21,20 +21,44 @@ diff -ur cfitsio/Makefile.in cfitsio.no-zlib/Makefile.in
|
|
|
|
|
@if [ "x${CFITSIO_SHLIB_SONAME}" != x ]; then \
|
|
|
|
|
ln -sf ${CFITSIO_SHLIB} ${CFITSIO_SHLIB_SONAME}; \
|
|
|
|
|
ln -sf ${CFITSIO_SHLIB_SONAME} $@; \
|
|
|
|
|
@@ -118,13 +116,13 @@
|
|
|
|
|
${CC} $(CFLAGS) $(DEFS) -o smem smem.o -L. -lcfitsio -lm
|
|
|
|
|
@@ -116,31 +114,31 @@
|
|
|
|
|
$(CC) -c $(CFLAGS) $(SSE_FLAGS) $(DEFS) $<
|
|
|
|
|
|
|
|
|
|
smem: smem.o libcfitsio.a ${OBJECTS}
|
|
|
|
|
- ${CC} $(CFLAGS) $(DEFS) -o smem smem.o -L. -lcfitsio -lm
|
|
|
|
|
+ ${CC} $(CFLAGS) $(DEFS) -o smem smem.o -L. -lcfitsio -lm -lz
|
|
|
|
|
|
|
|
|
|
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 -lz -lm ${LIBS}
|
|
|
|
|
+ ${CC} $(CFLAGS) $(DEFS) -o testprog testprog.o -L. -lcfitsio -lm -lz ${LIBS}
|
|
|
|
|
|
|
|
|
|
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 -lz -lm ${LIBS}
|
|
|
|
|
+ ${CC} $(CFLAGS) $(DEFS) -o fpack fpack.o fpackutil.o libcfitsio.a -lm -lz ${LIBS}
|
|
|
|
|
|
|
|
|
|
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 -lz -lm ${LIBS}
|
|
|
|
|
+ ${CC} $(CFLAGS) $(DEFS) -o funpack funpack.o fpackutil.o libcfitsio.a -lm -lz ${LIBS}
|
|
|
|
|
|
|
|
|
|
fitscopy: fitscopy.o libcfitsio.a ${OBJECTS}
|
|
|
|
|
${CC} $(CFLAGS) $(DEFS) -o fitscopy fitscopy.o -L. -lcfitsio -lm ${LIBS}
|
|
|
|
|
- ${CC} $(CFLAGS) $(DEFS) -o fitscopy fitscopy.o -L. -lcfitsio -lm ${LIBS}
|
|
|
|
|
+ ${CC} $(CFLAGS) $(DEFS) -o fitscopy fitscopy.o -L. -lcfitsio -lm -lz ${LIBS}
|
|
|
|
|
|
|
|
|
|
speed: speed.o libcfitsio.a ${OBJECTS}
|
|
|
|
|
- ${CC} $(CFLAGS) $(DEFS) -o speed speed.o -L. -lcfitsio -lm ${LIBS}
|
|
|
|
|
+ ${CC} $(CFLAGS) $(DEFS) -o speed speed.o -L. -lcfitsio -lm -lz ${LIBS}
|
|
|
|
|
|
|
|
|
|
imcopy: imcopy.o libcfitsio.a ${OBJECTS}
|
|
|
|
|
- ${CC} $(CFLAGS) $(DEFS) -o imcopy imcopy.o -L. -lcfitsio -lm ${LIBS}
|
|
|
|
|
+ ${CC} $(CFLAGS) $(DEFS) -o imcopy imcopy.o -L. -lcfitsio -lm -lz ${LIBS}
|
|
|
|
|
|
|
|
|
|
listhead: listhead.o libcfitsio.a ${OBJECTS}
|
|
|
|
|
- ${CC} $(CFLAGS) $(DEFS) -o listhead listhead.o -L. -lcfitsio -lm ${LIBS}
|
|
|
|
|
+ ${CC} $(CFLAGS) $(DEFS) -o listhead listhead.o -L. -lcfitsio -lm -lz ${LIBS}
|
|
|
|
|
|
|
|
|
|
cookbook: cookbook.o libcfitsio.a ${OBJECTS}
|
|
|
|
|
- ${CC} $(CFLAGS) $(DEFS) -o cookbook cookbook.o -L. -lcfitsio -lm ${LIBS}
|
|
|
|
|
+ ${CC} $(CFLAGS) $(DEFS) -o cookbook cookbook.o -L. -lcfitsio -lm -lz ${LIBS}
|
|
|
|
|
|
|
|
|
|
eval: # Rebuild eval_* files from flex/bison source
|
|
|
|
|
$(FLEX) -t eval.l > eval_l.c1
|
|
|
|
|