|
|
1.1 ! root 1: ######## ! 2: # ! 3: # libsys makefile ! 4: # ! 5: ######## ! 6: # ! 7: # Standard Macros ! 8: # ! 9: ######## ! 10: AUX_CLEAN = ! 11: INC = $(FWROOT)/include ! 12: MAKE.LO = make.lo ! 13: MAKE.FWROOT = $(FWROOT)/make.root ! 14: MKGEN = mkgen ! 15: FWROOT = ../../.. ! 16: ROOT = $(DMD) ! 17: SGSX = ! 18: ! 19: INC_LIST =\ ! 20: -I$(INC) ! 21: ! 22: CLEAN =\ ! 23: .c.o\ ! 24: .s.o\ ! 25: acia.o\ ! 26: buttons.o\ ! 27: cursblt.o\ ! 28: cursor.o\ ! 29: kbd.o\ ! 30: pf.o\ ! 31: queue.o\ ! 32: setup.o\ ! 33: wait.o ! 34: ! 35: all: ! 36: install: all ! 37: ! 38: ########## ! 39: # ! 40: # make.root ! 41: # ! 42: ########## ! 43: ! 44: FWBIN=$(ROOT)/bin ! 45: FWLIB=$(FWROOT)/fwlib ! 46: FWSRC=$(FWROOT)/src ! 47: FWINCLUDE=$(FWROOT)/include ! 48: UINC=/usr/include ! 49: FWDEMO=$(FWROOT)/demo ! 50: MCC=$(ROOT)/bin/dmdcc ! 51: MLD=m32ld ! 52: MAR=ar ! 53: MLORDER=m32lorder ! 54: ! 55: ######## ! 56: # ! 57: # make.lo ! 58: # ! 59: ######## ! 60: ! 61: TITLE = libsys makefile ! 62: PRODUCTS = libsys.a ! 63: ! 64: MAKEARG= -$(MAKEFLAGS) DMDBIN=$(DMDBIN) FWLIB=$(FWLIB) FWSRC=$(FWSRC)\ ! 65: FWINCLUDE=$(FWINCLUDE) FWSGS=$(FWSGS) FWDEMO=$(FWDEMO)\ ! 66: MCC=$(MCC) MCFLAGS=$(MCFLAGS) MLD=$(MLD) MAR=$(MAR) ! 67: ! 68: LCLCFLAGS=-J -g -O ! 69: CLEAN=$(OBJ) libsys.a ! 70: ! 71: OBJ=acia.o buttons.o cursblt.o cursor.o kbd.o queue.o wait.o setup.o\ ! 72: pf.o ! 73: CFILES=acia.c buttons.c cursor.c kbd.c queue.c wait.c setup.c pf.c ! 74: ! 75: .c.o: ! 76: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c $< ! 77: ! 78: .s.o: ! 79: $(MCC) -c $< ! 80: ! 81: all: libsys.a ! 82: ! 83: libsys.a: $(OBJ) ! 84: rm -f libsys.a ! 85: $(MAR) cr libsys.a `$(MLORDER) $(OBJ) | tsort` ! 86: ! 87: save: ! 88: -cp $(FWLIB)/libsys.a olibsys.a ! 89: ! 90: install:libsys.a ! 91: cp libsys.a $(FWLIB)/libsys.a ! 92: ! 93: ######## ! 94: # ! 95: # All dependencies and rules not explicitly stated ! 96: # (including header and nested header dependencies) ! 97: # ! 98: ######## ! 99: ! 100: acia.o: acia.c ! 101: acia.o: $(INC)/jerq.h ! 102: acia.o: $(INC)/jerqproc.h # nested include from mpx.h ! 103: acia.o: $(INC)/layer.h # nested include from mpx.h ! 104: acia.o: $(INC)/mpx.h # nested include from jerq.h ! 105: acia.o: $(INC)/queue.h ! 106: acia.o: $(INC)/setup.h ! 107: acia.o: $(INC)/sys/2681.h # nested include from jerq.h ! 108: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c acia.c ! 109: ! 110: buttons.o: buttons.c ! 111: buttons.o: $(INC)/jerq.h ! 112: buttons.o: $(INC)/jerqproc.h # nested include from mpx.h ! 113: buttons.o: $(INC)/layer.h # nested include from mpx.h ! 114: buttons.o: $(INC)/mpx.h # nested include from jerq.h ! 115: buttons.o: $(INC)/sys/2681.h # nested include from jerq.h ! 116: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c buttons.c ! 117: ! 118: cursblt.o: cursblt.s ! 119: $(MCC) -c cursblt.s ! 120: ! 121: cursor.o: cursor.c ! 122: cursor.o: $(INC)/jerq.h ! 123: cursor.o: $(INC)/jerqproc.h # nested include from mpx.h ! 124: cursor.o: $(INC)/layer.h # nested include from mpx.h ! 125: cursor.o: $(INC)/mpx.h # nested include from jerq.h ! 126: cursor.o: $(INC)/sys/2681.h # nested include from jerq.h ! 127: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c cursor.c ! 128: ! 129: ! 130: kbd.o: $(INC)/jerq.h ! 131: kbd.o: $(INC)/jerqproc.h # nested include from mpx.h ! 132: kbd.o: kbd.c ! 133: kbd.o: $(INC)/kbd.h ! 134: kbd.o: $(INC)/layer.h # nested include from mpx.h ! 135: kbd.o: $(INC)/mpx.h # nested include from jerq.h ! 136: kbd.o: $(INC)/queue.h ! 137: kbd.o: $(INC)/setup.h ! 138: kbd.o: $(INC)/sys/2681.h # nested include from jerq.h ! 139: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c kbd.c ! 140: ! 141: ! 142: pf.o: $(INC)/font.h ! 143: pf.o: $(INC)/jerq.h ! 144: pf.o: $(INC)/jerqproc.h # nested include from mpx.h ! 145: pf.o: $(INC)/kbd.h ! 146: pf.o: $(INC)/layer.h # nested include from mpx.h ! 147: pf.o: $(INC)/mpx.h # nested include from jerq.h ! 148: pf.o: pf.c ! 149: pf.o: $(INC)/pf.h ! 150: pf.o: $(INC)/setup.h ! 151: pf.o: $(INC)/sys/2681.h # nested include from jerq.h ! 152: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c pf.c ! 153: ! 154: queue.o: queue.c ! 155: queue.o: $(INC)/queue.h ! 156: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c queue.c ! 157: ! 158: setup.o: $(INC)/font.h ! 159: setup.o: $(INC)/jerq.h ! 160: setup.o: $(INC)/jerqproc.h # nested include from mpx.h ! 161: setup.o: $(INC)/kbd.h ! 162: setup.o: $(INC)/layer.h # nested include from mpx.h ! 163: setup.o: $(INC)/mpx.h # nested include from jerq.h ! 164: setup.o: setup.c ! 165: setup.o: $(INC)/setup.h ! 166: setup.o: $(INC)/sys/2681.h # nested include from jerq.h ! 167: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c setup.c ! 168: ! 169: wait.o: $(INC)/jerq.h ! 170: wait.o: $(INC)/jerqproc.h # nested include from mpx.h ! 171: wait.o: $(INC)/layer.h # nested include from mpx.h ! 172: wait.o: $(INC)/mpx.h # nested include from jerq.h ! 173: wait.o: $(INC)/queue.h ! 174: wait.o: $(INC)/sys/2681.h # nested include from jerq.h ! 175: wait.o: wait.c ! 176: $(MCC) $(MCFLAGS) $(LCLCFLAGS) -c wait.c ! 177: ! 178: ######## ! 179: # ! 180: # Standard Targets ! 181: # ! 182: # all builds all the products specified by PRODUCTS ! 183: # clean removes all temporary files (ex. installable object) ! 184: # clobber "cleans", and then removes $(PRODUCTS) ! 185: # makefile regenerates makefile ! 186: # install installs products; user defined in make.lo ! 187: # ! 188: ######## ! 189: ! 190: all: $(PRODUCTS) ! 191: ! 192: clean: ! 193: rm -f $(CLEAN) $(AUX_CLEAN) ! 194: ! 195: clobber: clean ! 196: rm -f $(PRODUCTS) ! 197: ! 198: makefile: $(MAKE.LO) $(MAKE.FWROOT) ! 199: $(MKGEN) >make.out ! 200: if [ -s make.out ]; then mv make.out makefile; fi ! 201: ! 202: makefile_all: makefile ! 203: ! 204: install: # rules, if any, specified above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.