b111b35ebf
- use distribution patch - extend pkg-message - protect config file - cleanup staged install - make portlint happier
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
--- estic/make/freebsd.mak.orig 1997-01-31 02:57:24 UTC
|
|
+++ estic/make/freebsd.mak
|
|
@@ -27,11 +27,11 @@ AS = gas
|
|
AR = ar
|
|
LD = ld
|
|
ZIP = zip
|
|
-CC = g++
|
|
+CC?= g++
|
|
|
|
LIB = ../spunk/spunk.a
|
|
INCDIR = ../spunk
|
|
-CFLAGS = -DFREEBSD -g -Wall -I$(INCDIR) -x c++ -fno-implicit-templates -DEXPLICIT_TEMPLATES
|
|
+CFLAGS += -DFREEBSD -g -Wall -I$(INCDIR) -x c++ -fno-implicit-templates -DEXPLICIT_TEMPLATES
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
@@ -70,10 +70,10 @@ OBJS = callwin.o \
|
|
icintcon.o \
|
|
iclog.o \
|
|
icmsgwin.o \
|
|
- icprefix.o \
|
|
icshort.o \
|
|
icver.o \
|
|
- istecmsg.o
|
|
+ istecmsg.o \
|
|
+ ../areacode/areacode.o
|
|
|
|
# ------------------------------------------------------------------------------
|
|
#
|
|
@@ -81,14 +81,14 @@ OBJS = callwin.o \
|
|
all: estic
|
|
|
|
estic: $(LIB) $(OBJS)
|
|
- $(CC) -o estic $(OBJS) $(LIB) -ltermcap -lg++
|
|
+ $(CC) -o estic $(OBJS) $(LIB) -ltermcap
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# Create a dependency file
|
|
|
|
depend dep:
|
|
@echo "Creating dependency information"
|
|
- $(CC) -I$(INCDIR) -DFREEBSD -MM *.cc > .depend
|
|
+ $(CC) $(CFLAGS) -MM *.cc > .depend
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# Create a ZIP file
|
|
@@ -112,9 +112,10 @@ bin-dist: estic icload strip
|
|
|
|
clean:
|
|
-rm -f *.bak *~
|
|
+ -rm -f *.o
|
|
+ -rm -f estic
|
|
|
|
zap: clean
|
|
- -rm -f *.o
|
|
-rm -f .depend
|
|
|
|
|