tests/GtkView.vala
[app.Builder.js] / Makefile
1
2 #vapigen --library gobject-introspection-1.0 /usr/share/gir-1.0/GIRepository-2.0.gir
3
4
5 PKGS=   --pkg gtk+-3.0 \
6                 --pkg gtksourceview-3.0 \
7                 --pkg libxml-2.0 \
8                 --pkg json-glib-1.0 \
9                 --pkg gee-1.0 \
10                 --pkg gobject-introspection-1.0 \
11                 --pkg webkit2gtk-3.0 \
12                 --pkg clutter-gtk-1.0 \
13                 --pkg gladeui-2.0 \
14                 --pkg libsoup-2.4
15
16
17 FLAGS= -g --vapidir=. 
18
19 CORESRC=        JsRender/*.vala \
20                 Project/*.vala \
21                 Palete/*.vala \
22                 Builder4/Application.vala
23
24 BUILDER4=   Builder4/About.vala \
25                 Builder4/DialogConfirm.vala \
26                 Builder4/DialogNewComponent.vala \
27                 Builder4/StandardErrorDialog.vala \
28                 Builder4/DialogSaveTemplate.vala \
29                 Builder4/DialogSaveModule.vala \
30                 Builder4/DialogTemplateSelect.vala \
31                 Builder4/EditProject.vala \
32                 Builder4/Editor.vala \
33                 Builder4/ProjectSettings.vala \
34                 Builder4/WindowRightPalete.vala \
35                 Builder4/WindowLeftTree.vala \
36                 Builder4/WindowRooView.vala \
37                 Builder4/WindowLeftProps.vala \
38                 Builder4/ClutterFiles.vala \
39                 Builder4/WindowLeftProjects.vala \
40                 Builder4/WindowAddProp.vala \
41                 Builder4/GladeView.vala \
42                 Builder4/MainWindow.vala \
43                 
44
45 # compile what... for testing 
46 #all:  builder4
47 #all: test-leftprops
48 #all: test-palate
49 #all: test-addprops
50 #all: test-glade
51 all: test-gtkview
52 #all: test-vala
53 #all: test-gir
54
55
56 builder4:
57         valac $(FLAGS) $(PKGS) $(CORESRC) $(BUILDER4)  \
58                 Builder4/Main.vala  -o /tmp/Builder4
59
60 #-- tests 
61  
62 test-leftprops:
63         valac $(FLAGS) $(PKGS) $(CORESRC) \
64                         tests/TestLeftProps.vala \
65                         Builder4/WindowLeftProps.vala \
66                         -o /tmp/test-leftprops
67
68 test-palate:
69         valac $(FLAGS) $(PKGS) $(CORESRC)  \
70                 Builder4/WindowRightPalete.vala \
71                 tests/PaleteTest.vala -o /tmp/test-palete
72
73 test-glade:
74         valac $(FLAGS) $(PKGS) $(CORESRC)  \
75                 Builder4/GladeView.vala \
76                 tests/GladeTest.vala -o /tmp/test-glade
77
78
79 test-gtkview:
80         valac $(FLAGS) $(PKGS) $(CORESRC)  \
81                 Builder4/GtkView.vala \
82                 tests/GtkView.vala -o /tmp/test-gtkview
83
84
85 test-addprops:
86         valac $(FLAGS) $(PKGS) $(CORESRC)  \
87                 Builder4/WindowAddProp.vala \
88                 tests/AddPropTest.vala -o /tmp/test-addprops
89
90 test-vala: 
91         valac $(FLAGS) $(PKGS) $(CORESRC)  \
92                 Builder4/WindowAddProp.vala \
93                 tests/ValaTest.vala -o /tmp/test-vala
94
95 test-gir: 
96         valac $(FLAGS) $(PKGS) $(CORESRC)  \
97                 tests/GirTest.vala -o /tmp/test-gir
98
99
100 #fixme -- old...
101 datatest:
102          valac $(FLAGS) $(PKGS) $(CORESRC) \
103                 Test.GtkWriter.vala -o /tmp/test-data
104
105
106 clean:
107         rm -f /tmp/Builder4
108         rm -f /tmp/test-leftprops