2 #vapigen --library gobject-introspection-1.0 /usr/share/gir-1.0/GIRepository-2.0.gir
4 # should get the hightest?
5 VALAVER=$(word 1, $(shell pkg-config --list-all | grep libvala | sort -n -r | head -1))
8 --pkg gtksourceview-3.0 \
12 --pkg gobject-introspection-1.0 \
13 --pkg webkit2gtk-3.0 \
14 --pkg clutter-gtk-1.0 \
17 --pkg javascriptcore \
22 FLAGS= -g --vapidir=./vapi
24 CORESRC= JsRender/*.vala \
27 Builder4/Application.vala
29 BUILDER4= Builder4/About.vala \
30 Builder4/DialogConfirm.vala \
31 Builder4/DialogNewComponent.vala \
32 Builder4/StandardErrorDialog.vala \
33 Builder4/DialogSaveTemplate.vala \
34 Builder4/DialogSaveModule.vala \
35 Builder4/DialogTemplateSelect.vala \
36 Builder4/EditProject.vala \
37 Builder4/Editor.vala \
38 Builder4/ProjectSettings.vala \
39 Builder4/WindowRightPalete.vala \
40 Builder4/WindowLeftTree.vala \
41 Builder4/WindowRooView.vala \
42 Builder4/WindowLeftProps.vala \
43 Builder4/ClutterFiles.vala \
44 Builder4/WindowLeftProjects.vala \
45 Builder4/WindowAddProp.vala \
46 Builder4/GtkView.vala \
47 Builder4/ValaProjectSettings.vala \
48 Builder4/MainWindow.vala \
50 # Builder4/GladeView.vala \
53 # compile what... for testing
63 #all: test-codevalidate
66 valac $(FLAGS) $(PKGS) $(CORESRC) $(BUILDER4) \
67 Builder4/Main.vala -o /tmp/Builder4
72 valac $(FLAGS) $(PKGS) $(CORESRC) \
73 tests/TestLeftProps.vala \
74 Builder4/WindowLeftProps.vala \
75 -o /tmp/test-leftprops
78 valac $(FLAGS) $(PKGS) $(CORESRC) \
79 Builder4/WindowRightPalete.vala \
80 tests/PaleteTest.vala -o /tmp/test-palete
83 valac $(FLAGS) $(PKGS) $(CORESRC) \
84 Builder4/GladeView.vala \
85 tests/GladeTest.vala -o /tmp/test-glade
89 valac $(FLAGS) $(PKGS) $(CORESRC) \
90 Builder4/GtkView.vala \
91 tests/GtkView.vala -o /tmp/test-gtkview
95 valac $(FLAGS) $(PKGS) $(CORESRC) \
96 Builder4/WindowAddProp.vala \
97 tests/AddPropTest.vala -o /tmp/test-addprops
100 valac $(FLAGS) $(PKGS) $(CORESRC) \
101 Builder4/WindowAddProp.vala \
102 tests/ValaTest.vala -o /tmp/test-vala
105 valac $(FLAGS) $(PKGS) $(CORESRC) \
106 tests/GirTest.vala -o /tmp/test-gir
109 valac $(FLAGS) $(PKGS) $(CORESRC) \
110 tests/PackTest.vala -o /tmp/test-pack
113 valac $(FLAGS) $(PKGS) $(CORESRC) \
114 tests/JsCoreTest.vala -o /tmp/test-codevalidate
119 valac $(FLAGS) $(PKGS) $(CORESRC) \
120 Test.GtkWriter.vala -o /tmp/test-data
125 rm -f /tmp/test-leftprops