Mercurial > hg > Members > kono > nitros9-code
annotate level1/coco2/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 |
rev | line source |
---|---|
2727
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
1 ifeq ($(PORT),) |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
2 PORT=coco1 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
3 endif |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
4 include $(NITROS9DIR)/rules.mak |
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 = 6804 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
6 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
7 vpath %.hp $(LEVEL1)/sys |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
8 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
9 DEPENDS = ./makefile |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
10 |
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 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
12 HELPFILES = asm.hp attr.hp backup.hp binex.hp build.hp chd.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
13 chx.hp cmp.hp cobbler.hp config.hp copy.hp cputype.hp date.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
14 dcheck.hp debug.hp ded.hp deiniz.hp del.hp deldir.hp devs.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
15 dir.hp dirsort.hp disasm.hp display.hp dmode.hp dsave.hp dump.hp echo.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
16 edit.hp error.hp ex.hp exbin.hp format.hp free.hp gfx.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
17 help.hp ident.hp iniz.hp inkey.hp irqs.hp kill.hp link.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
18 list.hp load.hp login.hp makdir.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
19 mdir.hp megaread.hp merge.hp mpi.hp mfree.hp os9gen.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
20 padrom.hp park.hp procs.hp prompt.hp pwd.hp pxd.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
21 rename.hp save.hp setime.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
22 setpr.hp shell.hp sleep.hp tee.hp tmode.hp touch.hp tsmon.hp \ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
23 tuneport.hp unlink.hp verify.hp xmode.hp |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
24 HELPMSG = helpmsg |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
25 ALLOBJS = $(SYSFILES) $(HELPMSG) |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
26 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
27 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
28 all: $(ALLOBJS) $(DEPENDS) |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
29 |
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 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
33 helpmsg: $(HELPFILES) |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
34 $(MERGE) $^ > $@ |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
35 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
36 clean: |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
37 $(RM) $(HELPMSG) inetd.conf |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
38 |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
39 showobjs: |
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2691
diff
changeset
|
40 @$(ECHO) $(ALLOBJS) |