Bladeren bron

Merge pull request #47 from JuliaLang/headers

Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/$(ARCH)
Viral B. Shah 11 jaren geleden
bovenliggende
commit
876c3384a1
1 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  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