blob: bb9328a5c39adecc7c693e0cad13b3ca19baa47b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
TOPDIR=../
include Rules.mak
SUBDIRS = util d-link libdl # man
TARGETDIR=/usr/$(TARGET_ARCH)-linux-uclibc
all:
set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d ; done
install: all
mkdir -p $(TARGETDIR)/etc
mkdir -p $(TARGETDIR)/lib
cp -a ./d-link/$(DLINKER).$(LDSO_VMAJOR) \
./libdl/$(LIBDL).$(LDSO_VMAJOR) $(TARGETDIR)/lib
./util/ldconfig
clean:
set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d $@ ; done
-find . -name '*~' | xargs rm -f
|