annotate libpurple/plugins/Makefile.am @ 25213:be762644486f

Actually close the assoiciated jsx when closing an IBB session. This also ensures the file we're writing to is actually closes (this might be what caused a truncated received file on Windows.). Change g_fopen/g_fclose to fopen/fclose (these are glib 2.6+). Some additional debug output
author Marcus Lundblad <ml@update.uu.se>
date Sat, 27 Sep 2008 19:39:17 +0000
parents db4400f75dd8
children 425fc6b6c110 bb99ee66120e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 DIST_SUBDIRS = mono perl ssl tcl
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
3 if USE_PERL
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
4 PERL_DIR = perl
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
5 endif
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
6
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
7 if USE_TCL
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
8 TCL_DIR = tcl
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
9 endif
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
10
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
11 if ENABLE_DBUS
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
12 DBUS_LTLIB = dbus-example.la
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
13 endif
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
14
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
15 if USE_MONO
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
16 MONO_DIR = mono
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17 endif
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
18
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
19 SUBDIRS = \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
20 $(MONO_DIR) \
15851
f771cdcc551a disapproval of revision '88322be73f5336575c98479b2270ab9fcf2a8a75'
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 15850
diff changeset
21 $(PERL_DIR) \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
22 ssl \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
23 $(TCL_DIR)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
24
16591
ce049678a67b soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents: 16285
diff changeset
25 plugindir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
26
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
27 autoaccept_la_LDFLAGS = -module -avoid-version
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
28 buddynote_la_LDFLAGS = -module -avoid-version
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
29 ciphertest_la_LDFLAGS = -module -avoid-version
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
30 codeinline_la_LDFLAGS = -module -avoid-version
19909
2729cdff43cd Automake foo
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 16927
diff changeset
31 debug_example_la_LDFLAGS = -module -avoid-version
2729cdff43cd Automake foo
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 16927
diff changeset
32 helloworld_la_LDFLAGS = -module -avoid-version
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
33 idle_la_LDFLAGS = -module -avoid-version
15566
3b6ce2116f74 I had this brilliant idea to deal with join/part notices "intelligently".
Richard Laager <rlaager@wiktel.com>
parents: 15462
diff changeset
34 joinpart_la_LDFLAGS = -module -avoid-version
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
35 log_reader_la_LDFLAGS = -module -avoid-version
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
36 newline_la_LDFLAGS = -module -avoid-version
19913
2c69ceca8067 Adding a notify API example plugin.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19909
diff changeset
37 notify_example_la_LDFLAGS = -module -avoid-version
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
38 offlinemsg_la_LDFLAGS = -module -avoid-version
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
39 pluginpref_example_la_LDFLAGS = -module -avoid-version
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
40 psychic_la_LDFLAGS = -module -avoid-version
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
41 signals_test_la_LDFLAGS = -module -avoid-version
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
42 simple_la_LDFLAGS = -module -avoid-version
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
43 statenotify_la_LDFLAGS = -module -avoid-version
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
44
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
45 # this can't be in a conditional otherwise automake 1.4 yells
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
46 dbus_example_la_LDFLAGS = -module -avoid-version
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
47
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
48 if PLUGINS
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
50 plugin_LTLIBRARIES = \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
51 autoaccept.la \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
52 buddynote.la \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
53 idle.la \
15566
3b6ce2116f74 I had this brilliant idea to deal with join/part notices "intelligently".
Richard Laager <rlaager@wiktel.com>
parents: 15462
diff changeset
54 joinpart.la \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
55 log_reader.la \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
56 newline.la \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
57 offlinemsg.la \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
58 psychic.la \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
59 statenotify.la \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
60 $(DBUS_LTLIB)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
61
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
62 noinst_LTLIBRARIES = \
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
63 ciphertest.la \
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
64 codeinline.la \
19909
2729cdff43cd Automake foo
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 16927
diff changeset
65 debug_example.la \
2729cdff43cd Automake foo
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 16927
diff changeset
66 helloworld.la \
19913
2c69ceca8067 Adding a notify API example plugin.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19909
diff changeset
67 notify_example.la \
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
68 pluginpref_example.la \
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
69 signals_test.la \
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
70 simple.la
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
71
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
72 autoaccept_la_SOURCES = autoaccept.c
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
73 buddynote_la_SOURCES = buddynote.c
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
74 ciphertest_la_SOURCES = ciphertest.c
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
75 codeinline_la_SOURCES = codeinline.c
19909
2729cdff43cd Automake foo
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 16927
diff changeset
76 debug_example_la_SOURCES = debug_example.c
2729cdff43cd Automake foo
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 16927
diff changeset
77 helloworld_la_SOURCES = helloworld.c
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
78 idle_la_SOURCES = idle.c
15566
3b6ce2116f74 I had this brilliant idea to deal with join/part notices "intelligently".
Richard Laager <rlaager@wiktel.com>
parents: 15462
diff changeset
79 joinpart_la_SOURCES = joinpart.c
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
80 log_reader_la_SOURCES = log_reader.c
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
81 newline_la_SOURCES = newline.c
19913
2c69ceca8067 Adding a notify API example plugin.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19909
diff changeset
82 notify_example_la_SOURCES = notify_example.c
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
83 offlinemsg_la_SOURCES = offlinemsg.c
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
84 pluginpref_example_la_SOURCES = pluginpref_example.c
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
85 psychic_la_SOURCES = psychic.c
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
86 signals_test_la_SOURCES = signals-test.c
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
87 simple_la_SOURCES = simple.c
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
88 statenotify_la_SOURCES = statenotify.c
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
89
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
90 autoaccept_la_LIBADD = $(GLIB_LIBS)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
91 buddynote_la_LIBADD = $(GLIB_LIBS)
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
92 ciphertest_la_LIBADD = $(GLIB_LIBS)
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
93 codeinline_la_LIBADD = $(GLIB_LIBS)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
94 idle_la_LIBADD = $(GLIB_LIBS)
15566
3b6ce2116f74 I had this brilliant idea to deal with join/part notices "intelligently".
Richard Laager <rlaager@wiktel.com>
parents: 15462
diff changeset
95 joinpart_la_LIBADD = $(GLIB_LIBS)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
96 log_reader_la_LIBADD = $(GLIB_LIBS)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
97 newline_la_LIBADD = $(GLIB_LIBS)
19913
2c69ceca8067 Adding a notify API example plugin.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19909
diff changeset
98 notify_example_la_LIBADD = $(GLIB_LIBS)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
99 offlinemsg_la_LIBADD = $(GLIB_LIBS)
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
100 pluginpref_example_la_LIBADD = $(GLIB_LIBS)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
101 psychic_la_LIBADD = $(GLIB_LIBS)
16720
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
102 signals_test_la_LIBADD = $(GLIB_LIBS)
dc6903cc63b3 Build, but don't install, some additional plugins that we ship the sources
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
103 simple_la_LIBADD = $(GLIB_LIBS)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
104 statenotify_la_LIBADD = $(GLIB_LIBS)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
105
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
106 if ENABLE_DBUS
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
107
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
108 CLEANFILES = dbus-example-bindings.c
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
109 dbus_example_la_SOURCES = dbus-example.c
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
110
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
111 dbus_example_la_LIBADD = $(GLIB_LIBS) $(DBUS_LIBS)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
112
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
113 .PHONY: always
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
114
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
115 $(top_builddir)/libpurple/dbus-types.h: always
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
116 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
117
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
118 dbus-example-bindings.c: $(top_srcdir)/libpurple/dbus-analyze-functions.py $(dbus_example_la_SOURCES)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
119 cat $(srcdir)/$(dbus_example_la_SOURCES) | \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
120 $(PYTHON) $(top_srcdir)/libpurple/dbus-analyze-functions.py --export-only > $@
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
121
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
122 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c $(top_builddir)/libpurple/dbus-types.h
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
123
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
124
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
125 endif # ENABLE_DBUS
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
126
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
127 endif # PLUGINS
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
128
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
129 EXTRA_DIST = \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
130 Makefile.mingw \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
131 dbus-buddyicons-example.py \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
132 filectl.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
133 fortuneprofile.pl \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
134 ipc-test-client.c \
16795
db06d4a18246 Add a python script plugins/startup.py which will first check whether a
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 16720
diff changeset
135 ipc-test-server.c \
db06d4a18246 Add a python script plugins/startup.py which will first check whether a
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 16720
diff changeset
136 startup.py
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
137
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
138 AM_CPPFLAGS = \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
139 -DDATADIR=\"$(datadir)\" \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
140 -I$(top_srcdir)/libpurple \
16765
441945083737 Now that version.h is a generated source file, we need to add
Stu Tomlinson <stu@nosnilmot.com>
parents: 16720
diff changeset
141 -I$(top_builddir)/libpurple \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
142 $(DEBUG_CFLAGS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
143 $(GLIB_CFLAGS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
144 $(PLUGIN_CFLAGS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
145 $(DBUS_CFLAGS)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
146
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
147 #
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
148 # This part allows people to build their own plugins in here.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
149 # Yes, it's a mess.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
150 #
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
151 SUFFIXES = .c .so
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
152 .c.so:
23971
db4400f75dd8 Fix compiling 'make plugin.so' when srcdir != builddir
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 19913
diff changeset
153 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
154 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
155 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
156 @cp .libs/libtmp$@.so* $@
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
157 @rm -f .libs/libtmp$@.*