BlinkenArea - GitList
Repositories
Blog
Wiki
BlinkenLib
Code
Commits
Branches
Tags
Search
Tree:
9fe8500
Branches
Tags
master
v0.1
v0.2
v0.3
v0.3.1
v0.4
v0.4.1
v0.5
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.6.9
v0.7.0
v0.7.1
v0.7.10
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.8.0
v0.8.1
BlinkenLib
install
Makefile
BlinkenLib v.0.6.4 (2010-12-13)
Christian Heimke
commited
9fe8500
at 2011-07-15 09:09:52
Makefile
Blame
History
Raw
# BlinkenLib # version 0.6.4 date 2010-12-13 # Copyright 2004-2010 Stefan Schuermans <stefan@blinkenarea.org> # Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html # a blinkenarea.org project INSTALL=install VERSION_MAJOR=0 VERSION_MINOR=6 VERSION_REVISION=4 VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_REVISION) include ../config/config.mk ifeq ($(BLINKENLIB_CFG_OSX),1) SHLIBEXT=dylib else SHLIBEXT=so endif ENV_PREFIX=$(shell echo $$PREFIX) STOW_DIR=/usr/local/stow STOW_PREFIX=$(STOW_DIR)/BlinkenLib-$(VERSION) DEF_PREFIX=/usr/local ifneq ($(ENV_PREFIX),) PREFIX=$(ENV_PREFIX) else ifeq ($(shell if [ -d $(STOW_DIR) ]; then echo stow; fi),stow) PREFIX=$(STOW_PREFIX) else PREFIX=$(DEF_PREFIX) endif endif HEADERS=BlinkenLib.h BlinkenMovie.h BlinkenFrame.h BlinkenColorizer.h config.h LIBS=libBlinkenLib.a libBlinkenLib.$(SHLIBEXT).$(VERSION) EXECS=BlinkenConv BlinkenSend BlinkenRecv BlinkenOutput .phony: install uninstall install: $(INSTALL) -d $(PREFIX)/include/BlinkenLib $(INSTALL) -t $(PREFIX)/include/BlinkenLib $(addprefix ../BlinkenLib/, $(HEADERS)) $(INSTALL) -d $(PREFIX)/lib $(INSTALL) -t $(PREFIX)/lib $(addprefix ../BlinkenLib/, $(LIBS)) ln -sf libBlinkenLib.$(SHLIBEXT).$(VERSION) $(PREFIX)/lib/libBlinkenLib.$(SHLIBEXT).$(VERSION_MAJOR) ln -sf libBlinkenLib.$(SHLIBEXT).$(VERSION_MAJOR) $(PREFIX)/lib/libBlinkenLib.$(SHLIBEXT) $(INSTALL) -d $(PREFIX)/bin $(INSTALL) -t $(PREFIX)/bin $(addprefix ../BlinkenLib/, $(EXECS)) uninstall: rm -f $(addprefix $(PREFIX)/bin/, $(EXECS)) rm -f $(PREFIX)/lib/libBlinkenLib.$(SHLIBEXT) rm -f $(PREFIX)/lib/libBlinkenLib.$(SHLIBEXT).$(VERSION_MAJOR) rm -f $(addprefix $(PREFIX)/lib/, $(LIBS)) rm -rf $(PREFIX)/include/BlinkenLib