changeset 3399:8d211ff092cb

[gaim-migrate @ 3418] This looks much better. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 16 Aug 2002 21:54:37 +0000
parents 48a2e656bdf9
children 388dd9fbfe4e
files plugins/ticker/Makefile.am
diffstat 1 files changed, 11 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ticker/Makefile.am	Fri Aug 16 20:24:20 2002 +0000
+++ b/plugins/ticker/Makefile.am	Fri Aug 16 21:54:37 2002 +0000
@@ -1,25 +1,19 @@
-CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\"
 plugindir = $(libdir)/gaim
 
+ticker_la_LDFLAGS = -module -avoid-version
+
 if PLUGINS
 
-tickersources = ticker.c gtkticker.so
+plugin_LTLIBRARIES = ticker.la
 
-all:
-	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c gtkticker.c -o tmpgtkticker.lo $(PLUGIN_CFLAGS)
-	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c ticker.c -o tmpticker.lo $(PLUGIN_CFLAGS)	
-	$(LIBTOOL) --mode=link    $(CC) $(CFLAGS) -o libtmpticker.la -rpath $(plugindir) tmpgtkticker.lo tmpticker.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
-	@rm -f tmpticker.lo tmpgtkticker.lo tmpticker.o tmpgtkticker.o libtmpgtkticker.la libticker.la
-	@cp .libs/libtmpticker.so* ticker.so
-	@rm -f .libs/libtmpticker.*
-
-clean distclean:
-	rm -rf $(plugin_DATA) .libs
-
-install:
-	cp ticker.so $(plugindir)
-
+ticker_la_SOURCES = \
+	gtkticker.c \
+	gtkticker.h \
+	ticker.c
 
 endif
 
-EXTRA_DIST = ticker.c gtkticker.c gtkticker.h
+INCLUDES = \
+	-I$(top_srcdir) \
+	-I$(top_srcdir)/src \
+	-DVERSION=\"$(VERSION)\"