source: trunk/gtk/Makefile.am @ 12957

Last change on this file since 12957 was 12957, checked in by jordan, 10 years ago

(trunk libT) #4323 "Allow usage of system miniupnpc" -- fixed.

File size: 2.6 KB
Line 
1SUBDIRS = icons
2
3if TR_UNSTABLE
4GTK_EXTRA_CPPFLAGS=-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
5endif
6
7# these should go in GTK_EXTRA_CPPFLAGS at some point, but not yet because it breaks libnotify's headers
8# -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES
9
10AM_CPPFLAGS = \
11    -I$(top_srcdir) \
12    -DTRANSMISSIONLOCALEDIR=\""$(transmissionlocaledir)"\" \
13    $(GTK_EXTRA_CPPFLAGS)
14
15AM_CFLAGS = \
16    @LIBAPPINDICATOR_CFLAGS@ \
17    @LIBEVENT_CFLAGS@ \
18    @GTK_CFLAGS@ \
19    @LIBCURL_CFLAGS@ \
20    @OPENSSL_CFLAGS@ \
21    @ZLIB_CFLAGS@ \
22    @PTHREAD_CFLAGS@
23
24AM_LDFLAGS = \
25    @ZLIB_LDFLAGS@
26
27noinst_HEADERS = \
28    actions.h \
29    conf.h \
30    details.h \
31    dialogs.h \
32    favicon.h \
33    file-list.h \
34    filter.h \
35    hig.h \
36    icons.h \
37    icon-lock.h \
38    icon-logo-24.h \
39    icon-logo-48.h \
40    icon-ratio.h \
41    icon-turtle.h \
42    icon-utilities.h \
43    makemeta-ui.h \
44    msgwin.h \
45    notify.h \
46    open-dialog.h \
47    relocate.h \
48    stats.h \
49    torrent-cell-renderer.h \
50    tr-core.h \
51    tr-icon.h \
52    tr-prefs.h \
53    tr-window.h \
54    ui.h \
55    util.h
56
57bin_PROGRAMS = transmission-gtk
58
59transmission_gtk_SOURCES = \
60    actions.c \
61    conf.c \
62    details.c \
63    dialogs.c \
64    favicon.c \
65    file-list.c \
66    filter.c \
67    hig.c \
68    icons.c \
69    main.c \
70    makemeta-ui.c \
71    msgwin.c \
72    notify.c \
73    open-dialog.c \
74    relocate.c \
75    stats.c \
76    torrent-cell-renderer.c \
77    tr-core.c \
78    tr-icon.c \
79    tr-prefs.c \
80    tr-window.c \
81    util.c
82
83dist_man_MANS = transmission-gtk.1
84
85transmission_gtk_LDADD = \
86    $(top_builddir)/libtransmission/libtransmission.a \
87    @LIBUPNP_LIBS@ \
88    $(top_builddir)/third-party/libnatpmp/libnatpmp.a \
89    @DHT_LIBS@ \
90    @LIBUTP_LIBS@ \
91    @GTK_LIBS@ \
92    @LIBAPPINDICATOR_LIBS@ \
93    @LIBEVENT_LIBS@ \
94    @LIBCURL_LIBS@ \
95    @OPENSSL_LIBS@ \
96    @ZLIB_LIBS@ \
97    @PTHREAD_LIBS@
98
99DESKTOP_IN_FILES=transmission-gtk.desktop.in
100DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
101@INTLTOOL_DESKTOP_RULE@
102
103Productivitydir = $(datadir)/applications
104Productivity_DATA = $(DESKTOP_FILES)
105
106icon_DATA = transmission.png
107icondir = $(datadir)/pixmaps
108
109EXTRA_DIST = \
110    $(DESKTOP_IN_FILES) \
111    transmission.png
112
113DISTCLEANFILES = \
114    transmission-gtk.desktop
115
116if WIN32
117
118transmission.res: transmission.rc
119        $(WINDRES) -J rc -i transmission.rc -O coff -o transmission.res
120
121BUILT_SOURCES = \
122        setransmission.res
123
124CLEANFILES = \
125        transmission.res
126
127transmission_gtk_LDADD += \
128        transmission.res
129
130transmission_gtk_LDFLAGS = \
131        -mwindows
132
133endif
Note: See TracBrowser for help on using the repository browser.