comparison src/protocols/toc/Makefile.am @ 4202:59751fe608c5

[gaim-migrate @ 4438] Much needed Makefile.am cleanups. Sorry for the large mass of commit e-mails, everyone. These changes should work on older versions of automake and newer versions. If you do have a problem, let me know, but it should be a smooth transition. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 05 Jan 2003 03:02:55 +0000
parents 5df423e0bca8
children fcc28f5dd0c8
comparison
equal deleted inserted replaced
4201:511c2b63caa4 4202:59751fe608c5
1 EXTRA_DIST = PROTOCOL 1 EXTRA_DIST = PROTOCOL
2 2
3 pkgdir = $(libdir)/gaim 3 pkgdir = $(libdir)/gaim
4 4
5 CFLAGS += -I\$(top_srcdir)/src $(st) $(DEBUG_CFLAGS) 5 TOCSOURCES = toc.c
6
7 AM_CFLAGS = $(st)
8
6 libtoc_la_LDFLAGS = -module -avoid-version 9 libtoc_la_LDFLAGS = -module -avoid-version
7 10
8 if STATIC_TOC 11 if STATIC_TOC
9 12
10 st = -DSTATIC 13 st = -DSTATIC
11 pkg_LTLIBRARIES =
12 noinst_LIBRARIES = libtoc.a 14 noinst_LIBRARIES = libtoc.a
13 15 libtoc_a_SOURCES = $(TOCSOURCES)
14 libtoc_a_SOURCES = toc.c 16 libtoc_a_CFLAGS = $(AM_CFLAGS)
15
16 libtoc_a_CFLAGS = $(AM_CFLAGS)
17 17
18 else 18 else
19 19
20 st = 20 st =
21 pkg_LTLIBRARIES = libtoc.la 21 pkg_LTLIBRARIES = libtoc.la
22 noinst_LIBRARIES = 22 libtoc_la_SOURCES = $(TOCSOURCES)
23
24 libtoc_la_SOURCES = toc.c
25 23
26 endif 24 endif
25
26 AM_CPPFLAGS = \
27 -I$(top_srcdir)/src \
28 $(DEBUG_CFLAGS)