1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
21 lines
361 B
Makefile
21 lines
361 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= supscan
|
|
SRCS= supscan.c
|
|
NOMAN=
|
|
|
|
LIBSRC= ${.CURDIR}/../lib
|
|
COPTS+= -DVAR_TMP -DHAS_DAEMON -I${.CURDIR} -I${LIBSRC}
|
|
COPTS+= -DRENAMELOG=\"/var/log/sup.rename\"
|
|
|
|
.if exists(${.OBJDIR}/../lib)
|
|
LIBOBJ= ${.OBJDIR}/../lib
|
|
.else
|
|
LIBOBJ= ${LIBSRC}
|
|
.endif
|
|
|
|
DPADD= ${LIBOBJ}/libsup.a ${LIBCRYPT}
|
|
LDADD= -L${LIBOBJ} -lsup -lcrypt
|
|
|
|
.include <bsd.prog.mk>
|