opkg: catch up with removals and fix include statement in opkg-frontend.c
[project/opkg-lede.git] / Makefile.am
1 SUBDIRS = libbb libopkg tests src
2
3 HOST_CPU=@host_cpu@
4 BUILD_CPU=@build_cpu@
5 OPKGLIBDIR=@opkglibdir@
6 ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\"
7
8
9 bin_SCRIPTS = update-alternatives
10
11 interceptdir = $(datadir)/opkg/intercept
12 intercept_DATA = intercept/ldconfig intercept/depmod intercept/update-modules
13
14 install-data-hook:
15 chmod +x $(DESTDIR)$(datadir)/opkg/intercept/*
16
17 EXTRA_DIST = update-alternatives $(intercept_DATA)
18
19 MAINTAINERCLEANFILES= \
20 configure \
21 Makefile.in \
22 config.guess \
23 config.sub \
24 ltmain.sh \
25 .Makefile.am.swp \
26 aclocal.m4
27
28 package: all-recursive
29 STRIPPROG=$(STRIP) INSTALL=$$PWD/install-sh binary-arch