|
|
@ -20,29 +20,29 @@ regressions:
|
|
|
|
|
|
|
|
|
|
|
|
install-headers:
|
|
|
|
install-headers:
|
|
|
|
mkdir -p $(HEADERS) || exit
|
|
|
|
mkdir -p $(HEADERS) || exit
|
|
|
|
cp include/*.h $(HEADERS) || exit
|
|
|
|
cp include/*.h $(DESTDIR)/$(HEADERS) || exit
|
|
|
|
chmod 644 $(HEADERS)/ck_*.h || exit
|
|
|
|
chmod 644 $(DESTDIR)/$(HEADERS)/ck_*.h || exit
|
|
|
|
mkdir -p $(HEADERS)/gcc || exit
|
|
|
|
mkdir -p $(DESTDIR)$(HEADERS)/gcc || exit
|
|
|
|
cp -r include/gcc/* $(HEADERS)/gcc || exit
|
|
|
|
cp -r include/gcc/* $(DESTDIR)/$(HEADERS)/gcc || exit
|
|
|
|
chmod 755 $(HEADERS)/gcc
|
|
|
|
chmod 755 $(DESTDIR)/$(HEADERS)/gcc
|
|
|
|
chmod 644 $(HEADERS)/gcc/ck_*.h $(HEADERS)/gcc/*/ck_*.h || exit
|
|
|
|
chmod 644 $(DESTDIR)/$(HEADERS)/gcc/ck_*.h $(DESTDIR)/$(HEADERS)/gcc/*/ck_*.h || exit
|
|
|
|
|
|
|
|
|
|
|
|
install: all install-headers
|
|
|
|
install: all install-headers
|
|
|
|
mkdir -p $(LIBRARY) || exit
|
|
|
|
mkdir -p $(DESTDIR)/$(LIBRARY) || exit
|
|
|
|
cp src/libck.so $(LIBRARY)/libck.so.$(VERSION) || exit
|
|
|
|
cp src/libck.so $(DESTDIR)/$(LIBRARY)/libck.so.$(VERSION) || exit
|
|
|
|
ln -s $(LIBRARY)/libck.so.$(VERSION) $(LIBRARY)/libck.so
|
|
|
|
ln -s $(DESTDIR)/$(LIBRARY)/libck.so.$(VERSION) $(DESTDIR)/$(LIBRARY)/libck.so
|
|
|
|
ln -s $(LIBRARY)/libck.so.$(VERSION) $(LIBRARY)/libck.so.$(VERSION_MAJOR)
|
|
|
|
ln -s $(DESTDIR)/$(LIBRARY)/libck.so.$(VERSION) $(DESTDIR)/$(LIBRARY)/libck.so.$(VERSION_MAJOR)
|
|
|
|
chmod 744 $(LIBRARY)/libck.so* || exit
|
|
|
|
chmod 744 $(DESTDIR)/$(LIBRARY)/libck.so* || exit
|
|
|
|
mkdir -p $(PKGCONFIG_DATA) || exit
|
|
|
|
mkdir -p $(DESTDIR)/$(PKGCONFIG_DATA) || exit
|
|
|
|
chmod 755 $(PKGCONFIG_DATA)
|
|
|
|
chmod 755 $(DESTDIR)/$(PKGCONFIG_DATA)
|
|
|
|
cp build/ck.pc $(PKGCONFIG_DATA)/ck.pc || exit
|
|
|
|
cp build/ck.pc $(DESTDIR)/$(PKGCONFIG_DATA)/ck.pc || exit
|
|
|
|
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
uninstall:
|
|
|
|
rm -f $(LIBRARY)/libck.so*
|
|
|
|
rm -f $(DESTDIR)/$(LIBRARY)/libck.so*
|
|
|
|
rm -f $(HEADERS)/ck_*.h
|
|
|
|
rm -f $(DESTDIR)/$(HEADERS)/ck_*.h
|
|
|
|
rm -f $(HEADERS)/gcc/ck_*.h
|
|
|
|
rm -f $(DESTDIR)/$(HEADERS)/gcc/ck_*.h
|
|
|
|
rm -f $(HEADERS)/gcc/*/ck_*.h
|
|
|
|
rm -f $(DESTDIR)/$(HEADERS)/gcc/*/ck_*.h
|
|
|
|
rm -f $(PKGCONFIG_DATA)/ck.pc
|
|
|
|
rm -f $(DESTDIR)/$(PKGCONFIG_DATA)/ck.pc
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
clean:
|
|
|
|
$(MAKE) -C src clean
|
|
|
|
$(MAKE) -C src clean
|
|
|
|