b064533a09c817687eed1096ada6c1845bb66481
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

1) # BlinkenLib
Stefan Schuermans update Copyright years

Stefan Schuermans authored 10 years ago

2) # Copyright 2004-2014Stefan Schuermans <stefan@blinkenarea.org>
Stefan Schuermans cleanup file headers after...

Stefan Schuermans authored 13 years ago

3) # Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

4) # a blinkenarea.org project
5) 
6) INSTALL=install
7) 
Stefan Schuermans version info only in oine file

Stefan Schuermans authored 13 years ago

8) include ../version.mk
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

9) include ../config/config.mk
10) 
11) ifeq ($(BLINKENLIB_CFG_OSX),1)
12) SHLIBEXT=dylib
13) else
14) SHLIBEXT=so
15) endif
16) 
17) ENV_PREFIX=$(shell echo $$PREFIX)
18) STOW_DIR=/usr/local/stow
19) STOW_PREFIX=$(STOW_DIR)/BlinkenLib-$(VERSION)
20) DEF_PREFIX=/usr/local
21) ifneq ($(ENV_PREFIX),)
22)   PREFIX=$(ENV_PREFIX)
23) else
24)   ifeq ($(shell if [ -d $(STOW_DIR) ]; then echo stow; fi),stow)
25)     PREFIX=$(STOW_PREFIX)
26)   else
27)     PREFIX=$(DEF_PREFIX)
28)   endif
29) endif
30) 
Stefan Schuermans added support for creating/...

Stefan Schuermans authored 13 years ago

31) HEADERS=BlinkenLib.h BlinkenMovie.h BlinkenFrame.h BlinkenColorizer.h \
32)         BlinkenProto.h config.h
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

33) LIBS=libBlinkenLib.a libBlinkenLib.$(SHLIBEXT).$(VERSION)
34) EXECS=BlinkenConv BlinkenSend BlinkenRecv BlinkenOutput
35) 
36) .phony: install uninstall
37) 
38) install:
39) 	$(INSTALL) -d $(PREFIX)/include/BlinkenLib
Stefan Schuermans Makefile fixed for MAC OS X...

Stefan Schuermans authored 13 years ago

40) 	$(INSTALL) $(addprefix ../BlinkenLib/, $(HEADERS)) $(PREFIX)/include/BlinkenLib
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

41) 	$(INSTALL) -d $(PREFIX)/lib
Stefan Schuermans Makefile fixed for MAC OS X...

Stefan Schuermans authored 13 years ago

42) 	$(INSTALL) $(addprefix ../BlinkenLib/, $(LIBS)) $(PREFIX)/lib
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

43) 	ln -sf libBlinkenLib.$(SHLIBEXT).$(VERSION) $(PREFIX)/lib/libBlinkenLib.$(SHLIBEXT).$(VERSION_MAJOR)
44) 	ln -sf libBlinkenLib.$(SHLIBEXT).$(VERSION_MAJOR) $(PREFIX)/lib/libBlinkenLib.$(SHLIBEXT)
45) 	$(INSTALL) -d $(PREFIX)/bin
Stefan Schuermans Makefile fixed for MAC OS X...

Stefan Schuermans authored 13 years ago

46) 	$(INSTALL) $(addprefix ../BlinkenLib/, $(EXECS)) $(PREFIX)/bin