resources/RooUsage.txt
[app.Builder.js] / Makefile.simple
1
2 #vapigen --library gobject-introspection-1.0 /usr/share/gir-1.0/GIRepository-2.0.gir
3
4 # should get the hightest?
5 VALAVER=$(word 1, $(shell pkg-config --list-all  | grep libvala | sort -n -r | head -1))
6
7 PKGS=   --pkg gtk+-3.0 \
8                 --pkg gtksourceview-3.0 \
9                 --pkg libxml-2.0 \
10                 --pkg json-glib-1.0 \
11                 --pkg gee-1.0 \
12                 --pkg gobject-introspection-1.0 \
13                 --pkg webkit2gtk-3.0 \
14                 --pkg clutter-gtk-1.0 \
15                 --pkg gladeui-2.0 \
16                 --pkg libsoup-2.4 \
17                 --pkg javascriptcore  \
18                 --pkg  vte-2.90  \
19                 --pkg ${VALAVER}  \
20                 --pkg posix \
21
22 FLAGS= -g --vapidir=./vapi 
23
24 CORESRC=        JsRender/*.vala \
25                 Project/*.vala \
26                 Palete/*.vala \
27                 Builder4/Application.vala
28
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 \
49                 
50 #              Builder4/GladeView.vala \
51
52
53 # compile what... for testing 
54 all:  builder4
55 #all: test-leftprops
56 #all: test-palate
57 #all: test-addprops
58 #all: test-glade
59 #all: test-gtkview
60 #all: test-vala
61 #all: test-gir
62 #all: test-pack
63 #all: test-codevalidate
64
65 builder4:
66         valac $(FLAGS) $(PKGS) $(CORESRC) $(BUILDER4)  \
67                 Builder4/Main.vala  -o /tmp/Builder4
68
69 #-- tests 
70  
71 test-leftprops:
72         valac $(FLAGS) $(PKGS) $(CORESRC) \
73                         tests/TestLeftProps.vala \
74                         Builder4/WindowLeftProps.vala \
75                         -o /tmp/test-leftprops
76
77 test-palate:
78         valac $(FLAGS) $(PKGS) $(CORESRC)  \
79                 Builder4/WindowRightPalete.vala \
80                 tests/PaleteTest.vala -o /tmp/test-palete
81
82 test-glade:
83         valac $(FLAGS) $(PKGS) $(CORESRC)  \
84                 Builder4/GladeView.vala \
85                 tests/GladeTest.vala -o /tmp/test-glade
86
87
88 test-gtkview:
89         valac $(FLAGS) $(PKGS) $(CORESRC)  \
90                 Builder4/GtkView.vala \
91                 tests/GtkView.vala -o /tmp/test-gtkview
92
93
94 test-addprops:
95         valac $(FLAGS) $(PKGS) $(CORESRC)  \
96                 Builder4/WindowAddProp.vala \
97                 tests/AddPropTest.vala -o /tmp/test-addprops
98
99 test-vala: 
100         valac $(FLAGS) $(PKGS) $(CORESRC)  \
101                 Builder4/WindowAddProp.vala \
102                 tests/ValaTest.vala -o /tmp/test-vala
103
104 test-gir: 
105         valac $(FLAGS) $(PKGS) $(CORESRC)  \
106                 tests/GirTest.vala -o /tmp/test-gir
107
108 test-pack: 
109         valac $(FLAGS) $(PKGS) $(CORESRC)  \
110                 tests/PackTest.vala -o /tmp/test-pack
111
112 test-codevalidate:
113         valac $(FLAGS) $(PKGS) $(CORESRC)  \
114                 tests/JsCoreTest.vala -o /tmp/test-codevalidate
115
116
117 #fixme -- old...
118 datatest:
119          valac $(FLAGS) $(PKGS) $(CORESRC) \
120                 Test.GtkWriter.vala -o /tmp/test-data
121
122
123 clean:
124         rm -f /tmp/Builder4
125         rm -f /tmp/test-leftprops