File: Makefile

package info (click to toggle)
misdn-user 0.0.0%2Bcvs20041018-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 876 kB
  • ctags: 2,455
  • sloc: ansic: 19,247; makefile: 225
file content (39 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

all: libisdnnet.a

ISDNNETOBJ = net_if.o isdn_debug.o isdn_msg.o fsm.o net_l2.o tei.o net_l3.o \
		manager.o tone.o bchannel.o g711.o

libisdnnet.a: $(ISDNNETOBJ)
	rm -f $@
	ar cr $@ $(ISDNNETOBJ)

isdn_msg.o : isdn_msg.c $(INCLUDEDIR)/isdn_msg.h $(INCLUDEDIR)/isdn_net.h

isdn_debug.o : isdn_debug.c $(INCLUDEDIR)/isdn_debug.h

net_l2.o : net_l2.c net_l2.h $(INCLUDEDIR)/isdn_net.h fsm.h bitops.h

fsm.o : fsm.c fsm.h $(INCLUDEDIR)/isdn_net.h

tei.o : tei.c net_l2.h $(INCLUDEDIR)/isdn_net.h bitops.h

net_l3.o : net_l3.c $(INCLUDEDIR)/isdn_net.h net_l3.h bitops.h

manager.o : manager.c $(INCLUDEDIR)/isdn_net.h $(INCLUDEDIR)/bchannel.h

net_if.o : net_if.c $(INCLUDEDIR)/isdn_net.h bitops.h

tone.o: tone.c $(INCLUDEDIR)/tone.h $(INCLUDEDIR)/bchannel.h \
	$(INCLUDEDIR)/isdn_net.h $(INCLUDEDIR)/ibuffer.h

bchannel.o: bchannel.c $(INCLUDEDIR)/isdn_net.h $(INCLUDEDIR)/tone.h \
	$(INCLUDEDIR)/bchannel.h net_l3.h $(INCLUDEDIR)/ibuffer.h

g711.o: g711.c $(INCLUDEDIR)/g711.h

clean:
	rm -f *.o *~ DEADJOE libisdnnet.a

distclean: clean
	rm -f *.a