librazor/Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Sat Aug 23 11:13:48 2014 +0100 (2014-08-23)
changeset 440 48204dea0b9f
parent 424 8cbc438cc298
child 453 1fd1d221092d
permissions -rw-r--r--
Remove INTLLIBS from librazor_la_LIBADD.

This partially reverts 611c84a3f4b4538a65d186050608c17adbf17770.
It's not clear what motivated the initial inclusion of INTLLIBS
here since the net effect is only seen in librazor.la and not
in razor.pc and librazor.la is not normally packaged. Certainly
neither the static nor the dynamic versions of librazor currently
use libintl. At best this would cause the linker to search a
static libintl for undefined symbols without finding any; at worse
it causes a static build of plover using librazor.la to fail if
no static version of libintl is installed.
rhughes@241
     1
## Process this file with automake to produce Makefile.in
rhughes@241
     2
ali@364
     3
SUBDIRS = types
ali@364
     4
rhughes@241
     5
INCLUDES = \
ali@323
     6
	-I$(top_builddir)/gl -I$(top_srcdir)/gl \
rhughes@241
     7
	-I$(top_builddir)/src -I$(top_srcdir)/src \
rhughes@241
     8
	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
rhughes@241
     9
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
rhughes@241
    10
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
rhughes@241
    11
	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
rhughes@241
    12
	-DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
rhughes@241
    13
	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
rhughes@241
    14
	-DPACKAGE_LIB_DIR=\""$(libdir)"\"
rhughes@241
    15
rhughes@241
    16
lib_LTLIBRARIES = librazor.la
ali@352
    17
if HAVE_LUA
ali@364
    18
  check_PROGRAMS = test-lua
ali@352
    19
endif
rhughes@241
    20
rhughes@241
    21
librazorincludedir = $(includedir)/razor
rhughes@241
    22
rhughes@241
    23
librazorinclude_HEADERS =              			\
rhughes@241
    24
	razor.h
rhughes@241
    25
rhughes@241
    26
librazor_la_SOURCES =                                	\
rhughes@241
    27
	razor-internal.h				\
rhughes@241
    28
	razor.h						\
rhughes@241
    29
	razor.c						\
krh@248
    30
	root.c						\
rhughes@241
    31
	util.c						\
krh@248
    32
	rpm.c						\
krh@248
    33
	iterator.c					\
krh@248
    34
	importer.c					\
krh@248
    35
	merger.c					\
ali@423
    36
	error.c						\
ali@403
    37
	atomic.c					\
ali@416
    38
	atomic-ktm.c					\
ali@416
    39
	atomic-none.c					\
ali@416
    40
	atomic-emulate.c				\
ali@416
    41
	atomic-actions.c				\
krh@248
    42
	transaction.c
rhughes@241
    43
ali@352
    44
if HAVE_LUA
ali@352
    45
  librazor_la_SOURCES += lua.c
ali@352
    46
endif
ali@352
    47
ali@364
    48
librazor_la_LIBADD = $(ZLIB_LIBS) types/libtypes.la $(LUA_LIBS) \
ali@440
    49
	../gl/libgnu.la $(EXTRA_LIBS)
ali@381
    50
librazor_la_LDFLAGS = -no-undefined \
ali@381
    51
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
ali@352
    52
ali@352
    53
if HAVE_LUA
ali@352
    54
  test_lua_SOURCES = test-lua.c
ali@424
    55
  test_lua_LDADD = lua.lo util.lo error.lo types/libtypes.la $(LUA_LIBS) \
ali@398
    56
	../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS)
ali@352
    57
ali@364
    58
  TESTS = test-lua
ali@352
    59
endif
ali@352
    60
ali@352
    61
EXTRA_DIST = 			\
ali@352
    62
	test.lua
rhughes@241
    63
rhughes@241
    64
clean-local :
rhughes@241
    65
	rm -f *~
rhughes@241
    66