diff level2/coco3/sys/makefile @ 2828:999159b0e7c0 lwtools-port

retooled port makefiles
author boisy
date Sun, 26 May 2013 15:39:03 -0500
parents 09c66281e12a
children 41a6f70d842d
line wrap: on
line diff
--- a/level2/coco3/sys/makefile	Thu May 23 18:17:06 2013 -0500
+++ b/level2/coco3/sys/makefile	Sun May 26 15:39:03 2013 -0500
@@ -1,6 +1,4 @@
-PORT = coco3
-include $(NITROS9DIR)/rules.mak
-TELNET_PORT	= 6806
+include ../port.mak
 
 vpath %.hp $(LEVEL2)/sys:$(LEVEL1)/sys
 vpath %.asm $(LEVEL2)/sys
@@ -50,7 +48,7 @@
 	-$(SOFTLINK) $(LEVEL1)/sys/$@
 
 inetd.conf:     $(LEVEL1)/sys/inetd.conf
-	@sed 's/%TELNET_PORT%/$(TELNET_PORT)/' $^ > $@
+	@sed -e 's/%TELNET_PORT%/$(TELNET_PORT)/' -e 's/%HTTPD_PORT%/$(HTTPD_PORT)/' $^ > $@
 
 clean:
 	$(RM) $(HELPMSG) $(L1TXTFILES) $(BINFILES) inetd.conf