Visual Studio 201x builds: Fix previous commit
[platform/upstream/atk.git] / tests / Makefile.am
index 7758530..d2bb2fd 100644 (file)
@@ -4,32 +4,28 @@ else
 no_undefined =
 endif
 
-noinst_LTLIBRARIES =  \
-       libteststateset.la      \
-       libtestrelation.la
-
 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) \
-       $(no_undefined) \
-       -avoid-version  \
-       -module
-libteststateset_la_LIBADD = $(libatk) $(DEP_LIBS)
+EXTRA_DIST = testatk_vc.mak
 
-libtestrelation_la_SOURCES = testrelation.c
-libtestrelation_la_LDFLAGS = \
-       -rpath $(moduledir) \
-       $(no_undefined) \
-       -avoid-version  \
-       -module
-libtestrelation_la_LIBADD = $(libatk) $(DEP_LIBS)
+DISTCLEANFILES = testatk_vc.mak