view libpurple/protocols/myspace/Makefile.am @ 20594:ec11c8ec0305

Initialize file descriptors to -1 here too. These haven't caused any crashes yet. But I am doing this anyway, because close(0) causes really weird and confusing backtraces in finch. The rest of the places seem to already do this.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 21 Sep 2007 13:18:41 +0000
parents ba649e93098b
children 8f3f166e0a39
line wrap: on
line source

EXTRA_DIST = Makefile.mingw

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

MSIMSOURCES = markup.c \
	  markup.h \
	  message.c \
	  message.h \
	  myspace.c \
	  myspace.h \
	  persist.h \
	  session.c \
	  session.h \
	  user.c \
	  user.h \
	  zap.c \
	  zap.h

AM_CFLAGS = $(st)

libmyspace_la_LDFLAGS = -module -avoid-version

if STATIC_MYSPACE

st = -DPURPLE_STATIC_PRPL
noinst_LIBRARIES     = libmyspace.a
libmyspace_a_SOURCES = $(MSIMSOURCES)
libmyspace_a_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES       = libmyspace.la
libmyspace_la_SOURCES = $(MSIMSOURCES)
libmyspace_la_LIBADD  = $(GLIB_LIBS)

endif

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