diff options
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/Makefile | 46 |
1 files changed, 15 insertions, 31 deletions
diff --git a/init.d/Makefile b/init.d/Makefile index 5fd33310..db681549 100644 --- a/init.d/Makefile +++ b/init.d/Makefile @@ -1,7 +1,7 @@ DIR= ${INITDIR} SRCS= bootmisc.in fsck.in hostname.in local.in localmount.in netmount.in \ network.in root.in savecache.in staticroute.in swap.in swclock.in \ - sysctl.in urandom.in + sysctl.in urandom.in ${SRCS-${OS}} BIN= ${OBJS} # Build our old net foo or not @@ -17,44 +17,28 @@ TARGETS+= ${_NET_LO} MK= ../mk include ${MK}/os.mk -ifeq ($(OS),FreeBSD) -NET_LO= net.lo0 - +NET_LO-FreeBSD= net.lo0 # Generic BSD scripts -SRCS+= hostid.in moused.in newsyslog.in pf.in rarpd.in rc-enabled.in \ - rpcbind.in savecore.in syslogd.in - +SRCS-FreeBSD= hostid.in moused.in newsyslog.in pf.in rarpd.in rc-enabled.in \ + rpcbind.in savecore.in syslogd.in # These are FreeBSD specific -SRCS+= adjkerntz.in devd.in dumpon.in ipfw.in mixer.in nscd.in \ - powerd.in syscons.in - -.SUFFIXES: .BSD.in -.BSD.in: - sed ${SED_REPLACE} ${SED_EXTRA} $< > $@ -else ifeq ($(OS),Linux) -NET_LO= net.lo +SRCS-FreeBSD+= adjkerntz.in devd.in dumpon.in ipfw.in mixer.in nscd.in \ + powerd.in syscons.in -SRCS+= devfs.in dmesg.in hwclock.in consolefont.in keymaps.in killprocs.in \ - modules.in mount-ro.in mtab.in numlock.in procfs.in sysfs.in \ - termencoding.in - -.SUFFIXES: .Linux.in -.Linux.in: - sed ${SED_REPLACE} ${SED_EXTRA} $< > $@ -else ifeq ($(OS),NetBSD) -NET_LO= net.lo0 +NET_LO-Linux= net.lo +SRCS-Linux= devfs.in dmesg.in hwclock.in consolefont.in keymaps.in \ + killprocs.in modules.in mount-ro.in mtab.in numlock.in \ + procfs.in sysfs.in termencoding.in +NET_LO-NetBSD= net.lo0 # Generic BSD scripts -SRCS+= hostid.in moused.in newsyslog.in pf.in rarpd.in rc-enabled.in \ - rpcbind.in savecore.in syslogd.in - +SRCS-NetBSD= hostid.in moused.in newsyslog.in pf.in rarpd.in rc-enabled.in \ + rpcbind.in savecore.in syslogd.in # These are NetBSD specific -SRCS+= devdb.in swap-blk.in ttys.in wscons.in +SRCS-NetBSD+= devdb.in swap-blk.in ttys.in wscons.in -.SUFFIXES: .BSD.in -.BSD.in: +${SFX}: sed ${SED_REPLACE} ${SED_EXTRA} $< > $@ -endif include ${MK}/scripts.mk |