comparison pidgin/plugins/Makefile.am @ 15374:5fe8042783c1

Rename gtk/ and libgaim/ to pidgin/ and libpurple/
author Sean Egan <seanegan@gmail.com>
date Sat, 20 Jan 2007 02:32:10 +0000
parents
children e9c12873fae0
comparison
equal deleted inserted replaced
15373:f79e0f4df793 15374:5fe8042783c1
1 DIST_SUBDIRS = cap gestures gevolution musicmessaging perl ticker
2
3 if BUILD_GEVOLUTION
4 GEVOLUTION_DIR = gevolution
5 endif
6
7 if ENABLE_DBUS
8 MUSICMESSAGING_DIR = musicmessaging
9 endif
10
11 if ENABLE_CAP
12 CAP_DIR = cap
13 endif
14
15 if USE_PERL
16 PERL_DIR = perl
17 endif
18
19 SUBDIRS = \
20 $(CAP_DIR) \
21 gestures \
22 $(GEVOLUTION_DIR) \
23 $(MUSICMESSAGING_DIR) \
24 $(PERL_DIR) \
25 ticker
26
27 plugindir = $(libdir)/gaim
28
29 convcolors_la_LDFLAGS = -module -avoid-version
30 extplacement_la_LDFLAGS = -module -avoid-version
31 gaimrc_la_LDFLAGS = -module -avoid-version
32 history_la_LDFLAGS = -module -avoid-version
33 iconaway_la_LDFLAGS = -module -avoid-version
34 markerline_la_LDFLAGS = -module -avoid-version
35 notify_la_LDFLAGS = -module -avoid-version
36 relnot_la_LDFLAGS = -module -avoid-version
37 spellchk_la_LDFLAGS = -module -avoid-version
38 timestamp_la_LDFLAGS = -module -avoid-version
39 timestamp_format_la_LDFLAGS = -module -avoid-version
40 xmppconsole_la_LDFLAGS = -module -avoid-version
41
42 if PLUGINS
43
44 plugin_LTLIBRARIES = \
45 convcolors.la \
46 extplacement.la \
47 gaimrc.la \
48 history.la \
49 iconaway.la \
50 markerline.la \
51 notify.la \
52 relnot.la \
53 spellchk.la \
54 timestamp.la \
55 timestamp_format.la \
56 xmppconsole.la
57
58 convcolors_la_SOURCES = convcolors.c
59 extplacement_la_SOURCES = extplacement.c
60 gaimrc_la_SOURCES = gaimrc.c
61 history_la_SOURCES = history.c
62 iconaway_la_SOURCES = iconaway.c
63 markerline_la_SOURCES = markerline.c
64 notify_la_SOURCES = notify.c
65 relnot_la_SOURCES = relnot.c
66 spellchk_la_SOURCES = spellchk.c
67 timestamp_la_SOURCES = timestamp.c
68 timestamp_format_la_SOURCES = timestamp_format.c
69 xmppconsole_la_SOURCES = xmppconsole.c
70
71 convcolors_la_LIBADD = $(GTK_LIBS)
72 extplacement_la_LIBADD = $(GTK_LIBS)
73 gaimrc_la_LIBADD = $(GTK_LIBS)
74 history_la_LIBADD = $(GTK_LIBS)
75 iconaway_la_LIBADD = $(GTK_LIBS)
76 markerline_la_LIBADD = $(GTK_LIBS)
77 notify_la_LIBADD = $(GTK_LIBS)
78 relnot_la_LIBADD = $(GLIB_LIBS)
79 spellchk_la_LIBADD = $(GTK_LIBS)
80 timestamp_la_LIBADD = $(GTK_LIBS)
81 timestamp_format_la_LIBADD = $(GTK_LIBS)
82 xmppconsole_la_LIBADD = $(GTK_LIBS)
83
84 endif # PLUGINS
85
86 EXTRA_DIST = \
87 Makefile.mingw \
88 contact_priority.c \
89 gaiminc.c \
90 gtk-signals-test.c \
91 mailchk.c \
92 raw.c \
93 win32/transparency/Makefile.mingw \
94 win32/transparency/win2ktrans.c \
95 win32/winprefs/gtkappbar.c \
96 win32/winprefs/gtkappbar.h \
97 win32/winprefs/Makefile.mingw \
98 win32/winprefs/winprefs.c
99
100 AM_CPPFLAGS = \
101 -DDATADIR=\"$(datadir)\" \
102 -DVERSION=\"$(VERSION)\" \
103 -I$(top_builddir)/src \
104 -I$(top_srcdir)/libpurple \
105 -I$(top_srcdir)/pidgin \
106 $(DEBUG_CFLAGS) \
107 $(GTK_CFLAGS) \
108 $(PLUGIN_CFLAGS)
109
110 #
111 # This part allows people to build their own plugins in here.
112 # Yes, it's a mess.
113 #
114 SUFFIXES = .c .so
115 .c.so:
116 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
117 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
118 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
119 @cp .libs/libtmp$@.so* $@
120 @rm -f .libs/libtmp$@.*