X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=d1d26f76dea20915d8e795f7a57d69c7fb082b02;hp=f7be7ff7979e88f9154d966fffe29a07251ebcbf;hb=e6e6c5a216340fc3238155163f2486f457d87e90;hpb=a4b27712ff174fbeabc8509a68b38801a707f000 diff --git a/tests/Makefile.am b/tests/Makefile.am index f7be7ff..d1d26f7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,12 +1,23 @@ +AM_CFLAGS = $(ALL_CFLAGS) -Wall -g -O3 -I${top_srcdir}/libopkg -noinst_PROGRAMS = opkg_hash_test opkg_extract_test +#noinst_PROGRAMS = opkg_hash_test opkg_extract_test +#noinst_PROGRAMS = libopkg_test opkg_active_list_test +noinst_PROGRAMS = libopkg_test -opkg_hash_test_LDADD = $(top_builddir)/libbb/libbb.la $(top_builddir)/libopkg/libopkg.la -opkg_hash_test_SOURCES = opkg_hash_test.c -opkg_hash_test_CFLAGS = $(ALL_CFLAGS) -I$(top_builddir) +#opkg_hash_test_LDADD = $(top_builddir)/libbb/libbb.a $(top_builddir)/libopkg/libopkg.a +#opkg_hash_test_SOURCES = opkg_hash_test.c +#opkg_hash_test_CFLAGS = $(ALL_CFLAGS) -I$(top_srcdir) -opkg_extract_test_LDADD = $(top_builddir)/libbb/libbb.la $(top_builddir)/libopkg/libopkg.la -opkg_extract_test_SOURCES = opkg_extract_test.c -opkg_extract_test_CFLAGS = $(ALL_CFLAGS) -I$(top_builddir) +#opkg_extract_test_LDADD = $(top_builddir)/libbb/libbb.a $(top_builddir)/libopkg/libopkg.a +#opkg_extract_test_SOURCES = opkg_extract_test.c +#opkg_extract_test_CFLAGS = $(ALL_CFLAGS) -I$(top_srcdir) + +#opkg_active_list_test_LDADD = $(top_builddir)/libopkg/active_list.o +#opkg_active_list_test_SOURCES = opkg_active_list_test.c +#opkg_active_list_test_CFLAGS = $(ALL_CFLAGS) -I$(top_srcdir) + +libopkg_test_LDADD = $(top_builddir)/libopkg/libopkg.a $(top_builddir)/libbb/libbb.a $(CURL_LIBS) $(GPGME_LIBS) $(OPENSSL_LIBS) $(PATHFINDER_LIBS) -lpthread -lubox +libopkg_test_SOURCE = libopkg_test.c +libopkg_test_LDFLAGS = -static