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

Christian Heimke authored 13 years ago

1) # BlinkenLightsInteractiveMovieProgram
Stefan Schuermans bump version, update copyri...

Stefan Schuermans authored 6 years ago

2) # Copyright (C) 2004-2018: Stefan Schuermans <stefan@blinkenarea.org>
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 fix dependencies in Makefil...

Stefan Schuermans authored 10 years ago

6) BLINKENLIB:=../BlinkenLibJava/BlinkenLib.jar
Stefan Schuermans rename FlexiPix to EtherPix

Stefan Schuermans authored 7 years ago

7) JETHERPIX:=../JEtherPix/JEtherPix.jar
Stefan Schuermans fix dependencies in Makefil...

Stefan Schuermans authored 10 years ago

8) 
9) VERSION_MAJOR:=1
Stefan Schuermans template support, add Chaos...

Stefan Schuermans authored 5 years ago

10) VERSION_MINOR:=5
11) VERSION_REVISION:=0
Stefan Schuermans fix dependencies in Makefil...

Stefan Schuermans authored 10 years ago

12) 
13) JAVAC:=javac
14) JAR:=jar
15) KEYTOOL:=keytool
16) JARSIGNER:=jarsigner
17) KEYPASS:=BlinkenLightsInteractiveMovieProgram
18) JAVA:=java
19) P:=org/blinkenarea/Blimp
20) IMG:=$(P)/images
21) 
22) GENJAVA:=$(P)/Version.java
23) 
Stefan Schuermans rename FlexiPix to EtherPix

Stefan Schuermans authored 7 years ago

24) CLASSPATH:=.:$(BLINKENLIB):$(JETHERPIX)
Stefan Schuermans fix dependencies in Makefil...

Stefan Schuermans authored 10 years ago

25) 
Stefan Schuermans template support, add Chaos...

Stefan Schuermans authored 5 years ago

26) CLASS_FILES:=$(P)/BlinkenFileFilter.class \
27)              $(P)/BlinkenFrameDisplay.class \
28)              $(P)/BlinkenFrameDisplayListener.class \
29)              $(P)/BlinkenFrameDisplayInterceptor.class \
30)              $(P)/BlinkenFrameEditor.class \
31)              $(P)/BlinkenFrameEditorListener.class \
32)              $(P)/Blimp.class \
33)              $(P)/FrameTemplateChaosknoten.class \
34)              $(P)/FrameTemplateIf.class \
35)              $(P)/FrameTemplatePixelLists.class \
36)              $(P)/Version.class
37) 
38) NESTED_CLASS_FILES:=$(P)/FrameTemplatePixelLists$$ContentPixel.class \
39)                     $(P)/FrameTemplatePixelLists$$CopyPixel.class \
40)                     $(P)/FrameTemplatePixelLists$$FixedPixel.class
Stefan Schuermans fix dependencies in Makefil...

Stefan Schuermans authored 10 years ago

41) 
42) IMAGE_FILES:=$(IMG)/ColorPicker.png $(IMG)/Dot.png $(IMG)/Line.png \
43)              $(IMG)/Rectangle.png $(IMG)/FilledRectangle.png \
44)              $(IMG)/Circle.png $(IMG)/FilledCircle.png \
45)              $(IMG)/Copy.png $(IMG)/Paste.png \
46)              $(IMG)/Invert.png $(IMG)/MirrorHor.png $(IMG)/RollLeft.png \
47)              $(IMG)/Rotate90.png $(IMG)/MirrorVer.png $(IMG)/RollRight.png \
48)              $(IMG)/Rotate180.png $(IMG)/MirrorDiag.png $(IMG)/RollUp.png \
49)              $(IMG)/Rotate270.png $(IMG)/MirrorDiag2.png $(IMG)/RollDown.png \
50)              $(IMG)/Undo.png $(IMG)/Redo.png \
51)              $(IMG)/InsertFrame.png $(IMG)/DuplicateFrame.png $(IMG)/DeleteFrame.png
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

52) 
53) .phony: all clean jar run
54) 
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

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

Christian Heimke authored 13 years ago

56) 
57) clean:
Stefan Schuermans template support, add Chaos...

Stefan Schuermans authored 5 years ago

58) 	rm -f $(P)/Version.java $(CLASS_FILES) \
59)               $(subst $$,\$$,$(NESTED_CLASS_FILES)) \
60)               BlinkenLib.jar Blimp.jar
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

61) 
62) jar: Blimp.jar
63) 
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Christian Heimke authored 13 years ago

66) 
Stefan Schuermans version available in class...

Stefan Schuermans authored 13 years ago

67) $(P)/Version.java: Makefile
68) 	echo "package org.blinkenarea.Blimp;" >$@
69) 	echo "public class Version {" >>$@
70) 	echo "  public static int Major = $(VERSION_MAJOR);" >>$@
71) 	echo "  public static int Minor = $(VERSION_MINOR);" >>$@
72) 	echo "  public static int Revision = $(VERSION_REVISION);" >>$@
73) 	echo "}" >>$@
74) 
Stefan Schuermans fix dependencies in Makefil...

Stefan Schuermans authored 10 years ago

75) %.class: %.java $(GENJAVA)
Christian Heimke Blimp v.1.3 (2006-10-10)

Christian Heimke authored 13 years ago

76) 	$(JAVAC) -classpath $(CLASSPATH) $<
77) 
Christian Heimke Blimp v.0.2 (2004-11-10)

Christian Heimke authored 13 years ago

78) Blimp.keystore:
Stefan Schuermans minor makefile fixes

Stefan Schuermans authored 13 years ago

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

80) 
Stefan Schuermans template support, add Chaos...

Stefan Schuermans authored 5 years ago

81) Blimp.jar: Blimp.mf Blimp.keystore \
82)            $(CLASS_FILES) $(NESTED_CLASS_FILES) $(IMAGE_FILES)
Stefan Schuermans undo inclusion of jar in ja...

Stefan Schuermans authored 13 years ago

83) 	rm -rf tmp
84) 	mkdir tmp
Stefan Schuermans template support, add Chaos...

Stefan Schuermans authored 5 years ago

85) 	for FILE in $(CLASS_FILES) $(subst $$,\$$,$(NESTED_CLASS_FILES)) \
86) 	            $(IMAGE_FILES); \
Stefan Schuermans undo inclusion of jar in ja...

Stefan Schuermans authored 13 years ago

87) 	  do \
Stefan Schuermans template support, add Chaos...

Stefan Schuermans authored 5 years ago

88) 	    mkdir -p "tmp/$$(dirname "$$FILE")" || exit; \
89) 	    cp "$$FILE" "tmp/$$FILE" || exit; \
Stefan Schuermans undo inclusion of jar in ja...

Stefan Schuermans authored 13 years ago

90) 	  done
91) 	for JAR in $(filter %.jar,$(subst :, ,$(CLASSPATH))); \
Stefan Schuermans fix error message in buildi...

Stefan Schuermans authored 13 years ago

92) 	  do ( \
93) 	    cd tmp || exit; \
94) 	    $(JAR) xf ../$$JAR || exit; \
Stefan Schuermans undo inclusion of jar in ja...

Stefan Schuermans authored 13 years ago

95) 	    rm -rf META-INF; \
Stefan Schuermans fix error message in buildi...

Stefan Schuermans authored 13 years ago

96) 	  ) done
Stefan Schuermans undo inclusion of jar in ja...

Stefan Schuermans authored 13 years ago

97) 	cd tmp; $(JAR) cmf ../Blimp.mf ../Blimp.jar .
98) 	rm -rf tmp