720797738361e13f3dd9340e6f25a3bf11adc5cc
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 update copyright year

Stefan Schuermans authored 7 years ago

3) # Copyright 2010-2017 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) 
Stefan Schuermans support multiple addresses...

Stefan Schuermans authored 7 years ago

18) VERSION_MAJOR=1
Stefan Schuermans add support for monochrome...

Stefan Schuermans authored 6 years ago

19) VERSION_MINOR=3
Stefan Schuermans support multiple addresses...

Stefan Schuermans authored 7 years ago

20) VERSION_REVISION=0
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

21) 
22) JAVAC=javac
23) JAR=jar
24) KEYTOOL=keytool
25) JARSIGNER=jarsigner
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 7 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

34) CLASS_FILES=$(addprefix $(PKG_PATH)/,$(addsuffix .class,$(CLASSES)))
35) CLASS_FILES_EX=$(addprefix $(PKG_PATH_EX)/,$(addsuffix .class,$(CLASSES_EX)))
36) CONFIG_EX=$(PKG_PATH_EX)/config/single8x8.flp
37) 
38) CLASSPATH=.
39) 
Stefan Schuermans implemented fade example, f...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

41) .SUFFIXES:
42) .SECONDARY:
43) 
Stefan Schuermans implemented more parts of c...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

45) 
46) clean:
Stefan Schuermans cleanup generated exmaple c...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 7 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 7 years ago

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

Stefan Schuermans authored 13 years ago

53) 
54) blink: $(PKG_PATH_EX)/Blink.class
55) 	$(JAVA) -classpath . $(subst /,.,$(basename $<)) $(CONFIG_EX)
56) 
Stefan Schuermans implemented fade example, f...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

60) $(CLASS_FILES_EX): $(CLASS_FILES)
61) 
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 7 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 7 years ago

73) JEtherPix.keystore:
74) 	$(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

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

Stefan Schuermans authored 7 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 7 years ago

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