Home | History | Annotate | Line # | Download | only in sntp
Makefile revision 1.6.10.2
      1  1.6.10.2  msaitoh # $NetBSD: Makefile,v 1.6.10.2 2015/01/07 12:13:04 msaitoh Exp $
      2  1.6.10.2  msaitoh 
      3  1.6.10.2  msaitoh USE_FORT?= yes	# network client/server
      4  1.6.10.2  msaitoh 
      5  1.6.10.2  msaitoh PROG=	sntp
      6  1.6.10.2  msaitoh MAN=	sntp.1
      7  1.6.10.2  msaitoh SRCS= \
      8  1.6.10.2  msaitoh 	crypto.c \
      9  1.6.10.2  msaitoh 	kod_management.c \
     10  1.6.10.2  msaitoh 	log.c \
     11  1.6.10.2  msaitoh 	main.c \
     12  1.6.10.2  msaitoh 	networking.c \
     13  1.6.10.2  msaitoh 	sntp-opts.c \
     14  1.6.10.2  msaitoh 	sntp.c \
     15  1.6.10.2  msaitoh 	utilities.c
     16  1.6.10.2  msaitoh 
     17  1.6.10.2  msaitoh BINDIR=	/usr/sbin
     18  1.6.10.2  msaitoh 
     19  1.6.10.2  msaitoh .include "${.CURDIR}/../Makefile.inc"
     20  1.6.10.2  msaitoh 
     21  1.6.10.2  msaitoh DIST=${IDIST}/sntp
     22  1.6.10.2  msaitoh 
     23  1.6.10.2  msaitoh CPPFLAGS+=-I${DIST} -I${DIST}/libopts
     24  1.6.10.2  msaitoh 
     25  1.6.10.2  msaitoh .PATH: ${DIST}
     26  1.6.10.2  msaitoh 
     27  1.6.10.2  msaitoh .include <bsd.own.mk>
     28  1.6.10.2  msaitoh 
     29  1.6.10.2  msaitoh CPPFLAGS+= -DLOCKNAME=\"/var/run/sntp.pid\"
     30  1.6.10.2  msaitoh CPPFLAGS+= -DSAVENAME=\"/var/db/sntp.state\"
     31  1.6.10.2  msaitoh LDADD+= -L${LIBISC} -liscntp -levent -lm
     32  1.6.10.2  msaitoh DPADD+=	${LIBM} ${LIBEVENT}
     33  1.6.10.2  msaitoh 
     34  1.6.10.2  msaitoh WARNS=1
     35  1.6.10.2  msaitoh LIBEVENTDIR=${.CURDIR}/../../dist/sntp/libevent
     36  1.6.10.2  msaitoh CPPFLAGS+=-I${LIBEVENTDIR}/include -I${.CURDIR}
     37  1.6.10.2  msaitoh .PATH: ${LIBEVENTDIR}
     38  1.6.10.2  msaitoh SRCS+=	\
     39  1.6.10.2  msaitoh 	event.c \
     40  1.6.10.2  msaitoh 	evmap.c \
     41  1.6.10.2  msaitoh 	evthread.c \
     42  1.6.10.2  msaitoh 	evutil.c \
     43  1.6.10.2  msaitoh 	evutil_rand.c \
     44  1.6.10.2  msaitoh 	evutil_time.c \
     45  1.6.10.2  msaitoh 	evlog.c \
     46  1.6.10.2  msaitoh 	kqueue.c \
     47  1.6.10.2  msaitoh 	signal.c \
     48  1.6.10.2  msaitoh 	select.c \
     49  1.6.10.2  msaitoh 
     50  1.6.10.2  msaitoh .if ${HAVE_GCC} < 45
     51  1.6.10.2  msaitoh COPTS.event.c+=	-Wno-error
     52  1.6.10.2  msaitoh .endif
     53  1.6.10.2  msaitoh 
     54  1.6.10.2  msaitoh .include <bsd.prog.mk>
     55