97c798d5be0f63b8e0b4c3413040a9705954737a
Christian Heimke BlinkenLibJava v.0.1.1 (200...

Christian Heimke authored 13 years ago

1) # BlinkenLib
Stefan Schuermans removed version information...

Stefan Schuermans authored 13 years ago

2) # Copyright (C) 2004-2011: Stefan Schuermans <stefan@schuermans.info>
Christian Heimke BlinkenLibJava v.0.1.1 (200...

Christian Heimke authored 13 years ago

3) # Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html
4) # a blinkenarea.org project
5) 
Stefan Schuermans version information availab...

Stefan Schuermans authored 13 years ago

6) VERSION_MAJOR=0
7) VERSION_MINOR=1
8) VERSION_REVISION=5
9) 
Christian Heimke BlinkenLibJava v.0.1.1 (200...

Christian Heimke authored 13 years ago

10) JAVAC=javac
11) JAR=jar
12) KEYTOOL=keytool
13) JARSIGNER=jarsigner
14) KEYPASS=BlinkenLib
15) JAVA=java
16) P=org/blinkenarea/BlinkenLib
17) 
Stefan Schuermans version information availab...

Stefan Schuermans authored 13 years ago

18) CLASS_FILES=$(P)/BlinkenConstants.class $(P)/BlinkenFrame.class \
19)             $(P)/BlinkenMovie.class $(P)/Version.class
Christian Heimke BlinkenLibJava v.0.1.1 (200...

Christian Heimke authored 13 years ago

20) 
21) .phony: all clean jar
22) 
23) all: jar
24) 
25) clean:
Stefan Schuermans version information availab...

Stefan Schuermans authored 13 years ago

26) 	rm -f org/blinkenarea/BlinkenLib/Version.java
27) 	rm -f $(CLASS_FILES)
28) 	rm -f BlinkenLib.jar
Christian Heimke BlinkenLibJava v.0.1.1 (200...

Christian Heimke authored 13 years ago

29) 
30) jar: BlinkenLib.jar
31) 
Stefan Schuermans version information availab...

Stefan Schuermans authored 13 years ago

32) org/blinkenarea/BlinkenLib/Version.java: Makefile
33) 	echo "package org.blinkenarea.BlinkenLib;" >$@
34) 	echo "public class Version {" >>$@
35) 	echo "  public static int Major = $(VERSION_MAJOR);" >>$@
36) 	echo "  public static int Minor = $(VERSION_MINOR);" >>$@
37) 	echo "  public static int Revision = $(VERSION_REVISION);" >>$@
38) 	echo "}" >>$@
39) 
Christian Heimke BlinkenLibJava v.0.1.1 (200...

Christian Heimke authored 13 years ago

40) %.class: %.java
41) 	$(JAVAC) $<
42) 
43) BlinkenLib.keystore:
Stefan Schuermans removed version information...

Stefan Schuermans authored 13 years ago

44) 	$(KEYTOOL) -genkey -alias BlinkenLib -keystore BlinkenLib.keystore -keypass $(KEYPASS) -storepass $(KEYPASS) -dname cn=BlinkenLib -validity 3560