aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/csup
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2006-03-03 14:54:47 +0000
committerMaxime Henrion <mux@FreeBSD.org>2006-03-03 14:54:47 +0000
commit2ed4c88a7de4900e948ac119ed06032d89396f93 (patch)
tree09b3de0e2cadff125b35edffb926e0840df2a326 /usr.bin/csup
parent5fa7c51ff6c89f2a52fa396960884aa96f6a0a1a (diff)
downloadsrc-2ed4c88a7de4900e948ac119ed06032d89396f93.tar.gz
src-2ed4c88a7de4900e948ac119ed06032d89396f93.zip
- Don't put the .h in SRCS.
- Use LDADD += -lpthread and DPADD += ${LIBPTHREAD} instead of -pthread. - s/-I${.CURDIR}/-I./ to fix make obj. Submitted by: ru
Notes
Notes: svn path=/head/; revision=156244
Diffstat (limited to 'usr.bin/csup')
-rw-r--r--usr.bin/csup/Makefile50
1 files changed, 25 insertions, 25 deletions
diff --git a/usr.bin/csup/Makefile b/usr.bin/csup/Makefile
index c2b5ad71b5b6..394e446ecbde 100644
--- a/usr.bin/csup/Makefile
+++ b/usr.bin/csup/Makefile
@@ -3,33 +3,33 @@
.PATH: ${.CURDIR}/../../contrib/csup
PROG= csup
-SRCS= attrstack.c attrstack.h \
- config.c config.h \
- detailer.c detailer.h \
- diff.c diff.h \
- fattr.c fattr.h fattr_bsd.h \
- fixups.c fixups.h \
- fnmatch.c fnmatch.h \
- globtree.c globtree.h \
- keyword.c keyword.h \
- lister.c lister.h \
- main.c main.h \
- misc.c misc.h \
- mux.c mux.h \
- parse.h parse.y \
- pathcomp.c pathcomp.h \
- proto.c proto.h \
- status.c status.h \
- stream.c stream.h \
- threads.c threads.h \
- token.h token.l \
- updater.c updater.h
+SRCS= attrstack.c \
+ config.c \
+ detailer.c \
+ diff.c \
+ fattr.c \
+ fixups.c \
+ fnmatch.c \
+ globtree.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
-CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../contrib/csup
-CFLAGS+=-DHAVE_FFLAGS -DNDEBUG -pthread
+CFLAGS+= -I. -I${.CURDIR}/../../contrib/csup
+CFLAGS+= -DHAVE_FFLAGS -DNDEBUG
WARNS?= 6
-DPADD= ${LIBCRYPTO} ${LIBZ}
-LDADD= -lcrypto -lz
+DPADD= ${LIBCRYPTO} ${LIBZ} ${LIBPTHREAD}
+LDADD= -lcrypto -lz -lpthread
.include <bsd.prog.mk>