summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libfetch/Makefile
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-09-10 02:02:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-09-10 02:02:41 (GMT)
commitf2fbbf4a451664166f98f042e68edc146e9698fd (patch)
treec9aa8d9f084e1edb4cace55b340e8698c82b0c9e /abs/core-testing/libfetch/Makefile
parent29b4f1f1a35fbe81a50f8b96752c58eafc2f86a4 (diff)
parent6264aaba64f4165fd714220e10c4900401b85617 (diff)
downloadlinhes_pkgbuild-f2fbbf4a451664166f98f042e68edc146e9698fd.zip
linhes_pkgbuild-f2fbbf4a451664166f98f042e68edc146e9698fd.tar.gz
linhes_pkgbuild-f2fbbf4a451664166f98f042e68edc146e9698fd.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/libfetch/Makefile')
-rw-r--r--abs/core-testing/libfetch/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/abs/core-testing/libfetch/Makefile b/abs/core-testing/libfetch/Makefile
index 15df96e..53bcee9 100644
--- a/abs/core-testing/libfetch/Makefile
+++ b/abs/core-testing/libfetch/Makefile
@@ -5,7 +5,7 @@ FETCH_WITH_INET6 = true
FETCH_WITH_OPENSSL = true
WARNINGS = -Wall -Wstrict-prototypes -Wsign-compare -Wchar-subscripts \
- -Wpointer-arith -Wcast-align -Wsign-compare
+ -Wpointer-arith -Wcast-align
CFLAGS = -O2 -pipe -I. -fPIC $(WARNINGS) \
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES
@@ -42,18 +42,17 @@ E = @/bin/echo
Q = @
all: libfetch.so libfetch.a
- $(E) " built with: " $(CFLAGS)
.PHONY: all
%.o: %.c $(INCS) $(GEN)
$(E) " compile " $@
$(Q) $(CC) $(CFLAGS) -c $<
-ftperr.h: ftp.errors
+ftperr.h: ftp.errors Makefile errlist.sh
$(E) " generate " $@
$(Q) ./errlist.sh ftp_errlist FTP ftp.errors > $@
-httperr.h: http.errors
+httperr.h: http.errors Makefile errlist.sh
$(E) " generate " $@
$(Q) ./errlist.sh http_errlist HTTP http.errors > $@
@@ -61,12 +60,14 @@ libfetch.so: $(GEN) $(INCS) $(OBJS)
$(E) " build " $@
$(Q) rm -f $@
$(Q) $(LD) $(LDFLAGS) *.o -shared -o $@
+ $(E) " built with: " $(CFLAGS)
libfetch.a: $(GEN) $(INCS) $(OBJS)
$(E) " build " $@
$(Q) rm -f $@
$(Q) $(AR) rcs $@ *.o
$(Q) $(RANLIB) $@
+ $(E) " built with: " $(CFLAGS)
clean:
$(E) " clean "