Commit 5c7a4afa authored by Pekka Pessi's avatar Pekka Pessi

Fixed lib-sofia-sip-ua-glib Makefile.ams.

Tried to sanitize glib-less compilation.

darcs-hash:20060316163230-65a35-04a7cd15df54f21c10c66c137bb03518135e03de.gz
parent c493b26b
AUTOMAKE_OPTIONS = foreign 1.6.1
SUBDIRS = libsofia-sip-ua libsofia-sip-ua-glib utils packages
DIST_SUBDIRS = $(SUBDIRS) win32
SUBDIRS = libsofia-sip-ua $(GLIB_SUBDIRS) utils packages
DIST_SUBDIRS = $(SUBDIRS) libsofia-sip-ua-glib win32
if HAVE_GLIB
GLIB_SUBDIRS = libsofia-sip-ua-glib
endif
PACKAGE = @PACKAGE@
VERSION = @VERSION@
......
......@@ -8,34 +8,26 @@
AUTOMAKE_OPTIONS = foreign
if HAVE_GLIB
DIST_SUBDIRS=su-glib nua-glib
GLIB_SUBDIRS=su-glib
GLIB_TARGETS=su-glib/libsu-glib.la
else
GLIB_SUBDIRS=
GLIB_TARGETS=
endif
if HAVE_GOBJECT
GOBJECT_SUBDIRS=nua-glib
GOBJECT_TARGETS=nua-glib/libnua-glib.la
else
GOBJECT_SUBDIRS=
GOBJECT_TARGETS=
endif
# note: order does matter in the subdir list
SUBDIRS = $(GLIB_SUBDIRS) $(GOBJECT_SUBDIRS)
DIST_SUBDIRS=su-glib nua-glib
DOXYGEN = doxygen
lib_LTLIBRARIES = libsofia-sip-ua-glib.la
libsofia_sip_ua_glib_la_SOURCES =
libsofia_sip_ua_glib_la_LIBADD = $(GLIB_TARGETS) $(GOBJECT_TARGETS)
DOXYGEN = doxygen
built-sources-recursive clean-built-sources-recursive:
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
......
......@@ -60,13 +60,11 @@ LDADD = $(GLIB_LIBS) -lgobject-2.0 \
test_nua_glib_LDFLAGS = -static
if HAVE_GLIB
%_marshal.h: %_marshal.list Makefile
glib-genmarshal --header --prefix=$(subst -,_,$*)_marshal $< > $*_marshal.h
%_marshal.c: %_marshal.list Makefile
glib-genmarshal --body --prefix=$(subst -,_,$*)_marshal $< > $*_marshal.c
endif
# ----------------------------------------------------------------------
# Install and distribution rules
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment