view libgaim/protocols/silc/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 60b1bc8dbf37
children
line wrap: on
line source

EXTRA_DIST = README TODO Makefile.mingw

pkgdir = $(libdir)/gaim

SILCSOURCES = silc.c silcgaim.h buddy.c chat.c ft.c ops.c pk.c util.c wb.c wb.h

AM_CFLAGS = $(st)

libsilcgaim_la_LDFLAGS = -module -avoid-version

if STATIC_SILC

st = -DGAIM_STATIC_PRPL $(SILC_CFLAGS)
noinst_LIBRARIES = libsilcgaim.a
pkg_LTLIBRARIES =

libsilcgaim_a_SOURCES = $(SILCSOURCES)
libsilcgaim_a_CFLAGS  = $(AM_CFLAGS)
libsilcgaim_a_LIBADD  = $(SILC_LIBS)

else

st = $(SILC_CFLAGS)
pkg_LTLIBRARIES = libsilcgaim.la
noinst_LIBRARIES =

libsilcgaim_la_SOURCES = $(SILCSOURCES)
libsilcgaim_la_LIBADD  = $(GLIB_LIBS) $(SILC_LIBS)

endif

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