1 1.18.6.2 msaitoh # $NetBSD: Makefile,v 1.18.6.2 2015/01/07 12:13:03 msaitoh Exp $ 2 1.18.6.2 msaitoh 3 1.18.6.2 msaitoh .include <bsd.own.mk> 4 1.18.6.2 msaitoh 5 1.18.6.2 msaitoh PROG= ntpd 6 1.18.6.2 msaitoh MAN= ntpd.8 ntp.conf.5 ntp.keys.5 7 1.18.6.2 msaitoh BINDIR= /usr/sbin 8 1.18.6.2 msaitoh 9 1.18.6.2 msaitoh SRCS= cmd_args.c \ 10 1.18.6.2 msaitoh ntp_config.c \ 11 1.18.6.2 msaitoh ntp_control.c \ 12 1.18.6.2 msaitoh ntp_crypto.c \ 13 1.18.6.2 msaitoh ntp_filegen.c \ 14 1.18.6.2 msaitoh ntp_io.c \ 15 1.18.6.2 msaitoh ntp_leapsec.c \ 16 1.18.6.2 msaitoh ntp_loopfilter.c \ 17 1.18.6.2 msaitoh ntp_monitor.c \ 18 1.18.6.2 msaitoh ntp_parser.c \ 19 1.18.6.2 msaitoh ntp_peer.c \ 20 1.18.6.2 msaitoh ntp_prio_q.c \ 21 1.18.6.2 msaitoh ntp_proto.c \ 22 1.18.6.2 msaitoh ntp_refclock.c \ 23 1.18.6.2 msaitoh ntp_request.c \ 24 1.18.6.2 msaitoh ntp_restrict.c \ 25 1.18.6.2 msaitoh ntp_scanner.c \ 26 1.18.6.2 msaitoh ntp_signd.c \ 27 1.18.6.2 msaitoh ntp_timer.c \ 28 1.18.6.2 msaitoh ntp_util.c \ 29 1.18.6.2 msaitoh ntpd-opts.c \ 30 1.18.6.2 msaitoh ntpd.c \ 31 1.18.6.2 msaitoh ntpsim.c \ 32 1.18.6.2 msaitoh refclock_acts.c \ 33 1.18.6.2 msaitoh refclock_arbiter.c \ 34 1.18.6.2 msaitoh refclock_arc.c \ 35 1.18.6.2 msaitoh refclock_as2201.c \ 36 1.18.6.2 msaitoh refclock_atom.c \ 37 1.18.6.2 msaitoh refclock_bancomm.c \ 38 1.18.6.2 msaitoh refclock_chronolog.c \ 39 1.18.6.2 msaitoh refclock_chu.c \ 40 1.18.6.2 msaitoh refclock_conf.c \ 41 1.18.6.2 msaitoh refclock_datum.c \ 42 1.18.6.2 msaitoh refclock_dumbclock.c \ 43 1.18.6.2 msaitoh refclock_fg.c \ 44 1.18.6.2 msaitoh refclock_gpsdjson.c \ 45 1.18.6.2 msaitoh refclock_gpsvme.c \ 46 1.18.6.2 msaitoh refclock_heath.c \ 47 1.18.6.2 msaitoh refclock_hopfpci.c \ 48 1.18.6.2 msaitoh refclock_hopfser.c \ 49 1.18.6.2 msaitoh refclock_hpgps.c \ 50 1.18.6.2 msaitoh refclock_irig.c \ 51 1.18.6.2 msaitoh refclock_jjy.c \ 52 1.18.6.2 msaitoh refclock_jupiter.c \ 53 1.18.6.2 msaitoh refclock_leitch.c \ 54 1.18.6.2 msaitoh refclock_local.c \ 55 1.18.6.2 msaitoh refclock_msfees.c \ 56 1.18.6.2 msaitoh refclock_mx4200.c \ 57 1.18.6.2 msaitoh refclock_neoclock4x.c \ 58 1.18.6.2 msaitoh refclock_nmea.c \ 59 1.18.6.2 msaitoh refclock_oncore.c \ 60 1.18.6.2 msaitoh refclock_palisade.c \ 61 1.18.6.2 msaitoh refclock_parse.c \ 62 1.18.6.2 msaitoh refclock_pcf.c \ 63 1.18.6.2 msaitoh refclock_pst.c \ 64 1.18.6.2 msaitoh refclock_ripencc.c \ 65 1.18.6.2 msaitoh refclock_shm.c \ 66 1.18.6.2 msaitoh refclock_tpro.c \ 67 1.18.6.2 msaitoh refclock_true.c \ 68 1.18.6.2 msaitoh refclock_tt560.c \ 69 1.18.6.2 msaitoh refclock_ulink.c \ 70 1.18.6.2 msaitoh refclock_wwv.c \ 71 1.18.6.2 msaitoh refclock_wwvb.c \ 72 1.18.6.2 msaitoh refclock_zyfer.c 73 1.18.6.2 msaitoh 74 1.18.6.2 msaitoh LDADD+= -L${LIBPARSE} -lparse -L${LIBISC} -liscntp -lm -lutil 75 1.18.6.2 msaitoh DPADD+= ${LIBPARSE}/libparse.a ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} 76 1.18.6.2 msaitoh 77 1.18.6.2 msaitoh # COPTS.ntp_control.c+= ${${ACTIVE_CC} == "gcc":? -Wno-format-nonliteral :} 78 1.18.6.2 msaitoh COPTS.refclock_oncore.c+= -Wno-error 79 1.18.6.2 msaitoh 80 1.18.6.2 msaitoh .include "${.CURDIR}/../Makefile.inc" 81 1.18.6.2 msaitoh 82 1.18.6.2 msaitoh DIST=${IDIST}/ntpd 83 1.18.6.2 msaitoh 84 1.18.6.2 msaitoh CPPFLAGS+=-I${IDIST}/include -I${IDIST}/sntp/libopts -I${IDIST}/ntpd -I${.CURDIR} 85 1.18.6.2 msaitoh 86 1.18.6.2 msaitoh .PATH: ${DIST} 87 1.18.6.2 msaitoh 88 1.18.6.2 msaitoh .include <bsd.prog.mk> 89 1.18.6.2 msaitoh 90 1.18.6.2 msaitoh # kill default .y.c rule - to rebuild ntp_parser.c we need bison which is not part of the toolchain 91 1.18.6.2 msaitoh .y.c: 92 1.18.6.2 msaitoh 93