28fb3189aa064a2d2039b6b4a61109c2a4f2990a
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

1) # BlinkenLightsInteractiveMovieProgram
Stefan Schuermans removed version number from...

Stefan Schuermans authored 13 years ago

2) # Copyright (C) 2004-2011: Stefan Schuermans <stefan@schuermans.info>
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

3) # Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html
4) # a blinkenarea.org project
5) 
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

6) BLINKEN_LIB=../BlinkenLibJava/BlinkenLib.jar
7) 
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

8) JAVAC=javac
9) JAR=jar
10) KEYTOOL=keytool
11) JARSIGNER=jarsigner
12) KEYPASS=BlinkenLightsInteractiveMovieProgram
13) JAVA=java
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

14) P=org/blinkenarea/Blimp
15) IMG=$(P)/images
16) 
17) CLASSPATH=.:$(BLINKEN_LIB)
18) CLASS_FILES=$(P)/BlinkenFileFilter.class $(P)/BlinkenFrameDisplay.class \
19)             $(P)/BlinkenFrameDisplayListener.class $(P)/BlinkenFrameDisplayInterceptor.class \
20)             $(P)/BlinkenFrameEditor.class $(P)/BlinkenFrameEditorListener.class \
21)             $(P)/Blimp.class
22) 
23) IMAGE_FILES=$(IMG)/ColorPicker.png $(IMG)/Dot.png $(IMG)/Line.png \
24)             $(IMG)/Rectangle.png $(IMG)/FilledRectangle.png \
25)             $(IMG)/Circle.png $(IMG)/FilledCircle.png \
26)             $(IMG)/Copy.png $(IMG)/Paste.png \
27)             $(IMG)/Invert.png $(IMG)/MirrorHor.png $(IMG)/RollLeft.png \
28)             $(IMG)/Rotate90.png $(IMG)/MirrorVer.png $(IMG)/RollRight.png \
29)             $(IMG)/Rotate180.png $(IMG)/MirrorDiag.png $(IMG)/RollUp.png \
30)             $(IMG)/Rotate270.png $(IMG)/MirrorDiag2.png $(IMG)/RollDown.png \
31)             $(IMG)/Undo.png $(IMG)/Redo.png \
32)             $(IMG)/InsertFrame.png $(IMG)/DuplicateFrame.png $(IMG)/DeleteFrame.png
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

33) 
34) .phony: all clean jar run
35) 
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

36) all: jar
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

37) 
38) clean:
39) 	rm -f $(CLASS_FILES) Blimp.jar
40) 
41) jar: Blimp.jar
42) 
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

43) run: Blimp.jar
44) 	$(JAVA) -jar Blimp.jar
45) 
46) %.class: %.java
47) 	$(JAVAC) -classpath $(CLASSPATH) $<
48) 
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

49) Blimp.keystore:
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

50) 	$(KEYTOOL) -genkey -alias Blimp -dname CN=Blimp,O=blinkenarea,C=org -keypass $(KEYPASS) -keystore Blimp.keystore -storepass $(KEYPASS) -validity 3652
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

51) 
52) Blimp.jar: Blimp.mf Blimp.keystore $(CLASS_FILES) $(IMAGE_FILES)
53) 	$(JAR) cmf Blimp.mf Blimp.jar $(CLASS_FILES) $(IMAGE_FILES)
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

54) 	rm -rf jar.tmp
55) 	mkdir jar.tmp
56) 	cat $(BLINKEN_LIB) | ( cd jar.tmp ; $(JAR) x )
57) 	rm -rf jar.tmp/META-INF
58) 	$(JAR) uf Blimp.jar -C jar.tmp .
59) 	rm -rf jar.tmp