fix a few bugs from last dynamic linking build system commit

some cruft was left and DESTDIR was not being used correctly.
This commit is contained in:
Rich Felker 2011-06-28 08:27:38 -04:00
parent f9c9d8c333
commit 8d54681f15

View File

@ -43,9 +43,9 @@ LDSO_PATHNAME = $(syslibdir)/ld-musl-$(ARCH).so.1
-include config.mak
all: $(ALL_LIBS) $(ALL_TOOLS) $(ALL_LDSO)
all: $(ALL_LIBS) $(ALL_TOOLS)
install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:tools/%=$(DESTDIR)$(bindir)/%) $(ALL_LDSO:%=$(DESTDIR)/%) $(LDSO_PATHNAME)
install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:tools/%=$(DESTDIR)$(bindir)/%) $(DESTDIR)$(LDSO_PATHNAME)
clean:
rm -f crt/*.o