build: list correct dependencies

Related to bug https://bugzilla.gnome.org/show_bug.cgi?id=656306#c4
This commit is contained in:
Alejandro Piñeiro 2011-08-10 20:25:43 +02:00
parent df107fc5ba
commit efa7a66a70
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,7 @@
include $(top_srcdir)/build/autotools/Makefile.am.silent
common_ldadd = $(top_builddir)/clutter/libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
noinst_PROGRAMS = \
test-text \
test-picking \
@ -20,7 +22,7 @@ AM_CFLAGS = \
-DG_DISABLE_SINGLE_INCLUDES \
-DTESTS_DATA_DIR=\""$(top_srcdir)/tests/data/"\"
AM_LDFLAGS = $(CLUTTER_LIBS)
LDADD = $(common_ldadd) $(CLUTTER_LIBS)
test_text_SOURCES = test-text.c
test_picking_SOURCES = test-picking.c

View File

@ -15,7 +15,7 @@ INCLUDES = \
-I$(top_srcdir)/clutter/cogl \
-I$(top_builddir)/clutter \
-I$(top_builddir)/clutter/cogl
LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la $(CLUTTER_LIBS)
AM_CFLAGS = \
$(CLUTTER_CFLAGS) \
$(MAINTAINER_CFLAGS) \
@ -27,8 +27,6 @@ perf-report: check
check:
for a in $(noinst_PROGRAMS);do ./$$a;done;true
AM_LDFLAGS = $(CLUTTER_LIBS)
test_picking_SOURCES = test-picking.c
test_text_perf_SOURCES = test-text-perf.c
test_state_SOURCES = test-state.c