Bug #502840. Derived type definition convenience macros Bug #500978. Fixes
[platform/upstream/atk.git] / tests / Makefile.am
1 if PLATFORM_WIN32
2 no_undefined = -no-undefined
3 else
4 no_undefined =
5 endif
6
7 noinst_LTLIBRARIES =  \
8         libteststateset.la      \
9         libtestrelation.la
10
11 libatk = $(top_builddir)/atk/libatk-$(ATK_API_VERSION).la
12
13 INCLUDES = -I$(top_srcdir)      \
14         -DG_DISABLE_DEPRECATED  \
15         $(DEP_CFLAGS)
16 DEPS = \
17         $(libatk)
18
19 moduledir = $(libdir)/gtk-2.0/modules
20
21 libteststateset_la_SOURCES = teststateset.c
22 libteststateset_la_LDFLAGS = \
23         -rpath $(moduledir) \
24         $(no_undefined) \
25         -avoid-version  \
26         -module
27 libteststateset_la_LIBADD = $(libatk) $(DEP_LIBS)
28
29 libtestrelation_la_SOURCES = testrelation.c
30 libtestrelation_la_LDFLAGS = \
31         -rpath $(moduledir) \
32         $(no_undefined) \
33         -avoid-version  \
34         -module
35 libtestrelation_la_LIBADD = $(libatk) $(DEP_LIBS)