Mercurial > hg > Members > kono > nitros9-code
comparison level1/coco2b/sys/makefile @ 2827:dfb70510fa44 lwtools-port
more changes to makefiles and port.mak additions
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Thu, 23 May 2013 18:17:06 -0500 |
parents | 99fac4bd9c41 |
children |
comparison
equal
deleted
inserted
replaced
2826:e76cc015cc03 | 2827:dfb70510fa44 |
---|---|
1 ifeq ($(PORT),) | 1 include ../../coco1/sys/makefile |
2 PORT=coco1 | |
3 endif | |
4 include $(NITROS9DIR)/rules.mak | |
5 TELNET_PORT = 6830 | |
6 HTTPD_PORT = 6831 | |
7 | |
8 vpath %.hp $(LEVEL1)/sys | |
9 | |
10 DEPENDS = ./makefile | |
11 | |
12 SYSFILES = ../../sys/errmsg ../../sys/motd ../../sys/password inetd.conf | |
13 HELPFILES = asm.hp attr.hp backup.hp binex.hp build.hp chd.hp \ | |
14 chx.hp cmp.hp cobbler.hp config.hp copy.hp cputype.hp date.hp \ | |
15 dcheck.hp debug.hp ded.hp deiniz.hp del.hp deldir.hp devs.hp \ | |
16 dir.hp dirsort.hp disasm.hp display.hp dmode.hp dsave.hp dump.hp echo.hp \ | |
17 edit.hp error.hp ex.hp exbin.hp format.hp free.hp gfx.hp \ | |
18 help.hp ident.hp iniz.hp inkey.hp irqs.hp kill.hp link.hp \ | |
19 list.hp load.hp login.hp makdir.hp \ | |
20 mdir.hp megaread.hp merge.hp mpi.hp mfree.hp os9gen.hp \ | |
21 padrom.hp park.hp procs.hp prompt.hp pwd.hp pxd.hp \ | |
22 rename.hp save.hp setime.hp \ | |
23 setpr.hp shell.hp sleep.hp tee.hp tmode.hp touch.hp tsmon.hp \ | |
24 tuneport.hp unlink.hp verify.hp xmode.hp | |
25 HELPMSG = helpmsg | |
26 ALLOBJS = $(SYSFILES) $(HELPMSG) | |
27 | |
28 | |
29 all: $(ALLOBJS) $(DEPENDS) | |
30 | |
31 inetd.conf: $(LEVEL1)/sys/inetd.conf | |
32 @sed -e 's/%TELNET_PORT%/$(TELNET_PORT)/' -e 's/%HTTPD_PORT%/$(HTTPD_PORT)/' $^ > $@ | |
33 | |
34 helpmsg: $(HELPFILES) | |
35 $(MERGE) $^ > $@ | |
36 | |
37 clean: | |
38 $(RM) $(HELPMSG) inetd.conf | |
39 | |
40 showobjs: | |
41 @$(ECHO) $(ALLOBJS) |