Version 0.3.0 from FTP

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@18 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer 2002-03-15 22:52:37 +00:00
parent 8cf62085ee
commit f81ba655b2
2 changed files with 8 additions and 1 deletions

View File

@ -38,6 +38,12 @@ install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
install -m 644 $(STATIC_LIBRARY) /usr/lib install -m 644 $(STATIC_LIBRARY) /usr/lib
/sbin/ldconfig /sbin/ldconfig
pritest: pritest.o
$(CC) -o pritest pritest.o -L. -lpri -lzap
pridump: pridump.o
$(CC) -o pridump pridump.o -L. -lpri -lzap
%.lo : %.c %.lo : %.c
$(CC) -fPIC $(CFLAGS) -o $@ -c $< $(CC) -fPIC $(CFLAGS) -o $@ -c $<
@ -53,3 +59,4 @@ $(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS)
clean: clean:
rm -f *.o *.so *.lo rm -f *.o *.so *.lo
rm -f testpri $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) rm -f testpri $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
rm -f pritest pridump

View File

@ -234,5 +234,5 @@ extern q931_call *q931_new_call(struct pri *pri);
extern int q931_setup(struct pri *pri, q931_call *c, int transmode, int channel, int exclusive, extern int q931_setup(struct pri *pri, q931_call *c, int transmode, int channel, int exclusive,
int nonisdn, char *caller, int callerplan, int callerpres, char *called, int nonisdn, char *caller, int callerplan, int callerpres, char *called,
int calledplan, int ulay1); int calledplan, int ulay1);
extern void q931_dump(q931_h *h, int len, int txrx);
#endif #endif