26f2d994b3cc61e1be7ee7bebfb4553823de683c
[project/opkg-lede.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I shave
2
3 SUBDIRS = libbb libopkg src tests utils man
4
5
6 HOST_CPU=@host_cpu@
7 BUILD_CPU=@build_cpu@
8 OPKGLIBDIR=@opkglibdir@
9 ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\"
10
11 PATHFINDER_CFLAGS = @PATHFINDER_CFLAGS@
12 PATHFINDER_LIBS = @PATHFINDER_LIBS@
13
14 pkgconfigdir = $(libdir)/pkgconfig
15 pkgconfig_DATA = libopkg.pc
16
17
18
19 interceptdir = $(datadir)/opkg/intercept
20 intercept_DATA = intercept/ldconfig intercept/depmod intercept/update-modules
21
22 install-data-hook:
23 chmod +x $(DESTDIR)$(datadir)/opkg/intercept/*
24
25 EXTRA_DIST = $(intercept_DATA)
26
27 MAINTAINERCLEANFILES= \
28 configure \
29 Makefile.in \
30 config.guess \
31 config.sub \
32 ltmain.sh \
33 .Makefile.am.swp \
34 aclocal.m4
35
36 package: all-recursive
37 STRIPPROG=$(STRIP) INSTALL=$$PWD/install-sh binary-arch