- 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
This commit is contained in:
mux 2006-03-03 14:54:47 +00:00
parent c057d8091b
commit 9cdd0c4432

View File

@ -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>