From 2f2558b21b64552adba5ebbaa735a7cfb0714664 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Fri, 13 Dec 2013 15:20:38 -0500 Subject: [PATCH] build: Add spinlocks to install target. --- Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.in b/Makefile.in index c2d00df..6698353 100644 --- a/Makefile.in +++ b/Makefile.in @@ -38,6 +38,10 @@ install-headers: cp include/ck_md.h $(DESTDIR)/$(HEADERS)/ck_md.h || exit chmod 755 $(DESTDIR)/$(HEADERS)/gcc chmod 644 $(DESTDIR)/$(HEADERS)/gcc/ck_*.h $(DESTDIR)/$(HEADERS)/gcc/*/ck_*.h || exit + mkdir -p $(DESTDIR)$(HEADERS)/spinlock || exit + cp -r $(SRC_DIR)/include/spinlock/* $(DESTDIR)/$(HEADERS)/spinlock || exit + chmod 755 $(DESTDIR)/$(HEADERS)/spinlock + chmod 644 $(DESTDIR)/$(HEADERS)/spinlock/*.h || exit install: all install-headers $(MAKE) -C doc install @@ -60,6 +64,7 @@ uninstall: rm -f $(DESTDIR)/$(LIBRARY)/libck.so* rm -f $(DESTDIR)/$(LIBRARY)/libck.a rm -f $(DESTDIR)/$(HEADERS)/ck_*.h + rm -f $(DESTDIR)/$(HEADERS)/spinlock/*.h rm -f $(DESTDIR)/$(HEADERS)/gcc/ck_*.h rm -f $(DESTDIR)/$(HEADERS)/gcc/*/ck_*.h rm -f $(DESTDIR)/$(PKGCONFIG_DATA)/ck.pc