# # # Name: makefile (rules file for 'make') # Make rules for downloading NORD for Hercules # ARCH = s390 BASEURL = http://www.casita.net/pub/nord HERC_CONFIGS = hercules.cnf hercules.rc HERC_IMAGES = 01b0.fba 01b1.fba \ CD1-$(ARCH).iso CD2-$(ARCH).iso HERC_EXTRAS = 01b2.fba 01b3.fba \ 01b4.fba 01b5.fba 01b6.fba 01b7.fba \ 01b8.fba 01bb.fba \ 01bc.fba 01bd.fba 01be.fba 01bf.fba _default: $(MAKE) nord-on-hercules nord-on-hercules: makefile $(HERC_CONFIGS) $(HERC_IMAGES) #makefile: # wget -q $(BASEURL)/nordherc.mak # mv nordherc.mak makefile $(HERC_CONFIGS) : wget -q $(BASEURL)/$@ $(HERC_IMAGES) : wget -q $(BASEURL)/$@.gz gunzip $@ auto_images : hercules.cnf @grep -v '^#' hercules.cnf \ | awk '{print $$2 , $$3}' | grep '^9336 ' \ | awk '{print $$2}' | xargs $(MAKE) $(HERC_EXTRAS) : dd if=/dev/zero of=$@ bs=4096 count=2