source: trunk/gtk/Makefile @ 243

Last change on this file since 243 was 243, checked in by joshe, 16 years ago

A couple minor i18n cleanups.
Add italian translation.
Add an install make target for transmissioncli and transmission-gtk.

File size: 884 bytes
Line 
1include ../Makefile.config
2include ../Makefile.common
3
4SRCS = conf.c dialogs.c io.c ipc.c main.c trcellrenderertorrent.c util.c
5OBJS = $(SRCS:%.c=%.o)
6
7CFLAGS  += $(CFLAGS_GTK) -I../libtransmission
8LDFLAGS += $(LDFLAGS_GTK) ../libtransmission/libtransmission.a
9
10all: transmission-gtk .po
11        @true
12
13transmission-gtk: $(OBJS) ../libtransmission/libtransmission.a
14        $(LINK_RULE)
15
16.po:
17        @$(MAKE) -C po
18
19%.o: %.c ../Makefile.config ../Makefile.common Makefile
20        $(CC_RULE)
21
22clean:
23        @echo "Clean transmission-gtk"
24        @$(RM) transmission-gtk
25        @echo "Clean $(OBJS)"
26        @$(RM) $(OBJS)
27        @$(MAKE) -C po clean
28
29.depend: $(SRCS) ../Makefile.config ../Makefile.common Makefile
30        $(DEP_RULE)
31
32install: transmission-gtk .po
33        $(INSTALL_BIN_RULE)
34        @$(MAKE) -C po install
35
36morepot: $(SRCS)
37        xgettext --output=po/transmission-gtk.pot --from-code=UTF-8 --add-comments --keyword=_ --keyword=N_ $^
38
39-include .depend
Note: See TracBrowser for help on using the repository browser.