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

Christian Heimke authored 13 years ago

1) # BlinkenLib
Stefan Schuermans fix whitespace in Copyright...

Stefan Schuermans authored 10 years ago

2) # Copyright 2004-2014 Stefan 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) 
Stefan Schuermans improve Makefiles, introduc...

Stefan Schuermans authored 10 years ago

6) INSTALL:=install
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

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)
Stefan Schuermans improve Makefiles, introduc...

Stefan Schuermans authored 10 years ago

12) SHLIBEXT:=dylib
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

13) else
Stefan Schuermans improve Makefiles, introduc...

Stefan Schuermans authored 10 years ago

14) SHLIBEXT:=so
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

15) endif
16) 
Stefan Schuermans improve Makefiles, introduc...

Stefan Schuermans authored 10 years ago

17) ENV_PREFIX:=$(shell echo $$PREFIX)
18) STOW_DIR:=/usr/local/stow
19) STOW_PREFIX:=$(STOW_DIR)/BlinkenLib-$(VERSION)
20) DEF_PREFIX:=/usr/local
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

21) ifneq ($(ENV_PREFIX),)
Stefan Schuermans improve Makefiles, introduc...

Stefan Schuermans authored 10 years ago

22)   PREFIX:=$(ENV_PREFIX)
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

23) else
24)   ifeq ($(shell if [ -d $(STOW_DIR) ]; then echo stow; fi),stow)
Stefan Schuermans improve Makefiles, introduc...

Stefan Schuermans authored 10 years ago

25)     PREFIX:=$(STOW_PREFIX)
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

26)   else
Stefan Schuermans improve Makefiles, introduc...

Stefan Schuermans authored 10 years ago

27)     PREFIX:=$(DEF_PREFIX)
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

28)   endif
29) endif
30) 
Stefan Schuermans improve Makefiles, introduc...

Stefan Schuermans authored 10 years ago

31) HEADERS:=BlinkenLib.h BlinkenMovie.h BlinkenFrame.h BlinkenColorizer.h \
32)          BlinkenProto.h config.h
33) LIBS:=libBlinkenLib.a libBlinkenLib.$(SHLIBEXT).$(VERSION)
34) EXECS:=BlinkenConv BlinkenSend BlinkenRecv BlinkenOutput
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

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