Skip to content

Commit 876c338

Browse files
committed
Merge pull request #47 from JuliaLang/headers
Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/$(ARCH)
2 parents f261b07 + 360d282 commit 876c338

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,9 @@ install: all
4747
cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/
4848
cp -a src/openlibm.h $(DESTDIR)$(includedir)/
4949
cp -a include/*.h $(DESTDIR)$(includedir)/openlibm/
50+
ifneq ($(wildcard $(ARCH)/bsd_asm.h),)
51+
cp -a $(ARCH)/bsd_asm.h $(DESTDIR)$(includedir)/openlibm/
52+
endif
53+
ifneq ($(wildcard $(ARCH)/bsd_cdefs.h),)
54+
cp -a $(ARCH)/bsd_cdefs.h $(DESTDIR)$(includedir)/openlibm/
55+
endif

0 commit comments

Comments
 (0)