Thanks to
[oweals/opkg-lede.git] / Makefile.am
1 SUBDIRS = libbb libopkg src tests utils
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 pkgconfigdir = $(libdir)/pkgconfig
9 pkgconfig_DATA = libopkg.pc
10
11
12
13 interceptdir = $(datadir)/opkg/intercept
14 intercept_DATA = intercept/ldconfig intercept/depmod intercept/update-modules
15
16 install-data-hook:
17         chmod +x $(DESTDIR)$(datadir)/opkg/intercept/*
18
19 EXTRA_DIST = $(intercept_DATA)
20
21 MAINTAINERCLEANFILES= \
22         configure \
23         Makefile.in \
24         config.guess \
25         config.sub \
26         ltmain.sh \
27         .Makefile.am.swp \
28         aclocal.m4
29
30 package: all-recursive
31         STRIPPROG=$(STRIP) INSTALL=$$PWD/install-sh  binary-arch