aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/ename/Makefile.am
blob: 46b3ca0132b5b9bdb01eaeb523c432f84dc01b92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
INCLUDES =                      \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
    -DG_LOG_DOMAIN=\"EName\"            \
    -I$(srcdir)                 \
    -I$(srcdir)/..                  \
    -I$(top_srcdir)                 \
    -I.                         \
    -I..                        \
    -I$(top_builddir)               \
        -I$(includedir)                                 \
        $(GNOME_INCLUDEDIR)             \
    $(EXTRA_GNOME_CFLAGS)

gnome_libs =                        \
    $(BONOBO_GNOME_LIBS)                \
    $(INTLLIBS)                 \
    $(EXTRA_GNOME_LIBS)

ename_libs =                        \
    libename.la                     \
    $(gnome_libs)

lib_LTLIBRARIES = libename.la

libename_la_SOURCES =                   \
    e-address-western.c             \
    e-name-western.c

libenameincludedir = $(includedir)/ename

libenameinclude_HEADERS =               \
    e-address-western.h             \
    e-name-western-tables.h             \
    e-name-western.h


noinst_LTLIBRARIES = libename-static.la
libename_static_la_SOURCES = $(libename_la_SOURCES)
libename_static_la_LDFLAGS = --all-static


noinst_PROGRAMS =                   \
    test-ename-western              \
    test-ename-western-gtk

test_ename_western_SOURCES =                \
    test-ename-western.c

test_ename_western_LDADD = $(ename_libs)        \
    $(EXTRA_GNOME_LIBS)

test_ename_western_gtk_SOURCES =                \
    test-ename-western-gtk.c

test_ename_western_gtk_LDADD =          \
    $(ename_libs)               \
    $(top_builddir)/e-util/libeutil.la  \
    $(gnome_libs)