summaryrefslogtreecommitdiff
path: root/ldso/Makefile
blob: d5d3ef640be9c20b997ad7ae120a4bf370694634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TOPDIR=../
include $(TOPDIR)Rules.mak
include Config.mk

SUBDIRS = util d-link # 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/ld-linux-uclibc.so.1 ./d-link/libdl/libdl.so.1 $(TARGETDIR)/lib 
	./util/ldconfig

clean:
	set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d $@ ; done
	-find . -name '*~' | xargs rm -f