source: trunk/mk/gtk.mk @ 759

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

Replace the old progress cell renderer with a new one for silly license reasons.

  • Property svn:keywords set to Date Rev Author Id
File size: 969 bytes
Line 
1# $Id: gtk.mk 759 2006-08-13 00:22:05Z joshe $
2
3include ../mk/config.mk
4include ../mk/common.mk
5
6SRCS = conf.c dialogs.c io.c ipc.c main.c tr_backend.c tr_torrent.c \
7        tr_cell_renderer_progress.c util.c
8OBJS = $(SRCS:%.c=%.o)
9
10CFLAGS  += $(CFLAGS_GTK) -I../libtransmission
11LDFLAGS += $(LDFLAGS_GTK) ../libtransmission/libtransmission.a
12
13all: transmission-gtk .po
14        @true
15
16transmission-gtk: $(OBJS) ../libtransmission/libtransmission.a
17        $(LINK_RULE)
18
19.po:
20        @$(MAKE) -C po -f ../../mk/po.mk
21
22%.o: %.c ../mk/config.mk ../mk/common.mk ../mk/gtk.mk
23        $(CC_RULE)
24
25clean:
26        @echo "Clean transmission-gtk"
27        @$(RM) transmission-gtk
28        @echo "Clean $(OBJS)"
29        @$(RM) $(OBJS)
30        @$(MAKE) -C po -f ../../mk/po.mk clean
31
32.depend: $(SRCS) ../mk/config.mk ../mk/common.mk ../mk/gtk.mk
33        $(DEP_RULE)
34
35install: transmission-gtk .po
36        $(INSTALL_BIN_RULE)
37        @$(MAKE) -C po -f ../../mk/po.mk install
38
39morepot: $(SRCS)
40        xgettext --output=po/transmission-gtk.pot --from-code=UTF-8 --add-comments --keyword=_ --keyword=N_ $^
41
42-include .depend
Note: See TracBrowser for help on using the repository browser.