Mercurial > hg > Members > kono > nitros9-code
comparison level1/d64/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 | 2deaccd7ca43 |
children | 28ed72477814 |
comparison
equal
deleted
inserted
replaced
2826:e76cc015cc03 | 2827:dfb70510fa44 |
---|---|
1 ifeq ($(PORT),) | 1 include ../port.mak |
2 PORT=d64 | |
3 endif | |
4 include $(NITROS9DIR)/rules.mak | |
5 | 2 |
6 vpath %.hp $(LEVEL1)/sys | 3 vpath %.hp $(LEVEL1)/sys |
7 | 4 |
8 DEPENDS = ./makefile | 5 DEPENDS = ./makefile |
9 | 6 |
10 SYSFILES = errmsg motd password | 7 SYSFILES = ../../sys/errmsg ../../sys/motd ../../sys/password inetd.conf |
11 HELPFILES = asm.hp attr.hp backup.hp binex.hp build.hp chd.hp \ | 8 HELPFILES = asm.hp attr.hp backup.hp binex.hp build.hp chd.hp \ |
12 chx.hp cmp.hp cobbler.hp config.hp copy.hp cputype.hp date.hp \ | 9 chx.hp cmp.hp cobbler.hp config.hp copy.hp cputype.hp date.hp \ |
13 dcheck.hp debug.hp ded.hp deiniz.hp del.hp deldir.hp devs.hp \ | 10 dcheck.hp debug.hp ded.hp deiniz.hp del.hp deldir.hp devs.hp \ |
14 dir.hp dirsort.hp disasm.hp display.hp dmode.hp dsave.hp dump.hp echo.hp \ | 11 dir.hp dirsort.hp disasm.hp display.hp dmode.hp dsave.hp dump.hp echo.hp \ |
15 edit.hp error.hp ex.hp exbin.hp format.hp free.hp gfx.hp \ | 12 edit.hp error.hp ex.hp exbin.hp format.hp free.hp gfx.hp \ |
24 ALLOBJS = $(SYSFILES) $(HELPMSG) | 21 ALLOBJS = $(SYSFILES) $(HELPMSG) |
25 | 22 |
26 | 23 |
27 all: $(ALLOBJS) $(DEPENDS) | 24 all: $(ALLOBJS) $(DEPENDS) |
28 | 25 |
26 inetd.conf: $(LEVEL1)/sys/inetd.conf | |
27 @sed -e 's/%TELNET_PORT%/$(TELNET_PORT)/' -e 's/%HTTPD_PORT%/$(HTTPD_PORT)/' $^ > $@ | |
28 | |
29 alldragon: $(ALLOBJS) | 29 alldragon: $(ALLOBJS) |
30 | 30 |
31 helpmsg: $(HELPFILES) | 31 helpmsg: $(HELPFILES) |
32 $(MERGE) $^ > $@ | 32 $(MERGE) $^ > $@ |
33 | 33 |
34 clean: | 34 clean: |
35 $(RM) $(HELPMSG) | 35 $(RM) $(HELPMSG) inetd.conf |
36 | 36 |
37 showobjs: | 37 showobjs: |
38 @$(ECHO) $(ALLOBJS) | 38 @$(ECHO) $(ALLOBJS) |