Browse Source

Merge pull request #47 from JuliaLang/headers

Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/$(ARCH)
Viral B. Shah 11 years ago
parent
commit
876c3384a1
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Makefile

+ 6 - 0
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