Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Build infrastructure #4

Merged
merged 6 commits into from

2 participants

@npalix

Hi,

This patch set adds a top-level Makefile and some .gitignore files.
The executable right is granted to some python code used during the build phase.

Regards,

@skyhover
Owner

Thanks! The executable bits were lost when I transfer/edit files through Windows...

@skyhover skyhover merged commit 0f55c4a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
4 .gitignore
@@ -0,0 +1,4 @@
+*.o
+*.d
+*.a
+*.pyc
View
12 Makefile
@@ -0,0 +1,12 @@
+
+.PHONY: all src/main
+
+all: src/main
+
+src/main: src/vgen/treeTra/libvgen.a src/ptgen/gcc/gccptgen.a src/ptgen/java/javaptgen.a src/ptgen/php5/phpptgen.a
+ $(MAKE) -C $@
+
+src/vgen/treeTra/libvgen.a src/ptgen/gcc/gccptgen.a src/ptgen/java/javaptgen.a src/ptgen/php5/phpptgen.a:
+ $(MAKE) -C `dirname $@`
+
+
View
12 src/main/.gitignore
@@ -0,0 +1,12 @@
+*.o
+cParseTreeMain
+cbugfilters
+cvecgen
+jParseTreeMain
+jbugfilters
+jvecgen
+out2html
+out2xml
+phpParseTreeMain
+phpbugfilters
+phpvecgen
View
5 src/ptgen/gcc/.gitignore
@@ -0,0 +1,5 @@
+head.cc
+lex.yy.cc
+pt_c.tab.cc
+pt_c.tab.hh
+pt_c.y
View
0  src/ptgen/gcc/mainc.py 100644 → 100755
File mode changed
View
5 src/ptgen/java/.gitignore
@@ -0,0 +1,5 @@
+head.cc
+lex.yy.cc
+pt_j.tab.cc
+pt_j.tab.hh
+pt_j.y
View
0  src/ptgen/java/mainj.py 100644 → 100755
File mode changed
View
6 src/ptgen/php5/.gitignore
@@ -0,0 +1,6 @@
+head.cc
+head.cc-e
+lex.yy.cc
+pt_zend_language_parser.tab.cc
+pt_zend_language_parser.tab.hh
+pt_zend_language_parser.y
View
2  src/ptgen/php5/Makefile
@@ -60,7 +60,7 @@ lex.yy.cc: zend_language_scanner.l pt_zend_language_parser.tab.cc
head.cc pt_zend_language_parser.y: zend_language_parser.y zend_language_parser.y.head zend_language_parser.y.foot
./mainphp.py zend_language_parser.y
- sed -i "s/'\"'/'\\\\\"'/" head.cc
+ sed -i -e "s/'\"'/'\\\\\"'/" head.cc
.PHONY: clean
clean:
View
0  src/ptgen/php5/mainphp.py 100644 → 100755
File mode changed
Something went wrong with that request. Please try again.