1 # linux 2 SYSCONFDIR= /etc 3 SBINDIR= /sbin 4 LIBEXECDIR= /libexec 5 DBDIR= /var/db 6 RUNDIR= /var/run 7 LIBDIR= /lib 8 MANDIR= /usr/share/man 9 CC= gcc 10 CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=600 11 SRCS+= if-linux.c if-linux-wireless.c lpf.c 12 SRCS+= platform-linux.c 13 LDADD+= -lrt 14 COMPAT_SRCS+= compat/arc4random.c 15 COMPAT_SRCS+= compat/closefrom.c 16 COMPAT_SRCS+= compat/strlcpy.c 17 SERVICEEXISTS= /usr/sbin/invoke-rc.d --query --quiet $$1 start >/dev/null 2>\&1 || [ $$? = 104 ] 18 SERVICECMD= /usr/sbin/invoke-rc.d $$1 $$2 19 SERVICESTATUS= service_command $$1 status >/dev/null 2>\&1 20 HOOKSCRIPTS= 50-ntp.conf 21