mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-01-11 23:43:12 +00:00
The second stage of Ultrix loading is a struct which tells the kernel things it needs for netbooting. Ultrix needs this and can't use other servers like rarpd, bootparamd and bootpd. The only other server needed is NFS. I don't like how I wrote so much code to create a simple struct. There should be a better way. But this works.
31 lines
573 B
Makefile
31 lines
573 B
Makefile
SUBDIRS := common mopd mopcopy mopprobe moptrace mopchk ultrix
|
|
|
|
CLEANDIRS := $(SUBDIRS:%=clean-%)
|
|
INSTALLDIRS := $(SUBDIRS:%=install-%)
|
|
|
|
.PHONY : all $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS)
|
|
|
|
all: $(SUBDIRS)
|
|
|
|
# Dependencies between targets
|
|
|
|
mopd: common
|
|
mopcopy: common
|
|
mopprobe: common
|
|
moptrace: common
|
|
mopchk: common
|
|
ultrix: common
|
|
|
|
# Rules
|
|
|
|
$(SUBDIRS):
|
|
$(MAKE) -C $@ -f Makefile.linux
|
|
|
|
install: $(INSTALLDIRS) all
|
|
$(INSTALLDIRS):
|
|
$(MAKE) -C $(@:install-%=%) -f Makefile.linux install
|
|
|
|
clean: $(CLEANDIRS)
|
|
$(CLEANDIRS):
|
|
$(MAKE) -C $(@:clean-%=%) -f Makefile.linux clean
|