f42c8613bf60be35f9f82e4413bb6d5b84f0c62d
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) 
Stefan Schuermans added FlexiPix output

Stefan Schuermans authored 13 years ago

6) BLINKENLIB=../BlinkenLibJava/BlinkenLib.jar
7) JFLEXIPIX=../JFlexiPix/JFlexiPix.jar
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

8) 
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

9) VERSION_MAJOR=1
Stefan Schuermans added MCUF output feature

Stefan Schuermans authored 13 years ago

10) VERSION_MINOR=4
Stefan Schuermans added scrolling text genera...

Stefan Schuermans authored 13 years ago

11) VERSION_REVISION=2
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

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

Christian Heimke authored 13 years ago

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

Christian Heimke authored 13 years ago

19) P=org/blinkenarea/Blimp
20) IMG=$(P)/images
21) 
Stefan Schuermans added FlexiPix output

Stefan Schuermans authored 13 years ago

22) CLASSPATH=.:$(BLINKENLIB):$(JFLEXIPIX)
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

23) CLASS_FILES=$(P)/BlinkenFileFilter.class $(P)/BlinkenFrameDisplay.class \
24)             $(P)/BlinkenFrameDisplayListener.class $(P)/BlinkenFrameDisplayInterceptor.class \
25)             $(P)/BlinkenFrameEditor.class $(P)/BlinkenFrameEditorListener.class \
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

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

Christian Heimke authored 13 years ago

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

Christian Heimke authored 13 years ago

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

Christian Heimke authored 13 years ago

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

Christian Heimke authored 13 years ago

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

Stefan Schuermans authored 13 years ago

44) 	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

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

Christian Heimke authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Christian Heimke authored 13 years ago

50) 
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

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

Christian Heimke authored 13 years ago

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

Christian Heimke authored 13 years ago

62) Blimp.keystore:
Stefan Schuermans minor makefile fixes

Stefan Schuermans authored 13 years ago

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

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

Stefan Schuermans authored 13 years ago

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