comparison libgaim/plugins/Makefile.am @ 14674:69590c55c748

[gaim-migrate @ 17420] It is more correct to use foo_la_LIBADD to specify libs to link to instead of foo_la_LDFLAGS committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 01 Oct 2006 18:17:49 +0000
parents d5c22258df09
children 630b794db0c8
comparison
equal deleted inserted replaced
14673:a2b56d168a88 14674:69590c55c748
22 ssl \ 22 ssl \
23 $(TCL_DIR) 23 $(TCL_DIR)
24 24
25 plugindir = $(libdir)/gaim 25 plugindir = $(libdir)/gaim
26 26
27 idle_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) 27 idle_la_LDFLAGS = -module -avoid-version
28 log_reader_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) 28 log_reader_la_LDFLAGS = -module -avoid-version
29 psychic_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) 29 psychic_la_LDFLAGS = -module -avoid-version
30 statenotify_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) 30 statenotify_la_LDFLAGS = -module -avoid-version
31 31
32 # this can't be in a conditional otherwise automake 1.4 yells 32 # this can't be in a conditional otherwise automake 1.4 yells
33 dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS) 33 dbus_example_la_LDFLAGS = -module -avoid-version
34 34
35 if PLUGINS 35 if PLUGINS
36 36
37 plugin_LTLIBRARIES = \ 37 plugin_LTLIBRARIES = \
38 idle.la \ 38 idle.la \
45 idle_la_SOURCES = idle.c 45 idle_la_SOURCES = idle.c
46 log_reader_la_SOURCES = log_reader.c 46 log_reader_la_SOURCES = log_reader.c
47 psychic_la_SOURCES = psychic.c 47 psychic_la_SOURCES = psychic.c
48 statenotify_la_SOURCES = statenotify.c 48 statenotify_la_SOURCES = statenotify.c
49 49
50 idle_la_LIBADD = $(GLIB_LIBS)
51 log_reader_la_LIBADD = $(GLIB_LIBS)
52 psychic_la_LIBADD = $(GLIB_LIBS)
53 statenotify_la_LIBADD = $(GLIB_LIBS)
54
50 if ENABLE_DBUS 55 if ENABLE_DBUS
51 56
52 CLEANFILES = dbus-example-bindings.c 57 CLEANFILES = dbus-example-bindings.c
53 dbus_example_la_SOURCES = dbus-example.c 58 dbus_example_la_SOURCES = dbus-example.c
59
60 dbus_example_la_LIBADD = $(GLIB_LIBS) $(DBUS_LIBS)
54 61
55 .PHONY: always 62 .PHONY: always
56 63
57 $(top_builddir)/libgaim/dbus-types.h: always 64 $(top_builddir)/libgaim/dbus-types.h: always
58 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F) 65 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F)