Remove useless memory allocation and strcpy.
[oweals/opkg-lede.git] / Makefile.am
index 8783593624243088e7f1c1b686d436a49f01df16..b1980bfcb67e7ebf2e181adc9e9e743f767de428 100644 (file)
@@ -1,15 +1,17 @@
-SUBDIRS = libbb libopkg src tests
+SUBDIRS = libbb libopkg src tests utils
 
 HOST_CPU=@host_cpu@
 BUILD_CPU=@build_cpu@
 OPKGLIBDIR=@opkglibdir@ 
 ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\"
 
+PATHFINDER_CFLAGS = @PATHFINDER_CFLAGS@
+PATHFINDER_LIBS   = @PATHFINDER_LIBS@
+
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libopkg.pc
 
 
-bin_SCRIPTS = update-alternatives
 
 interceptdir = $(datadir)/opkg/intercept
 intercept_DATA = intercept/ldconfig intercept/depmod intercept/update-modules
@@ -17,7 +19,7 @@ intercept_DATA = intercept/ldconfig intercept/depmod intercept/update-modules
 install-data-hook:
        chmod +x $(DESTDIR)$(datadir)/opkg/intercept/*
 
-EXTRA_DIST = update-alternatives $(intercept_DATA)
+EXTRA_DIST = $(intercept_DATA)
 
 MAINTAINERCLEANFILES= \
        configure \