view libpurple/protocols/novell/Makefile.am @ 18785:3cc77409b858

bug with flags variable initialization was fixed
author Michael Shkutkov <mshkutkov@soc.pidgin.im>
date Thu, 02 Aug 2007 19:52:00 +0000
parents 441945083737
children 315151da0dc6 2b62300d2c19
line wrap: on
line source

EXTRA_DIST = \
		Makefile.mingw

pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)

NOVELLSOURCES = \
		nmfield.h \
		nmfield.c \
		nmconn.h \
		nmconn.c \
		nmconference.h \
		nmconference.c \
		nmcontact.h \
		nmcontact.c \
		nmevent.h \
		nmevent.c \
		nmmessage.h \
		nmmessage.c \
		nmrequest.h \
		nmrequest.c \
		nmrtf.h \
		nmrtf.c \
		nmuser.h \
		nmuser.c \
		nmuserrecord.h \
		nmuserrecord.c \
		novell.c

AM_CFLAGS = $(st)

libnovell_la_LDFLAGS = -module -avoid-version

if STATIC_NOVELL

st = -DPURPLE_STATIC_PRPL
noinst_LIBRARIES = libnovell.a
pkg_LTLIBRARIES =

libnovell_a_SOURCES = $(NOVELLSOURCES)
libnovell_a_CFLAGS = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES = libnovell.la
noinst_LIBRARIES =

libnovell_la_SOURCES = $(NOVELLSOURCES)
libnovell_la_LIBADD  = $(GLIB_LIBS)

endif

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