summaryrefslogtreecommitdiffstats
path: root/usr.bin/csup
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2010-03-03 08:23:19 +0000
committerlulf <lulf@FreeBSD.org>2010-03-03 08:23:19 +0000
commitecc5f5bc0bf36d51258d6b0cb0e3aafbe1d7c3a3 (patch)
tree0151a45fcafa0c4b5af3a6fd866bfdc2f0227976 /usr.bin/csup
parent21610ef2cd4c44f3f0d59694ad6a5fa89a287f8d (diff)
downloadFreeBSD-src-ecc5f5bc0bf36d51258d6b0cb0e3aafbe1d7c3a3.zip
FreeBSD-src-ecc5f5bc0bf36d51258d6b0cb0e3aafbe1d7c3a3.tar.gz
- Revert Makefile to revision r203368, as the svn mv from contrib/csup replaced
the Makefile with a broken version.
Diffstat (limited to 'usr.bin/csup')
-rw-r--r--usr.bin/csup/Makefile46
1 files changed, 32 insertions, 14 deletions
diff --git a/usr.bin/csup/Makefile b/usr.bin/csup/Makefile
index af1815c..92d946c 100644
--- a/usr.bin/csup/Makefile
+++ b/usr.bin/csup/Makefile
@@ -1,22 +1,40 @@
# $FreeBSD$
-PREFIX?= /usr/local
-BINDIR?= ${PREFIX}/bin
-MANDIR?= ${PREFIX}/man/man
-
-UNAME!= /usr/bin/uname -s
-
PROG= csup
-SRCS= attrstack.c auth.c config.c detailer.c diff.c fattr.c fixups.c fnmatch.c \
- globtree.c idcache.c keyword.c lister.c main.c misc.c mux.c parse.y \
- pathcomp.c proto.c status.c stream.c threads.c token.l updater.c \
- rcsfile.c rcsparse.c lex.rcs.c rsyncfile.c
+SRCS= attrstack.c \
+ auth.c \
+ config.c \
+ detailer.c \
+ diff.c \
+ fattr.c \
+ fixups.c \
+ fnmatch.c \
+ globtree.c \
+ idcache.c \
+ keyword.c \
+ lex.rcs.c \
+ lister.c \
+ main.c \
+ misc.c \
+ mux.c \
+ parse.y \
+ pathcomp.c \
+ proto.c \
+ rcsfile.c \
+ rcsparse.c \
+ rsyncfile.c \
+ status.c \
+ stream.c \
+ threads.c \
+ token.l \
+ updater.c
-CFLAGS+= -I. -I${.CURDIR} -g -pthread -DHAVE_FFLAGS -DNDEBUG
-WARNS?= 1
+CFLAGS+= -I. -I${.CURDIR}/../../contrib/csup
+CFLAGS+= -DHAVE_FFLAGS -DNDEBUG
+WARNS?= 1
-DPADD= ${LIBCRYPTO} ${LIBZ}
-LDADD= -lcrypto -lz
+DPADD= ${LIBCRYPTO} ${LIBZ} ${LIBPTHREAD}
+LDADD= -lcrypto -lz -lpthread
SCRIPTS= cpasswd.sh
MAN= csup.1 cpasswd.1
OpenPOWER on IntegriCloud