X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=libopkg%2FMakefile.am;h=8783f15a1166064272f467686d22ff96991102af;hp=5e713dda152d241f7b8363d0eb4d4695e28f14e6;hb=c4ec4181cf4dc98c580213ef302f4b9faa655592;hpb=8261c5aeb2e39f0bda4f30a53b34303f151a4da3 diff --git a/libopkg/Makefile.am b/libopkg/Makefile.am index 5e713dd..8783f15 100644 --- a/libopkg/Makefile.am +++ b/libopkg/Makefile.am @@ -1,20 +1,14 @@ -ALL_CFLAGS=-g -O -Wall -Werror -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) +AM_CFLAGS=-Wall -Werror -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) libopkg_includedir=$(includedir)/libopkg - libopkg_include_HEADERS= opkg.h -libopkg_la_LIBADD = $(top_builddir)/libbb/libbb.la $(CURL_LIBS) $(GPGME_LIBS) - -# make sure we only export symbols that are for public use -libopkg_la_LDFLAGS = -export-symbols-regex "^opkg_.*" -opkg_core_sources = args.c args.h \ - user.c user.h opkg_libcore_sources = args.c args.h libopkg.c libopkg.h\ user.c user.h opkg_state.c opkg_state.h \ - opkg.c opkg.h + opkg.c opkg.h includes.h \ + opkg_error.h opkg_defines.h opkg_cmd_sources = opkg_cmd.c opkg_cmd.h \ opkg_configure.c opkg_configure.h \ opkg_download.c opkg_download.h \ @@ -30,17 +24,21 @@ opkg_list_sources = conffile.c conffile.h conffile_list.c conffile_list.h \ nv_pair.c nv_pair.h nv_pair_list.c nv_pair_list.h \ pkg_dest.c pkg_dest.h pkg_dest_list.c pkg_dest_list.h \ pkg_src.c pkg_src.h pkg_src_list.c pkg_src_list.h \ - str_list.c str_list.h void_list.c void_list.h + str_list.c str_list.h void_list.c void_list.h \ + active_list.c active.list.h list.h opkg_util_sources = file_util.c file_util.h opkg_message.h opkg_message.c md5.c md5.h \ sprintf_alloc.c sprintf_alloc.h str_util.c str_util.h \ xregex.c xregex.h xsystem.c xsystem.h +lib_LTLIBRARIES = libopkg.la libopkg_la_SOURCES = \ $(opkg_libcore_sources) \ $(opkg_cmd_sources) $(opkg_db_sources) \ $(opkg_util_sources) $(opkg_list_sources) -libopkg_la_CFLAGS = $(ALL_CFLAGS) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) -lib_LTLIBRARIES = libopkg.la +libopkg_la_LIBADD = $(top_builddir)/libbb/libbb.la $(CURL_LIBS) $(GPGME_LIBS) +# make sure we only export symbols that are for public use +libopkg_la_LDFLAGS = -export-symbols-regex "^opkg_.*" +