Commit 9ad04e2e authored by Julien Bonjean's avatar Julien Bonjean

Fixed Makefile (#1146)

parent 932f2fde
......@@ -3,29 +3,49 @@ include ../globals.mak
TESTS = check_global check_contacts check_config check_dbus
check_PROGRAMS = check_global check_contacts check_config check_dbus
SFLPHONE_LIBS = $(top_builddir)/src/contacts/libcontacts.la \
$(top_builddir)/src/dbus/libdbus.la \
$(top_builddir)/src/config/libconfig.la
SFLPHONE_OBJ = $(top_builddir)/src/accountlist.o \
$(top_builddir)/src/actions.o \
$(top_builddir)/src/assistant.o \
$(top_builddir)/src/call.o \
$(top_builddir)/src/codeclist.o \
$(top_builddir)/src/dialpad.o \
$(top_builddir)/src/errors.o \
$(top_builddir)/src/mainwindow.o \
$(top_builddir)/src/marshaller.o \
$(top_builddir)/src/menus.o \
$(top_builddir)/src/reqaccount.o \
$(top_builddir)/src/sflnotify.o \
$(top_builddir)/src/sliders.o \
$(top_builddir)/src/statusicon.o \
$(top_builddir)/src/timestamp.o \
$(top_builddir)/src/toolbar.o
###########################################################
check_global_SOURCES = check_global.c
check_global_CFLAGS = @CHECK_CFLAGS@ @DEPS_CFLAGS@
check_global_LDADD = @CHECK_LIBS@
check_global_LDADD = @CHECK_LIBS@
###########################################################
check_contacts_SOURCES = check_contacts.c
$(top_builddir)/src/eds.h
check_contacts_CFLAGS = @CHECK_CFLAGS@ @DEPS_CFLAGS@
check_contacts_LDADD = @CHECK_LIBS@
check_contacts_LDADD = $(SFLPHONE_LIBS) $(SFLPHONE_OBJ) @CHECK_LIBS@ @DEPS_LIBS@ -llog4c
###########################################################
check_config_SOURCES = check_config.c
check_config_CFLAGS = @CHECK_CFLAGS@ @DEPS_CFLAGS@
check_config_LDADD = @CHECK_LIBS@
check_contacts_LDADD = $(SFLPHONE_LIBS) $(SFLPHONE_OBJ) @CHECK_LIBS@ @DEPS_LIBS@ -llog4c
###########################################################
check_dbus_SOURCES = check_dbus.c
check_dbus_CFLAGS = @CHECK_CFLAGS@ @DEPS_CFLAGS@
check_dbus_LDADD = @CHECK_LIBS@
check_dbus_SOURCES = check_dbus.c
check_dbus_CFLAGS = @CHECK_CFLAGS@ @DEPS_CFLAGS@
check_contacts_LDADD = $(SFLPHONE_LIBS) $(SFLPHONE_OBJ) @CHECK_LIBS@ @DEPS_LIBS@ -llog4c
###########################################################
......@@ -20,15 +20,20 @@
#include <check.h>
#include <stdlib.h>
#include "../src/contacts/addressbook/eds.h"
#include "../src/contacts/addressbook.h"
START_TEST (test_eds)
void plop()
{
fail_unless (5 == 5,"Erreur");
printf("plop\n");
}
END_TEST
START_TEST (test_eds)
{
fail_unless (5 == 2,"Error");
}
END_TEST
Suite *
contacts_suite (void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment