annotate level1/coco1/sys/makefile @ 2727:f4870404ccc9 lwtools-port

Adjusted makefile to populate inetd.conf with port number for telnet
author Boisy Pitre <boisy.pitre@nuance.com>
date Tue, 31 Jul 2012 13:56:20 -0500
parents 678c6848dc12
children 99fac4bd9c41
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2691
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
1 ifeq ($(PORT),)
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
2 PORT=coco1
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
3 endif
2690
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
2727
f4870404ccc9 Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2691
diff changeset
5 TELNET_PORT = 6803
2690
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
6
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
7 vpath %.hp $(LEVEL1)/sys
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
8
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
9 DEPENDS = ./makefile
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
10
2727
f4870404ccc9 Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2691
diff changeset
11 SYSFILES = ../../sys/errmsg ../../sys/motd ../../sys/password inetd.conf
2690
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
12 HELPFILES = asm.hp attr.hp backup.hp binex.hp build.hp chd.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
13 chx.hp cmp.hp cobbler.hp config.hp copy.hp cputype.hp date.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
14 dcheck.hp debug.hp ded.hp deiniz.hp del.hp deldir.hp devs.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
15 dir.hp dirsort.hp disasm.hp display.hp dmode.hp dsave.hp dump.hp echo.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
16 edit.hp error.hp ex.hp exbin.hp format.hp free.hp gfx.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
17 help.hp ident.hp iniz.hp inkey.hp irqs.hp kill.hp link.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
18 list.hp load.hp login.hp makdir.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
19 mdir.hp megaread.hp merge.hp mpi.hp mfree.hp os9gen.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
20 padrom.hp park.hp procs.hp prompt.hp pwd.hp pxd.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
21 rename.hp save.hp setime.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
22 setpr.hp shell.hp sleep.hp tee.hp tmode.hp touch.hp tsmon.hp \
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
23 tuneport.hp unlink.hp verify.hp xmode.hp
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
24 HELPMSG = helpmsg
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
25 ALLOBJS = $(SYSFILES) $(HELPMSG)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
26
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
27
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
28 all: $(ALLOBJS) $(DEPENDS)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
29
2727
f4870404ccc9 Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2691
diff changeset
30 inetd.conf: $(LEVEL1)/sys/inetd.conf
f4870404ccc9 Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2691
diff changeset
31 @sed 's/%TELNET_PORT%/$(TELNET_PORT)/' $^ > $@
f4870404ccc9 Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2691
diff changeset
32
2690
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
33 alldragon: $(ALLOBJS)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
34
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
35 helpmsg: $(HELPFILES)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
36 $(MERGE) $^ > $@
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
37
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
38 clean:
2727
f4870404ccc9 Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2691
diff changeset
39 $(RM) $(HELPMSG) inetd.conf
2690
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
40
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
41 showobjs:
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
42 @$(ECHO) $(ALLOBJS)