aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libdlmalloc/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libdlmalloc/files/Makefile')
-rw-r--r--devel/libdlmalloc/files/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/libdlmalloc/files/Makefile b/devel/libdlmalloc/files/Makefile
index eaafc81b8d57..6185abd96692 100644
--- a/devel/libdlmalloc/files/Makefile
+++ b/devel/libdlmalloc/files/Makefile
@@ -56,12 +56,12 @@ clean:
-rm -f *.o \#* *~ *.core a.out gmon.out mon.out onefile.c *.sL prof.out
install:
- install -c -m 644 ${LIBMALLOC} $(LIBDIR)
- -$(RANLIB) $(LIBDIR)/${LIBMALLOC}
- install -c -m 444 ${LIBSMALLOC} $(LIBDIR)
- ln -sf ${LIBSMALLOC} $(LIBDIR)/libdlmalloc.so
- mkdir -p ${INCDIR}
- install -c -m 444 malloc-${VER}.h ${INCDIR}/malloc.h
+ install -c -m 644 ${LIBMALLOC} $(DESTDIR)$(LIBDIR)
+ -$(RANLIB) $(DESTDIR)$(LIBDIR)/${LIBMALLOC}
+ install -c -m 444 ${LIBSMALLOC} $(DESTDIR)$(LIBDIR)
+ ln -sf ${LIBSMALLOC} $(DESTDIR)$(LIBDIR)/libdlmalloc.so
+ mkdir -p $(DESTDIR)${INCDIR}
+ install -c -m 444 malloc-${VER}.h $(DESTDIR)${INCDIR}/malloc.h
$(OBJS): $(SRCS)
$(SOBJS): $(SRCS)