gcc44: install mm_malloc.h
authorSimon Schubert <corecode@dragonflybsd.org>
Fri, 28 Aug 2009 10:29:46 +0000 (12:29 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Fri, 28 Aug 2009 10:29:46 +0000 (12:29 +0200)
gnu/lib/gcc44/libgcc/Makefile

index a55123f..32c200b 100644 (file)
@@ -87,7 +87,14 @@ $(srcdir)/config/i386/wmmintrin.h $(srcdir)/config/i386/immintrin.h \
 $(srcdir)/config/i386/x86intrin.h $(srcdir)/config/i386/avxintrin.h \
 $(srcdir)/config/i386/cross-stdarg.h $(srcdir)/ginclude/tgmath.h
 
-INCS=          ${EXTRA_HEADERS}
+SRCS+= mm_malloc.h
+
+mm_malloc.h: pmm_malloc.h
+       cp ${.ALLSRC} ${.TARGET}
+
+CLEANFILES+=   mm_malloc.h
+
+INCS=          ${EXTRA_HEADERS} mm_malloc.h
 INCSDIR=       /usr/libdata/gcc${GCCSHORTVER}
 .endif