# USA
#
-TESTS=t-addr t-basen t-bits t-cache t-casefold t-cookies \
- t-filepart t-hash t-heap t-hex t-kvp t-mime t-printf \
- t-regsub t-selection t-signame t-sink t-split t-syscalls \
- t-trackname t-unicode t-url t-utf8 t-vector t-words t-wstat
+TESTS=t-addr t-arcfour t-basen t-bits t-cache t-casefold t-charset \
+ t-cookies t-filepart t-hash t-heap t-hex t-kvp t-mime t-printf \
+ t-regsub t-selection t-signame t-sink t-split t-syscalls \
+ t-trackname t-unicode t-url t-utf8 t-vector t-words t-wstat \
+ t-macros t-cgi
noinst_LIBRARIES=libdisorder.a
include_HEADERS=disorder.h
libdisorder_a_SOURCES=charset.c charset.h \
addr.c addr.h \
alsabg.c alsabg.h \
+ arcfour.c arcfour.h \
authhash.c authhash.h \
basen.c basen.h \
base64.c base64.h \
bits.c bits.h \
cache.c cache.h \
+ cgi.c cgi.h \
client.c client.h \
client-common.c client-common.h \
configuration.c configuration.h \
kvp.c kvp.h \
log.c log.h log-impl.h \
logfd.c logfd.h \
+ macros.c macros-builtin.c macros.h \
mem.c mem.h mem-impl.h \
mime.h mime.c \
mixer.c mixer.h mixer-oss.c mixer-alsa.c \
printf.c printf.h \
asprintf.c fprintf.c snprintf.c \
queue.c queue.h \
+ random.c random.h \
regsub.c regsub.h \
rights.c queue-rights.c rights.h \
rtp.h \
t_addr_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
t_addr_DEPENDENCIES=libdisorder.a
+t_arcfour_SOURCES=t-arcfour.c test.c test.h
+t_arcfour_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
+t_arcfour_DEPENDENCIES=libdisorder.a
+
t_basen_SOURCES=t-basen.c test.c test.h
t_basen_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
t_basen_DEPENDENCIES=libdisorder.a
t_casefold_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
t_casefold_DEPENDENCIES=libdisorder.a
+t_charset_SOURCES=t-charset.c test.c test.h
+t_charset_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
+t_charset_DEPENDENCIES=libdisorder.a
+
+t_cgi_SOURCES=t-cgi.c test.c test.h
+t_cgi_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
+t_cgi_DEPENDENCIES=libdisorder.a
+
t_cookies_SOURCES=t-cookies.c test.c test.h
t_cookies_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
t_cookies_DEPENDENCIES=libdisorder.a
t_kvp_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
t_kvp_DEPENDENCIES=libdisorder.a
+t_macros_SOURCES=t-macros.c test.c test.h
+t_macros_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
+t_macros_DEPENDENCIES=libdisorder.a
+
t_mime_SOURCES=t-mime.c test.c test.h
t_mime_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
t_mime_DEPENDENCIES=libdisorder.a
t_wstat_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC)
t_wstat_DEPENDENCIES=libdisorder.a
-
-#check: test #test.i
-# ./test
-
check-report: before-check check make-coverage-reports
before-check:
rm -f *.gcda *.gcov
CLEANFILES=definitions.h definitions.h.new
-EXTRA_DIST=trackdb.c trackdb-stub.c
+EXTRA_DIST=trackdb.c trackdb-stub.c t-macros-1.tmpl t-macros-2