From 360d282729484606857d37bb8120524e7601e9f9 Mon Sep 17 00:00:00 2001 From: Milan Bouchet-Valat Date: Mon, 31 Mar 2014 09:51:10 +0200 Subject: [PATCH] Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/ --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 1527f75..24b02c0 100644 --- a/Makefile +++ b/Makefile @@ -47,3 +47,9 @@ install: all cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/ cp -a src/openlibm.h $(DESTDIR)$(includedir)/ cp -a include/*.h $(DESTDIR)$(includedir)/openlibm/ +ifneq ($(wildcard $(ARCH)/bsd_asm.h),) + cp -a $(ARCH)/bsd_asm.h $(DESTDIR)$(includedir)/openlibm/ +endif +ifneq ($(wildcard $(ARCH)/bsd_cdefs.h),) + cp -a $(ARCH)/bsd_cdefs.h $(DESTDIR)$(includedir)/openlibm/ +endif