summaryrefslogtreecommitdiff
path: root/lib/libftp/Makefile
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-10-07 23:29:49 +0000
committerJudd Vinet <judd@archlinux.org>2005-10-07 23:29:49 +0000
commit5ef51b3e266cf43411947248886372001fdb207a (patch)
tree8d255349530045686053faacd1804502a96b269c /lib/libftp/Makefile
parent79031ccd1a544475162facb8ca3d671f3464d1f8 (diff)
downloadpacman-5ef51b3e266cf43411947248886372001fdb207a.tar.xz
Merging in recent fixes/additions from 2.9.7
Diffstat (limited to 'lib/libftp/Makefile')
-rw-r--r--lib/libftp/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/libftp/Makefile b/lib/libftp/Makefile
index c68bf2b5..bf17940c 100644
--- a/lib/libftp/Makefile
+++ b/lib/libftp/Makefile
@@ -10,15 +10,16 @@ DEFINES = -DFTPLIB_DEFMODE=FTPLIB_PORT
SONAME = 3
SOVERSION = $(SONAME).1
-TARGETS = qftp libftp.a libftp.so
-OBJECTS = qftp.o ftplib.o
-SOURCES = qftp.c ftplib.c
+TARGETS = libftp.a libftp.so
+OBJECTS = ftplib.o
+SOURCES = ftplib.c
CFLAGS = -Wall $(DEBUG) -I. $(INCLUDES) $(DEFINES)
LDFLAGS = -L.
DEPFLAGS =
-all : $(TARGETS)
+#all : $(TARGETS)
+all : libftp.a
clean :
rm -f $(OBJECTS) core *.bak
@@ -29,15 +30,11 @@ clobber : clean
rm -f libftp.so.*
install : all
- install qftp /usr/local/bin
install -m 644 libftp.so.$(SOVERSION) /usr/local/lib
install -m 644 ftplib.h /usr/local/include
(cd /usr/local/lib && \
ln -sf libftp.so.$(SOVERSION) libftp.so.$(SONAME) && \
ln -sf libftp.so.$(SONAME) libftp.so)
- -(cd /usr/local/bin && \
- for f in ftpdir ftpget ftplist ftprm ftpsend; \
- do ln -s qftp $$f; done)
depend :
$(CC) $(CFLAGS) -M $(SOURCES) > .depend
@@ -60,9 +57,6 @@ libftp.so: libftp.so.$(SOVERSION)
ln -sf $< libftp.so.$(SONAME)
ln -sf $< $@
-qftp : qftp.o libftp.so ftplib.h
- $(CC) $(LDFLAGS) -o $@ $< -lftp
-
ifeq (.depend,$(wildcard .depend))
include .depend
endif