Visual Studio builds: Adapt to the Python-fied glib-genmarshal
[platform/upstream/atk.git] / tests / Makefile.am
index 89dfc21..d2bb2fd 100644 (file)
@@ -1,26 +1,31 @@
-
-noinst_LTLIBRARIES =  \
-       libteststateset.la      \
-       libtestrelation.la
+if PLATFORM_WIN32
+no_undefined = -no-undefined
+else
+no_undefined =
+endif
 
 libatk = $(top_builddir)/atk/libatk-$(ATK_API_VERSION).la
 
-INCLUDES = -I$(top_srcdir)     \
+AM_CPPFLAGS = -I$(top_srcdir)  \
        -DG_DISABLE_DEPRECATED  \
        $(DEP_CFLAGS)
 DEPS = \
        $(libatk)
 
-moduledir = $(libdir)/gtk-2.0/modules
+noinst_PROGRAMS = testdocument \
+                 testrole  \
+                 testrelation  \
+                 teststateset  \
+                 testvalue
+
+LDADD = $(libatk) $(DEP_LIBS)
+
+testdocument_SOURCES = testdocument.c
+testrole_SOURCES = testrole.c
+testrelation_SOURCES = testrelation.c
+teststateset_SOURCES = teststateset.c
+testvalue_SOURCES = testvalue.c
 
-libteststateset_la_SOURCES = teststateset.c
-libteststateset_la_LDFLAGS = \
-       -rpath $(moduledir) \
-       -avoid-version  \
-       -module
+EXTRA_DIST = testatk_vc.mak
 
-libtestrelation_la_SOURCES = testrelation.c
-libtestrelation_la_LDFLAGS = \
-       -rpath $(moduledir) \
-       -avoid-version  \
-       -module
+DISTCLEANFILES = testatk_vc.mak