Commit 1a063cb7 authored by Kai Vehmanen's avatar Kai Vehmanen

Do not install any libsofia-sip-ua-glib related files if built with '--with-glib

darcs-hash:20060603121043-7659e-32533fae9b232ade66219fa8096ad469c75555e5.gz
parent e8f4eed0
......@@ -16,7 +16,10 @@ if HAVE_GOBJECT
GOBJECT_TARGETS=nua-glib/libnua-glib.la
endif
lib_LTLIBRARIES = libsofia-sip-ua-glib.la
lib_LTLIBRARIES =
if HAVE_GLIB
lib_LTLIBRARIES += libsofia-sip-ua-glib.la
endif
libsofia_sip_ua_glib_la_SOURCES =
libsofia_sip_ua_glib_la_LIBADD = $(GLIB_TARGETS) $(GOBJECT_TARGETS)
......
......@@ -48,8 +48,11 @@ endif
BUILT_SOURCES = $(GLIB_BUILT)
nobase_include_sofia_HEADERS = \
nobase_include_sofia_HEADERS =
if HAVE_GOBJECT
nobase_include_sofia_HEADERS += \
sofia-sip/nua_glib.h
endif
noinst_HEADERS = nua_glib_priv.h
......
......@@ -30,8 +30,11 @@ TESTS = su_source_test
# ----------------------------------------------------------------------
# Rules for building the targets
nobase_include_sofia_HEADERS = \
nobase_include_sofia_HEADERS =
if HAVE_GLIB
nobase_include_sofia_HEADERS += \
sofia-sip/su_source.h
endif
libsu_glib_la_SOURCES = su_source.c
......
......@@ -5,9 +5,14 @@
# Contact: Pekka Pessi <pekka.pessi@nokia.com>
# Licensed under LGPL. See file COPYING.
COND_PC_TARGETS =
if HAVE_GOBJECT
COND_PC_TARGETS += sofia-sip-ua-glib.pc
endif
# Install pkg-config file
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = sofia-sip-ua.pc sofia-sip-ua-glib.pc
pkgconfig_DATA = sofia-sip-ua.pc $(COND_PC_TARGETS)
EXTRA_DIST = sofia-sip.spec sofia-sip.spec.in sofia-sip-ua.pc.in sofia-sip-ua-glib.pc.in
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