Merge pull request #47 from JuliaLang/headers

Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/$(ARCH)
This commit is contained in:
Viral B. Shah 2014-04-06 14:09:16 +05:30
commit 876c3384a1

View file

@ -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