summaryrefslogtreecommitdiffstats
path: root/usr.bin/csup/Makefile
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2010-03-02 07:26:07 +0000
committerlulf <lulf@FreeBSD.org>2010-03-02 07:26:07 +0000
commitc6aa3ac44645e36e9cc1e29aa598a706779c2c29 (patch)
tree34e14c6edd4db3c9e2addc2e9b8af07a970b71ed /usr.bin/csup/Makefile
parentb86208843f144382d49d980b9908eb8618cfc5cd (diff)
downloadFreeBSD-src-c6aa3ac44645e36e9cc1e29aa598a706779c2c29.zip
FreeBSD-src-c6aa3ac44645e36e9cc1e29aa598a706779c2c29.tar.gz
- Move csup away from contrib/ and into usr.bin/. Software is no longer
contributed, and main development is happening in the FreeBSD repo. Suggested by: joel
Diffstat (limited to 'usr.bin/csup/Makefile')
-rw-r--r--usr.bin/csup/Makefile46
1 files changed, 13 insertions, 33 deletions
diff --git a/usr.bin/csup/Makefile b/usr.bin/csup/Makefile
index 417de54..af1815c 100644
--- a/usr.bin/csup/Makefile
+++ b/usr.bin/csup/Makefile
@@ -1,42 +1,22 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../contrib/csup
+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 \
- 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
+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
-CFLAGS+= -I. -I${.CURDIR}/../../contrib/csup
-CFLAGS+= -DHAVE_FFLAGS -DNDEBUG
-WARNS?= 1
+CFLAGS+= -I. -I${.CURDIR} -g -pthread -DHAVE_FFLAGS -DNDEBUG
+WARNS?= 1
-DPADD= ${LIBCRYPTO} ${LIBZ} ${LIBPTHREAD}
-LDADD= -lcrypto -lz -lpthread
+DPADD= ${LIBCRYPTO} ${LIBZ}
+LDADD= -lcrypto -lz
SCRIPTS= cpasswd.sh
MAN= csup.1 cpasswd.1
OpenPOWER on IntegriCloud