view src/protocols/toc/Makefile.am @ 10252:5ce83aad6869

[gaim-migrate @ 11392] This does #2 of binreloc, by reworking ben miller's patch #780565 It's untested, since i don't have a system without /proc, and worse, the m4 macro will compile it to use the hard coded prefix if the /proc file doesn't exist. So this needs to be fixed yet. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Tue, 23 Nov 2004 21:24:32 +0000
parents 6b1ecf40f3ba
children
line wrap: on
line source

EXTRA_DIST = \
		PROTOCOL \
		Makefile.mingw

pkgdir = $(libdir)/gaim

TOCSOURCES = toc.c

AM_CFLAGS = $(st)

libtoc_la_LDFLAGS = -module -avoid-version

if STATIC_TOC

st = -DGAIM_STATIC_PRPL
noinst_LIBRARIES = libtoc.a
libtoc_a_SOURCES = $(TOCSOURCES)
libtoc_a_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES   = libtoc.la
libtoc_la_SOURCES = $(TOCSOURCES)

endif

AM_CPPFLAGS = \
	-I$(top_srcdir)/src \
	$(GLIB_CFLAGS) \
	$(DEBUG_CFLAGS)