5e1f52ee23da1e9af793e9df9a22ae57dabb4468
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

1) # JEtherPix - Java implementation of EtherPix output library
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

2) #
Stefan Schuermans change email address in fil...

Stefan Schuermans authored 13 years ago

3) # Copyright 2010-2011 Stefan Schuermans <stefan schuermans info>
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

4) #
5) # This program is free software: you can redistribute it and/or modify
6) # it under the terms of the GNU General Public License as published by
7) # the Free Software Foundation, version 3 of the License.
8) #
9) #
10) # This program is distributed in the hope that it will be useful,
11) # but WITHOUT ANY WARRANTY; without even the implied warranty of
12) # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13) # GNU General Public License for more details.
14) #
15) # You should have received a copy of the GNU Lesser General Public License
16) # along with this program. If not, see <http://www.gnu.org/licenses/>.
17) # BlinkenLightsInteractiveMovieProgram
18) # Copyright (C) 2004-2011: Stefan Schuermans <stefan@schuermans.info>
19) # Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html
20) # a blinkenarea.org project
21) 
22) VERSION_MAJOR=0
23) VERSION_MINOR=1
Stefan Schuermans bump version to v0.1.1

Stefan Schuermans authored 8 years ago

24) VERSION_REVISION=1
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

25) 
26) JAVAC=javac
27) JAR=jar
28) KEYTOOL=keytool
29) JARSIGNER=jarsigner
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

30) KEYPASS=JEtherPix
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

31) JAVA=java
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

32) PKG_PATH=org/blinkenarea/JEtherPix
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

33) PKG_PATH_EX=$(PKG_PATH)/examples
34) 
Stefan Schuermans implemented more parts of c...

Stefan Schuermans authored 13 years ago

35) CLASSES=AddrParser Config Constants Display Distri \
Stefan Schuermans remaining parts of config p...

Stefan Schuermans authored 13 years ago

36)         Mapping MessageIf MsgType Pixel PixelParser Version
Stefan Schuermans implemented fade example, f...

Stefan Schuermans authored 13 years ago

37) CLASSES_EX=Blink Fade Msg
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

38) CLASS_FILES=$(addprefix $(PKG_PATH)/,$(addsuffix .class,$(CLASSES)))
39) CLASS_FILES_EX=$(addprefix $(PKG_PATH_EX)/,$(addsuffix .class,$(CLASSES_EX)))
40) CONFIG_EX=$(PKG_PATH_EX)/config/single8x8.flp
41) 
42) CLASSPATH=.
43) 
Stefan Schuermans implemented fade example, f...

Stefan Schuermans authored 13 years ago

44) .PHONY: all clean jar blink fade
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

45) .SUFFIXES:
46) .SECONDARY:
47) 
Stefan Schuermans implemented more parts of c...

Stefan Schuermans authored 13 years ago

48) all: jar $(CLASS_FILES_EX)
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

49) 
50) clean:
Stefan Schuermans cleanup generated exmaple c...

Stefan Schuermans authored 13 years ago

51) 	rm -f $(PKG_PATH)/Version.java
52) 	rm -f $(CLASS_FILES)
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

53) 	rm -f JEtherPix.jar
Stefan Schuermans cleanup generated exmaple c...

Stefan Schuermans authored 13 years ago

54) 	rm -f $(CLASS_FILES_EX)
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

55) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

56) jar: JEtherPix.jar
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

57) 
58) blink: $(PKG_PATH_EX)/Blink.class
59) 	$(JAVA) -classpath . $(subst /,.,$(basename $<)) $(CONFIG_EX)
60) 
Stefan Schuermans implemented fade example, f...

Stefan Schuermans authored 13 years ago

61) fade: $(PKG_PATH_EX)/Fade.class
62) 	$(JAVA) -classpath . $(subst /,.,$(basename $<)) $(CONFIG_EX)
63) 
Stefan Schuermans implemented more parts of c...

Stefan Schuermans authored 13 years ago

64) $(CLASS_FILES_EX): $(CLASS_FILES)
65) 
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

66) $(PKG_PATH)/Version.java: Makefile
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

67) 	echo "package org.blinkenarea.JEtherPix;" >$@
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

68) 	echo "public class Version {" >>$@
69) 	echo "  public static int Major = $(VERSION_MAJOR);" >>$@
70) 	echo "  public static int Minor = $(VERSION_MINOR);" >>$@
71) 	echo "  public static int Revision = $(VERSION_REVISION);" >>$@
72) 	echo "}" >>$@
73) 
74) %.class: %.java
75) 	$(JAVAC) -classpath $(CLASSPATH) $<
76) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

77) JEtherPix.keystore:
78) 	$(KEYTOOL) -genkey -alias JEtherPix -dname CN=JEtherPix,O=blinkenarea,C=org -keypass $(KEYPASS) -keystore $@ -storepass $(KEYPASS) -validity 3652
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

79) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

80) JEtherPix.jar: JEtherPix.keystore $(CLASS_FILES)
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

81) 	$(JAR) cf $@ $(CLASS_FILES)
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

82) 	$(JARSIGNER) -keystore $< -storepass $(KEYPASS) $@ JEtherPix