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

Christian Heimke authored 13 years ago

1) # BlinkenLib
Stefan Schuermans update email address of author

Stefan Schuermans authored 10 years ago

2) # Copyright 2004-2014 Stefan Schuermans <stefan@schuermans.info>
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)
Stefan Schuermans install also BlinkenDeviceO...

Stefan Schuermans authored 5 years ago

34) EXECS:=BlinkenConv BlinkenSend BlinkenRecv BlinkenOutput BlinkenDeviceOutput
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

35) 
Stefan Schuermans update Windows support

Stefan Schuermans authored 7 years ago

36) .PHONY: install uninstall
37) .SUFFIXES:
38) SUFFIXES:=
39) .SECONDARY:
Christian Heimke BlinkenLib v.0.6.2 (2009-02...

Christian Heimke authored 13 years ago

40) 
41) install:
42) 	$(INSTALL) -d $(PREFIX)/include/BlinkenLib
Stefan Schuermans Makefile fixed for MAC OS X...

Stefan Schuermans authored 13 years ago

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

Christian Heimke authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Christian Heimke authored 13 years ago

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

Stefan Schuermans authored 13 years ago

49) 	$(INSTALL) $(addprefix ../BlinkenLib/, $(EXECS)) $(PREFIX)/bin
Stefan Schuermans call ldconfig after install

Stefan Schuermans authored 6 years ago

50) 	if which ldconfig; then ldconfig; fi