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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
e482bb12a954 tano port
boisy
parents:
diff changeset
2
2058
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
3 vpath %.hp $(LEVEL1)/sys
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
4
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
e482bb12a954 tano port
boisy
parents:
diff changeset
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
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
8 HELPFILES = asm.hp attr.hp backup.hp binex.hp build.hp chd.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
9 chx.hp cmp.hp cobbler.hp config.hp copy.hp cputype.hp date.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
10 dcheck.hp debug.hp ded.hp deiniz.hp del.hp deldir.hp devs.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
11 dir.hp dirsort.hp disasm.hp display.hp dmode.hp dsave.hp dump.hp echo.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
12 edit.hp error.hp ex.hp exbin.hp format.hp free.hp gfx.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
13 help.hp ident.hp iniz.hp inkey.hp irqs.hp kill.hp link.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
14 list.hp load.hp login.hp makdir.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
15 mdir.hp megaread.hp merge.hp mpi.hp mfree.hp os9gen.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
16 padrom.hp park.hp procs.hp prompt.hp pwd.hp pxd.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
17 rename.hp save.hp setime.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
18 setpr.hp shell.hp sleep.hp tee.hp tmode.hp touch.hp tsmon.hp \
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
19 tuneport.hp unlink.hp verify.hp xmode.hp
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
20 HELPMSG = helpmsg
e482bb12a954 tano port
boisy
parents:
diff changeset
21 ALLOBJS = $(SYSFILES) $(HELPMSG)
e482bb12a954 tano port
boisy
parents:
diff changeset
22
e482bb12a954 tano port
boisy
parents:
diff changeset
23
e482bb12a954 tano port
boisy
parents:
diff changeset
24 all: $(ALLOBJS) $(DEPENDS)
e482bb12a954 tano port
boisy
parents:
diff changeset
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
e482bb12a954 tano port
boisy
parents:
diff changeset
29 helpmsg: $(HELPFILES)
2058
27b36e424a4d More updates
boisy
parents: 2037
diff changeset
30 $(MERGE) $^ > $@
2036
e482bb12a954 tano port
boisy
parents:
diff changeset
31
e482bb12a954 tano port
boisy
parents:
diff changeset
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
e482bb12a954 tano port
boisy
parents:
diff changeset
34
e482bb12a954 tano port
boisy
parents:
diff changeset
35 showobjs:
e482bb12a954 tano port
boisy
parents:
diff changeset
36 @$(ECHO) $(ALLOBJS)