comparison plugins/ticker/Makefile.am @ 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 412d1035d666
children 59751fe608c5
comparison
equal deleted inserted replaced
3398:48a2e656bdf9 3399:8d211ff092cb
1 CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\"
2 plugindir = $(libdir)/gaim 1 plugindir = $(libdir)/gaim
2
3 ticker_la_LDFLAGS = -module -avoid-version
3 4
4 if PLUGINS 5 if PLUGINS
5 6
6 tickersources = ticker.c gtkticker.so 7 plugin_LTLIBRARIES = ticker.la
7 8
8 all: 9 ticker_la_SOURCES = \
9 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c gtkticker.c -o tmpgtkticker.lo $(PLUGIN_CFLAGS) 10 gtkticker.c \
10 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c ticker.c -o tmpticker.lo $(PLUGIN_CFLAGS) 11 gtkticker.h \
11 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmpticker.la -rpath $(plugindir) tmpgtkticker.lo tmpticker.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) 12 ticker.c
12 @rm -f tmpticker.lo tmpgtkticker.lo tmpticker.o tmpgtkticker.o libtmpgtkticker.la libticker.la
13 @cp .libs/libtmpticker.so* ticker.so
14 @rm -f .libs/libtmpticker.*
15
16 clean distclean:
17 rm -rf $(plugin_DATA) .libs
18
19 install:
20 cp ticker.so $(plugindir)
21
22 13
23 endif 14 endif
24 15
25 EXTRA_DIST = ticker.c gtkticker.c gtkticker.h 16 INCLUDES = \
17 -I$(top_srcdir) \
18 -I$(top_srcdir)/src \
19 -DVERSION=\"$(VERSION)\"