Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/sys/makefile @ 2843:ef23548ecc6e lwtools-port
Makefiles: Overwrite soft link destination instead of failing
No more errors in the build log...
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Wed, 10 Jul 2013 22:40:26 +0200 |
parents | 41a6f70d842d |
children | 28ed72477814 |
rev | line source |
---|---|
2828 | 1 include ../port.mak |
2047 | 2 |
2050 | 3 vpath %.hp $(LEVEL2)/sys:$(LEVEL1)/sys |
4 vpath %.asm $(LEVEL2)/sys | |
2047 | 5 |
6 DEPENDS = ./makefile | |
7 | |
2727
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2485
diff
changeset
|
8 L1TXTFILES = errmsg password |
2485 | 9 L2TXTFILES = $(NITROS9DIR)/level2/sys/motd |
2047 | 10 BINFILES = stdfonts stdpats_2 stdpats_4 stdpats_16 stdptrs \ |
11 ibmedcfont isolatin1font | |
2050 | 12 HELPFILES = asm.hp attr.hp \ |
13 backup.hp basic09.hp binex.hp build.hp \ | |
14 chd.hp chx.hp cmp.hp cobbler.hp config.hp copy.hp cputype.hp \ | |
15 date.hp dcheck.hp debug.hp ded.hp deiniz.hp del.hp deldir.hp devs.hp \ | |
16 dir.hp dirsort.hp disasm.hp display.hp dmem.hp dmode.hp dsave.hp dump.hp \ | |
17 echo.hp edit.hp error.hp ex.hp exbin.hp \ | |
18 format.hp free.hp \ | |
19 gfx.hp gfx2.hp grfdrv.hp \ | |
20 help.hp \ | |
21 ident.hp iniz.hp inkey.hp irqs.hp \ | |
22 kill.hp \ | |
23 link.hp list.hp load.hp login.hp \ | |
24 makdir.hp mdir.hp megaread.hp merge.hp mfree.hp mmap.hp modpatch.hp \ | |
2832 | 25 montype.hp minted.hp mpi.hp os9gen.hp \ |
2050 | 26 padrom.hp park.hp pmap.hp proc.hp procs.hp prompt.hp pwd.hp pxd.hp \ |
27 reboot.hp rename.hp runb.hp \ | |
28 save.hp setime.hp setpr.hp shell.hp sleep.hp smap.hp \ | |
29 tee.hp tmode.hp touch.hp tsmon.hp tuneport.hp \ | |
30 unlink.hp \ | |
31 verify.hp \ | |
32 wcreate.hp \ | |
33 xmode.hp | |
2047 | 34 |
35 #HELPFILES = make.hp maketerm.hp rdump.hp rlink.hp rma.hp scred.hp | |
36 | |
37 HELPMSG = helpmsg | |
38 | |
39 TEXTFILES = $(L2TXTFILES) $(HELPMSG) $(L1TXTFILES) | |
2727
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2485
diff
changeset
|
40 ALLOBJS = $(TEXTFILES) $(BINFILES) inetd.conf |
2047 | 41 |
42 all: $(ALLOBJS) $(DEPENDS) | |
43 | |
44 $(HELPMSG): $(HELPFILES) | |
45 $(MERGE) $^ > $@ | |
46 | |
2050 | 47 $(L1TXTFILES): $(LEVEL1)/sys/$@ |
2843
ef23548ecc6e
Makefiles: Overwrite soft link destination instead of failing
Tormod Volden <debian.tormod@gmail.com>
parents:
2832
diff
changeset
|
48 $(SOFTLINK) -f $(LEVEL1)/sys/$@ |
2047 | 49 |
2727
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2485
diff
changeset
|
50 inetd.conf: $(LEVEL1)/sys/inetd.conf |
2828 | 51 @sed -e 's/%TELNET_PORT%/$(TELNET_PORT)/' -e 's/%HTTPD_PORT%/$(HTTPD_PORT)/' $^ > $@ |
2727
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2485
diff
changeset
|
52 |
2047 | 53 clean: |
2727
f4870404ccc9
Adjusted makefile to populate inetd.conf with port number for telnet
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2485
diff
changeset
|
54 $(RM) $(HELPMSG) $(L1TXTFILES) $(BINFILES) inetd.conf |
2047 | 55 |
56 showbinobjs: | |
57 @$(ECHO) $(BINFILES) | |
58 | |
59 showtextobjs: | |
2728 | 60 @$(ECHO) $(TEXTFILES) inetd.conf |
2047 | 61 |
62 showobjs: | |
63 @$(ECHO) $(ALLOBJS) |