OSDN Git Service

mkostemp: fix implementation
[uclinux-h8/uClibc.git] / ldso / Makefile
index 8796649..c8dc9b4 100644 (file)
@@ -1,22 +1,13 @@
-TOPDIR=../
-include $(TOPDIR)Rules.mak
-include Config.mk
-
-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
+# Makefile for uClibc
+#
+# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+#
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+#
+
+top_srcdir=../
+top_builddir=../
+include $(top_builddir)Rules.mak
+all: libs
+include Makefile.in
+include $(top_srcdir)Makerules