aboutsummaryrefslogblamecommitdiffstats
path: root/tests/Makefile.am
blob: ae774b138c1edd8dee59cb99cc950ff7b1c208f2 (plain) (tree)
1
2
3
4
5
6
7
8

             





                                      



                         
                                                         
                                                         
                                                         
                                                         
                                                         

                                                         





                                                                 
                                         
                                         
                                         
                                        
                                         
                                           
                                     

                                           
                           
                                                                       
                                                                               
                                                                       
                                                                         
 


                                                           
                                                         

                                                         

                






                                                  
                                                  

                                                  



                                                  
                                                  
                                                  
                                    
 




                                                 









                                                         


                                                           
SUBDIRS = xml

CLEANFILES=

include $(top_srcdir)/rules/check.mak

SUPPRESSIONS=valgrind.supp dlopen.supp

EXTRA_DIST =        \
    test.manager    \
    test.profile

AM_CPPFLAGS =                       \
    $(ERROR_CFLAGS)                 \
    -I$(top_srcdir)                             \
    -DPKGDATADIR=\""$(pkgdatadir)"\"        \
    $(EMPATHY_CFLAGS)               \
    $(WARN_CFLAGS)                  \
    $(DISABLE_DEPRECATED)

LDADD =                             \
    $(top_builddir)/libempathy-gtk/libempathy-gtk.la    \
    $(top_builddir)/libempathy/libempathy.la        \
    $(EMPATHY_LIBS)

noinst_PROGRAMS =           \
    contact-manager         \
    empetit             \
    test-empathy-account-assistant \
    test-empathy-presence-chooser   \
    test-empathy-status-preset-dialog \
    test-empathy-protocol-chooser

contact_manager_SOURCES = contact-manager.c
empetit_SOURCES = empetit.c
test_empathy_presence_chooser_SOURCES = test-empathy-presence-chooser.c
test_empathy_status_preset_dialog_SOURCES = test-empathy-status-preset-dialog.c
test_empathy_protocol_chooser_SOURCES = test-empathy-protocol-chooser.c
test_empathy_account_assistant_SOURCES = test-empathy-account-assistant.c

test_empathy_account_assistant_CFLAGS = -I$(top_srcdir)/src
test_empathy_account_assistant_LDADD =          \
    $(top_builddir)/src/empathy-account-assistant.o \
    $(top_builddir)/src/empathy-import-utils.o  \
    $(top_builddir)/src/empathy-import-pidgin.o \
    $(top_builddir)/src/empathy-import-widget.o \
    $(LDADD)

check_PROGRAMS = check-main
TESTS = check-main
check_main_SOURCES =                             \
    check-main.c                                 \
    check-helpers.c                              \
    check-helpers.h                              \
    check-libempathy.h                           \
    check-empathy-utils.c                        \
    check-empathy-helpers.h                      \
    check-empathy-helpers.c                      \
    check-irc-helper.h                           \
    check-irc-helper.c                           \
    check-empathy-irc-server.c                   \
    check-empathy-irc-network.c                  \
    check-empathy-irc-network-manager.c          \
    check-empathy-chatroom.c                     \
    check-empathy-chatroom-manager.c

check_c_sources = \
    $(check_main_SOURCES)
include $(top_srcdir)/tools/check-coding-style.mk
check-local: check-coding-style

check_main_LDADD = \
    @CHECK_LIBS@ \
    $(top_builddir)/libempathy-gtk/libempathy-gtk.la    \
    $(top_builddir)/libempathy/libempathy.la        \
    $(AM_LDFLAGS)

check_main_CFLAGS = \
    @CHECK_CFLAGS@ \
    $(AM_CFLAGS)

TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
            MC_PROFILE_DIR=@abs_top_srcdir@/tests \
            MC_MANAGER_DIR=@abs_top_srcdir@/tests