Mercurial > hg > Members > kono > nitros9-code
annotate level1/d64/sys/makefile @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | 13299b970532 |
children |
rev | line source |
---|---|
2827
dfb70510fa44
more changes to makefiles and port.mak additions
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2694
diff
changeset
|
1 include ../port.mak |
2036 | 2 |
2058 | 3 vpath %.hp $(LEVEL1)/sys |
4 | |
2036 | 5 DEPENDS = ./makefile |
6 | |
2827
dfb70510fa44
more changes to makefiles and port.mak additions
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2694
diff
changeset
|
7 SYSFILES = ../../sys/errmsg ../../sys/motd ../../sys/password inetd.conf |
2058 | 8 HELPFILES = asm.hp attr.hp backup.hp binex.hp build.hp chd.hp \ |
9 chx.hp cmp.hp cobbler.hp config.hp copy.hp cputype.hp date.hp \ | |
10 dcheck.hp debug.hp ded.hp deiniz.hp del.hp deldir.hp devs.hp \ | |
11 dir.hp dirsort.hp disasm.hp display.hp dmode.hp dsave.hp dump.hp echo.hp \ | |
12 edit.hp error.hp ex.hp exbin.hp format.hp free.hp gfx.hp \ | |
13 help.hp ident.hp iniz.hp inkey.hp irqs.hp kill.hp link.hp \ | |
14 list.hp load.hp login.hp makdir.hp \ | |
15 mdir.hp megaread.hp merge.hp mpi.hp mfree.hp os9gen.hp \ | |
16 padrom.hp park.hp procs.hp prompt.hp pwd.hp pxd.hp \ | |
17 rename.hp save.hp setime.hp \ | |
18 setpr.hp shell.hp sleep.hp tee.hp tmode.hp touch.hp tsmon.hp \ | |
19 tuneport.hp unlink.hp verify.hp xmode.hp | |
2036 | 20 HELPMSG = helpmsg |
21 ALLOBJS = $(SYSFILES) $(HELPMSG) | |
22 | |
23 | |
24 all: $(ALLOBJS) $(DEPENDS) | |
25 | |
2827
dfb70510fa44
more changes to makefiles and port.mak additions
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2694
diff
changeset
|
26 inetd.conf: $(LEVEL1)/sys/inetd.conf |
dfb70510fa44
more changes to makefiles and port.mak additions
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2694
diff
changeset
|
27 @sed -e 's/%TELNET_PORT%/$(TELNET_PORT)/' -e 's/%HTTPD_PORT%/$(HTTPD_PORT)/' $^ > $@ |
dfb70510fa44
more changes to makefiles and port.mak additions
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2694
diff
changeset
|
28 |
2036 | 29 helpmsg: $(HELPFILES) |
2058 | 30 $(MERGE) $^ > $@ |
2036 | 31 |
32 clean: | |
2827
dfb70510fa44
more changes to makefiles and port.mak additions
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2694
diff
changeset
|
33 $(RM) $(HELPMSG) inetd.conf |
2036 | 34 |
35 showobjs: | |
36 @$(ECHO) $(ALLOBJS) |