root / trunk / tests / Makefile.am @ 1834
History | View | Annotate | Download (2.1 KB)
| 1 | 
                  include $(top_srcdir)/Makefile.decl  | 
              
|---|---|
| 2 | 
                   | 
              
| 3 | 
                  noinst_PROGRAMS = test_schedular test_regex test_nzbcreator test_nntpconnection_backend  | 
              
| 4 | 
                   | 
              
| 5 | 
                  INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)/base -I$(top_srcdir)/plugins -I$(top_srcdir)/nntpgrab_core  | 
              
| 6 | 
                  AM_CFLAGS = -Wall  | 
              
| 7 | 
                   | 
              
| 8 | 
                  # The testcases test_nntp_connection and test_configuration require the  | 
              
| 9 | 
                  # use of private functions in the NNTPGrab Core. These are disabled for now  | 
              
| 10 | 
                  if FALSE  | 
              
| 11 | 
                  noinst_PROGRAMS += test_nntp_connection test_configuration  | 
              
| 12 | 
                  endif  | 
              
| 13 | 
                   | 
              
| 14 | 
                  # The testcases test_par2 and test_unpack don't compile on Mac OS X  | 
              
| 15 | 
                  if DARWIN  | 
              
| 16 | 
                  else  | 
              
| 17 | 
                  noinst_PROGRAMS += test_par2 test_unpack  | 
              
| 18 | 
                  endif  | 
              
| 19 | 
                   | 
              
| 20 | 
                  if FALSE  | 
              
| 21 | 
                  test_nntp_connection_LDADD = $(top_srcdir)/nntpgrab_core/libnntpgrab.la  | 
              
| 22 | 
                  test_nntp_connection_SOURCES = test_nntp_connection.c  | 
              
| 23 | 
                   | 
              
| 24 | 
                  test_configuration_LDADD = $(top_srcdir)/nntpgrab_core/libnntpgrab.la  | 
              
| 25 | 
                  test_configuration_SOURCES = test_configuration.c  | 
              
| 26 | 
                  endif  | 
              
| 27 | 
                   | 
              
| 28 | 
                  test_schedular_LDADD = $(top_srcdir)/nntpgrab_core/libnntpgrab.la  | 
              
| 29 | 
                  test_schedular_SOURCES = test_schedular.c  | 
              
| 30 | 
                   | 
              
| 31 | 
                  test_regex_LDADD = $(top_srcdir)/base/libnntpgrab_utils.la  | 
              
| 32 | 
                  test_regex_SOURCES = test_regex.c  | 
              
| 33 | 
                   | 
              
| 34 | 
                  test_par2_CPPFLAGS = -I$(top_srcdir)/plugins/par2  | 
              
| 35 | 
                  test_par2_LDADD = $(top_srcdir)/plugins/par2/libnntpgrab_plugin_par2.la  | 
              
| 36 | 
                  test_par2_SOURCES = test_par2.c  | 
              
| 37 | 
                   | 
              
| 38 | 
                  test_nzbcreator_LDADD = $(top_srcdir)/base/libnntpgrab_utils.la  | 
              
| 39 | 
                  test_nzbcreator_SOURCES = test_nzbcreator.c  | 
              
| 40 | 
                   | 
              
| 41 | 
                  test_unpack_CPPFLAGS = -I$(top_srcdir)/plugins/unpack  | 
              
| 42 | 
                  test_unpack_LDADD = $(top_srcdir)/plugins/unpack/libnntpgrab_plugin_unpack.la  | 
              
| 43 | 
                  test_unpack_SOURCES = test_unpack.c  | 
              
| 44 | 
                   | 
              
| 45 | 
                  test_nntpconnection_backend_LDADD = $(GLIB_LIBS) $(GIO_LIBS) $(LIBPROXY_LIBS) $(OPENSSL_LIBS) $(NSS_LIBS) $(GNUTLS_LIBS)  | 
              
| 46 | 
                  test_nntpconnection_backend_SOURCES = test_nntpconnection_backend.c \  | 
              
| 47 | 
                  $(top_srcdir)/nntpgrab_core/nntpconnection_utils.c \  | 
              
| 48 | 
                  $(top_srcdir)/nntpgrab_core/nntpconnection_backend_iface.c \  | 
              
| 49 | 
                  $(top_srcdir)/nntpgrab_core/nntpconnection_backend_gio.c \  | 
              
| 50 | 
                  $(top_srcdir)/nntpgrab_core/nntpconnection_backend_native.c  | 
              
| 51 | 
                   | 
              
| 52 | 
                  TEST_PROGS += test_nzbcreator test_nntpconnection_backend  | 
              
| 53 | 
                   | 
              
NNTPGrab

