configure.ac
[app.Builder.js] / Makefile
index 5d8fad8..3512554 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
 
 #vapigen --library gobject-introspection-1.0 /usr/share/gir-1.0/GIRepository-2.0.gir
 
+# should get the hightest?
+VALAVER=$(word 1, $(shell pkg-config --list-all  | grep libvala | sort -n -r | head -1))
 
 PKGS=   --pkg gtk+-3.0 \
                --pkg gtksourceview-3.0 \
@@ -9,12 +11,17 @@ PKGS=   --pkg gtk+-3.0 \
                --pkg gee-1.0 \
                --pkg gobject-introspection-1.0 \
                --pkg webkit2gtk-3.0 \
-               --pkg clutter-gtk-1.0
+               --pkg clutter-gtk-1.0 \
+               --pkg gladeui-2.0 \
+               --pkg libsoup-2.4 \
+               --pkg javascriptcore  \
+               --pkg  vte-2.90  \
+               --pkg ${VALAVER}  \
+               --pkg posix \
 
+FLAGS= -g --vapidir=./vapi 
 
-FLAGS= -g --vapidir=. 
-
-CORESRC= JsRender/*.vala \
+CORESRC=        JsRender/*.vala \
                Project/*.vala \
                Palete/*.vala \
                Builder4/Application.vala
@@ -24,11 +31,11 @@ BUILDER4=   Builder4/About.vala \
                Builder4/DialogNewComponent.vala \
                Builder4/StandardErrorDialog.vala \
                Builder4/DialogSaveTemplate.vala \
+               Builder4/DialogSaveModule.vala \
                Builder4/DialogTemplateSelect.vala \
                Builder4/EditProject.vala \
                Builder4/Editor.vala \
                Builder4/ProjectSettings.vala \
-               Builder4/MainWindow.vala \
                Builder4/WindowRightPalete.vala \
                Builder4/WindowLeftTree.vala \
                Builder4/WindowRooView.vala \
@@ -36,14 +43,24 @@ BUILDER4=   Builder4/About.vala \
                Builder4/ClutterFiles.vala \
                Builder4/WindowLeftProjects.vala \
                Builder4/WindowAddProp.vala \
+               Builder4/GtkView.vala \
+               Builder4/ValaProjectSettings.vala \
+               Builder4/MainWindow.vala \
+               
+#             Builder4/GladeView.vala \
 
 
 # compile what... for testing 
-#all:  builder4
+all:  builder4
 #all: test-leftprops
 #all: test-palate
 #all: test-addprops
 #all: test-glade
+#all: test-gtkview
+#all: test-vala
+#all: test-gir
+#all: test-pack
+#all: test-codevalidate
 
 builder4:
        valac $(FLAGS) $(PKGS) $(CORESRC) $(BUILDER4)  \
@@ -68,12 +85,35 @@ test-glade:
                tests/GladeTest.vala -o /tmp/test-glade
 
 
+test-gtkview:
+       valac $(FLAGS) $(PKGS) $(CORESRC)  \
+               Builder4/GtkView.vala \
+               tests/GtkView.vala -o /tmp/test-gtkview
+
 
 test-addprops:
        valac $(FLAGS) $(PKGS) $(CORESRC)  \
                Builder4/WindowAddProp.vala \
                tests/AddPropTest.vala -o /tmp/test-addprops
 
+test-vala: 
+       valac $(FLAGS) $(PKGS) $(CORESRC)  \
+               Builder4/WindowAddProp.vala \
+               tests/ValaTest.vala -o /tmp/test-vala
+
+test-gir: 
+       valac $(FLAGS) $(PKGS) $(CORESRC)  \
+               tests/GirTest.vala -o /tmp/test-gir
+
+test-pack: 
+       valac $(FLAGS) $(PKGS) $(CORESRC)  \
+               tests/PackTest.vala -o /tmp/test-pack
+
+test-codevalidate:
+       valac $(FLAGS) $(PKGS) $(CORESRC)  \
+               tests/JsCoreTest.vala -o /tmp/test-codevalidate
+
+
 #fixme -- old...
 datatest:
         valac $(FLAGS) $(PKGS) $(CORESRC) \