53 lines
1.0 KiB
Makefile
53 lines
1.0 KiB
Makefile
LIBINCL := $(INCLUDEDIR)/mISDNlib.h
|
|
PROGS := testcon testcon_l2 testlayer3 loadfirm sendhwctrl testlayer1 misdnportinfo
|
|
# PROGS := testcon testnet loadfirm logger
|
|
|
|
all: $(PROGS)
|
|
|
|
install:
|
|
for i in $(PROGS) ; do \
|
|
install -m 755 $$i $(INSTALL_PREFIX)/usr/bin ;\
|
|
done
|
|
|
|
misdnportinfo: misdnportinfo.o $(mISDNLIB)
|
|
|
|
testcon: testcon.o $(mISDNLIB)
|
|
|
|
testlayer3: testlayer3.o $(mISDNLIB)
|
|
|
|
testnet: testnet.o $(mISDNLIB)
|
|
|
|
testcon_l2: testcon_l2.o $(mISDNLIB)
|
|
|
|
loadfirm: loadfirm.o $(mISDNLIB)
|
|
|
|
sendhwctrl: sendhwctrl.o $(mISDNLIB)
|
|
|
|
testlayer1: testlayer1.o $(mISDNLIB)
|
|
|
|
logger: logger.o $(mISDNLIB)
|
|
|
|
misdnportinfo.o : misdnportinfo.c $(LIBINCL)
|
|
|
|
|
|
testcon.o : testcon.c ../include/l3dss1.h $(LIBINCL)
|
|
|
|
testlayer3.o : testlayer3.c ../include/l3dss1.h $(LIBINCL)
|
|
|
|
testnet.o : testnet.c ../include/l3dss1.h $(LIBINCL)
|
|
|
|
testcon_l2.o : testcon_l2.c ../include/l3dss1.h $(LIBINCL)
|
|
|
|
loadfirm.o: loadfirm.c $(LIBINCL)
|
|
|
|
sendhwctrl.o: sendhwctrl.c $(LIBINCL)
|
|
|
|
logger.o: logger.c $(LIBINCL)
|
|
|
|
|
|
clean:
|
|
rm -f *.o *~ DEADJOE
|
|
|
|
distclean: clean
|
|
rm -f *.a $(PROGS)
|