diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-06-17 12:38:20 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-06-17 12:38:20 +0000 |
commit | 9b3e78c5c997fe9363c473f1161ff9c554dcfe69 (patch) | |
tree | 859a756e6e219c8ce1fcf2c3181da512eeac6cd3 /xpp/utils/Makefile | |
parent | b5755da0d40e72fad44756bc009fcf688c3380cc (diff) |
* Echo canceller not disablerd
* card_fxo.c: Fixed an unreleased spinlock
* utils/Makefile: No more C++ flags
* utils/Makefile: An install target
* fpga_load: usb1 support
* genzaptelconf: Support for more cards (Any Sangoma A20x testers?)
* xpp_fxloder: The new USB ID, even for manual loads...
* xpp_zap.c: Print module fetures in a better format at load time.
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1114 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/utils/Makefile')
-rw-r--r-- | xpp/utils/Makefile | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile index 021647c..562c738 100644 --- a/xpp/utils/Makefile +++ b/xpp/utils/Makefile @@ -1,15 +1,15 @@ -TEST_CPP = 1 -PEDANTIC = -ansi -pedantic +PEDANTIC = -ansi -pedantic -std=c99 CC = gcc RANLIB = ranlib +INSTALL = install -ifeq (1,${TEST_CPP}) -CXXFLAGS = $(CFLAGS) -EXTRA_CFLAGS = -x c++ -EXTRA_LIBS = -lstdc++ -LDLIBS += $(EXTRA_LIBS) -endif +BINDIR = /sbin +DATADIR = /usr/share/zaptel +MANDIR = /usr/share/man/man8 +HOTPLUG_USB_DIR = /etc/hotplug/usb + +DATA_FILES = ../init_data_*.cmd ../initialize_registers CFLAGS = -g -Wall $(EXTRA_CFLAGS) @@ -17,6 +17,17 @@ TARGETS = libhexfile.a fpga_load test_parse all: $(TARGETS) +install: all + $(INSTALL) -d $(BINDIR) + $(INSTALL) genzaptelconf fpga_load $(BINDIR)/ + $(INSTALL) -d $(DATADIR) + $(INSTALL) $(DATA_FILES) $(DATADIR)/ + $(INSTALL) -d $(MANDIR) + $(INSTALL) fpga_load.8 $(MANDIR)/ + $(INSTALL) -d $(HOTPLUG_USB_DIR) + $(INSTALL) xpp_fxloader xpp_fxloader.usermap $(HOTPLUG_USB_DIR)/ + + libhexfile.a: hexfile.o $(AR) cru $@ $^ $(RANLIB) $@ |