1994-06-24 11:31:16 +00:00
|
|
|
# $Id$
|
1991-08-27 09:41:49 +00:00
|
|
|
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
|
|
|
|
SRC_DIR = $(SRC_HOME)/util/int/switch
|
|
|
|
IP_SPEC = $(SRC_HOME)/etc/ip_spec.t
|
1992-07-13 10:28:08 +00:00
|
|
|
UCFLAGS = -I$(UTIL_HOME)/h $(UCOPTIONS)
|
1991-08-27 09:41:49 +00:00
|
|
|
ULDFLAGS = $(ULDOPTIONS)
|
1991-10-01 17:37:21 +00:00
|
|
|
LINTFLAGS = -I$(UTIL_HOME)/h $(LINTOPTIONS)
|
1991-08-27 09:41:49 +00:00
|
|
|
|
|
|
|
SRC = $(SRC_DIR)/mkiswitch.c $(SRC_DIR)/mkswitch.c
|
|
|
|
OBJ = mkiswitch.$(USUF) mkswitch.$(USUF)
|
|
|
|
|
|
|
|
mkiswitch: mkiswitch.$(USUF)
|
|
|
|
$(UCC) $(ULDFLAGS) -o mkiswitch mkiswitch.$(USUF) $(UTIL_HOME)/lib.bin/em_data.$(ULIBSUF)
|
|
|
|
|
|
|
|
mkiswitch.$(USUF): $(SRC_DIR)/mkiswitch.c
|
|
|
|
$(UCC) $(UCFLAGS) -c $(SRC_DIR)/mkiswitch.c
|
|
|
|
|
|
|
|
mkswitch: mkswitch.$(USUF)
|
|
|
|
$(UCC) $(ULDFLAGS) -o mkswitch mkswitch.$(USUF)
|
|
|
|
|
|
|
|
mkswitch.$(USUF): $(SRC_DIR)/mkswitch.c
|
|
|
|
$(UCC) $(UCFLAGS) -c $(SRC_DIR)/mkswitch.c
|
|
|
|
|
|
|
|
DoCases: mkiswitch $(IP_SPEC)
|
|
|
|
mkiswitch Do $(IP_SPEC) DoCases
|
|
|
|
wc DoCases
|
|
|
|
|
|
|
|
PrCases: mkswitch $(IP_SPEC)
|
|
|
|
mkswitch Pr $(IP_SPEC) PrCases
|
|
|
|
wc PrCases
|
|
|
|
|
|
|
|
lint:
|
|
|
|
$(LINT) $(LINTOPTIONS) $(SRC_DIR)/mkiswitch.c $(UTIL_HOME)/lib.bin/em_data.$(LINTSUF)
|
|
|
|
$(LINT) $(LINTOPTIONS) $(SRC_DIR)/mkswitch.c
|
|
|
|
|
1991-12-12 13:01:00 +00:00
|
|
|
clean:# # NOT the cases files !
|
1991-08-27 09:41:49 +00:00
|
|
|
rm -f a.out core $(OBJ) mkswitch mkiswitch
|
|
|
|
|
|
|
|
bare: clean
|
|
|
|
rm -f DoCases PrCases
|
|
|
|
|
|
|
|
all: mkswitch
|
|
|
|
|
|
|
|
install:
|
|
|
|
echo "Nothing to install"
|
|
|
|
|
|
|
|
cmp:
|
|
|
|
echo "Nothing to compare"
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr $(SRC_DIR)/READ_ME $(SRC_DIR)/proto.make $(SRC)
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|