summaryrefslogtreecommitdiff
path: root/xpp/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-08-13 15:15:49 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-08-13 15:15:49 +0000
commita114167f3ee6db22217d70a48267871ee08e6c4b (patch)
tree681330f32689007ff556b2d3372a391b840f812d /xpp/Makefile
parentabe5babe4742bf03b49971407b82ec3bc02fb14c (diff)
xpp: Add astribank_is_starting:
astribank_is_running is used to tell when we may have an Astribank that is initializing (and may be re-enumerating and thus not listed as a device). It uses a semaphore as we can always write to one and we can't always write to a file. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6987 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/Makefile')
-rw-r--r--xpp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/xpp/Makefile b/xpp/Makefile
index 111bb6d..921416f 100644
--- a/xpp/Makefile
+++ b/xpp/Makefile
@@ -65,8 +65,9 @@ TARGETS += fpga_load \
astribank_tool \
astribank_hexload \
astribank_allow \
+ astribank_is_starting \
test_parse
-PROG_INSTALL += fpga_load astribank_tool astribank_hexload astribank_allow
+PROG_INSTALL += fpga_load astribank_tool astribank_hexload astribank_allow astribank_is_starting
endif
ifneq (,$(PERLLIBDIR))
PROG_INSTALL += $(PERL_SCRIPTS)
@@ -113,6 +114,9 @@ astribank_tool: $(ABTOOL_OBJS)
astribank_allow: $(ABALLOW_OBJS)
$(CC) -L. -o $@ $(ABALLOW_OBJS) $(EXTRA_LIBS) $(USB_LIB)
+astribank_is_starting: astribank_is_starting.o
+ $(CC) -L. -o $@ $^ $(EXTRA_LIBS)
+
fpga_load.o: CFLAGS+=-D_GNU_SOURCE # We use memrchr()
test_parse: test_parse.o hexfile.o