1# 2# 3 4PROG= dsynth 5SRCS= dsynth.c subs.c pkglist.c config.c bulk.c build.c repo.c mount.c 6SRCS+= status.c 7SRCS+= runstats.c ncurses.c monitor.c html.c 8 9SCRIPTS=mktemplate.sh 10SCRIPTSDIR= ${SHAREDIR}/dsynth 11 12CFLAGS+= -pthread 13CFLAGS+= -DSCRIPTDIR=${SHAREDIR}/dsynth 14LDADD+= -lpthread -lutil 15DPADD+= ${LIBPTHREAD} ${LIBUTIL} 16 17# ncurses, md5, for DragonFlyBSD 18# 19CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses 20CFLAGS+= ${PRIVATELIB_CFLAGS} 21LDFLAGS+= ${PRIVATELIB_LDFLAGS} 22LDADD+= -lprivate_ncurses 23LDADD+= -lprivate_crypto 24DPADD+= ${LIBNCURSES} 25 26LDADD+= -lm 27DPADD+= ${LIBM} 28 29beforeinstall: 30 mkdir -p ${DESTDIR}${SCRIPTSDIR} 31 32.include <bsd.prog.mk> 33