source: trunk/mk/lib.mk @ 1125

Last change on this file since 1125 was 920, checked in by joshe, 15 years ago

Merge nat-traversal branch to trunk.

  • Property svn:keywords set to Date Rev Author Id
File size: 652 bytes
Line 
1# $Id: lib.mk 920 2006-09-25 18:37:45Z livings124 $
2
3include ../mk/config.mk
4include ../mk/common.mk
5
6SRCS = transmission.c bencode.c net.c tracker.c peer.c inout.c \
7       metainfo.c sha1.c utils.c fdlimit.c clients.c completion.c \
8       platform.c ratecontrol.c choking.c natpmp.c upnp.c http.c xml.c
9OBJS = $(SRCS:%.c=%.o)
10
11CFLAGS += -D__TRANSMISSION__
12
13libtransmission.a: $(OBJS)
14        @echo "Library $@"
15        @ar ru $@ $(OBJS)
16        @ranlib $@
17
18%.o: %.c ../mk/config.mk ../mk/common.mk ../mk/cli.mk
19        $(CC_RULE)
20
21clean:
22        @echo "Clean libtransmission.a"
23        @echo "Clean $(OBJS)"
24        @$(RM) libtransmission.a $(OBJS)
25
26.depend: $(SRCS) ../mk/config.mk ../mk/common.mk ../mk/cli.mk
27        $(DEP_RULE)
28
29-include .depend
Note: See TracBrowser for help on using the repository browser.