641c61f3d5653ed1b091c312b4a81b70c1e929be
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) 
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

8) VERSION_MAJOR=1
Stefan Schuermans added MCUF output feature

Stefan Schuermans authored 13 years ago

9) VERSION_MINOR=4
10) VERSION_REVISION=0
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

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

Christian Heimke authored 13 years ago

12) JAVAC=javac
13) JAR=jar
14) KEYTOOL=keytool
15) JARSIGNER=jarsigner
16) KEYPASS=BlinkenLightsInteractiveMovieProgram
17) JAVA=java
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

18) P=org/blinkenarea/Blimp
19) IMG=$(P)/images
20) 
21) CLASSPATH=.:$(BLINKEN_LIB)
22) CLASS_FILES=$(P)/BlinkenFileFilter.class $(P)/BlinkenFrameDisplay.class \
23)             $(P)/BlinkenFrameDisplayListener.class $(P)/BlinkenFrameDisplayInterceptor.class \
24)             $(P)/BlinkenFrameEditor.class $(P)/BlinkenFrameEditorListener.class \
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

25)             $(P)/Blimp.class $(P)/Version.class
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

26) 
27) IMAGE_FILES=$(IMG)/ColorPicker.png $(IMG)/Dot.png $(IMG)/Line.png \
28)             $(IMG)/Rectangle.png $(IMG)/FilledRectangle.png \
29)             $(IMG)/Circle.png $(IMG)/FilledCircle.png \
30)             $(IMG)/Copy.png $(IMG)/Paste.png \
31)             $(IMG)/Invert.png $(IMG)/MirrorHor.png $(IMG)/RollLeft.png \
32)             $(IMG)/Rotate90.png $(IMG)/MirrorVer.png $(IMG)/RollRight.png \
33)             $(IMG)/Rotate180.png $(IMG)/MirrorDiag.png $(IMG)/RollUp.png \
34)             $(IMG)/Rotate270.png $(IMG)/MirrorDiag2.png $(IMG)/RollDown.png \
35)             $(IMG)/Undo.png $(IMG)/Redo.png \
36)             $(IMG)/InsertFrame.png $(IMG)/DuplicateFrame.png $(IMG)/DeleteFrame.png
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

37) 
38) .phony: all clean jar run
39) 
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

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

Christian Heimke authored 13 years ago

41) 
42) clean:
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

43) 	rm -f $(P)/Version.java $(CLASS_FILES) BlinkenLib.jar Blimp.jar
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

44) 
45) jar: Blimp.jar
46) 
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

47) run: Blimp.jar
Stefan Schuermans minor makefile fixes

Stefan Schuermans authored 13 years ago

48) 	$(JAVA) -jar $<
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

49) 
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

50) $(P)/Version.java: Makefile
51) 	echo "package org.blinkenarea.Blimp;" >$@
52) 	echo "public class Version {" >>$@
53) 	echo "  public static int Major = $(VERSION_MAJOR);" >>$@
54) 	echo "  public static int Minor = $(VERSION_MINOR);" >>$@
55) 	echo "  public static int Revision = $(VERSION_REVISION);" >>$@
56) 	echo "}" >>$@
57) 
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

58) %.class: %.java
59) 	$(JAVAC) -classpath $(CLASSPATH) $<
60) 
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

61) Blimp.keystore:
Stefan Schuermans minor makefile fixes

Stefan Schuermans authored 13 years ago

62) 	$(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

63) 
Stefan Schuermans undo inclusion of jar in ja...

Stefan Schuermans authored 13 years ago

64) Blimp.jar: Blimp.mf Blimp.keystore $(CLASS_FILES) $(IMAGE_FILES)
65) 	rm -rf tmp
66) 	mkdir tmp
67) 	for FILE in $(CLASS_FILES) $(IMAGE_FILES); \
68) 	  do \
69) 	    mkdir -p tmp/$$(dirname $$FILE) || exit; \
70) 	    cp $$FILE tmp/$$FILE || exit; \
71) 	  done
72) 	for JAR in $(filter %.jar,$(subst :, ,$(CLASSPATH))); \
73) 	  do \
74) 	    cd tmp; $(JAR) xf ../$$JAR || exit; \
75) 	    rm -rf META-INF; \
76) 	  done
77) 	cd tmp; $(JAR) cmf ../Blimp.mf ../Blimp.jar .
78) 	rm -rf tmp