summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/arch.mk0
-rw-r--r--project/common.mk3
-rw-r--r--project/depends.mk0
-rw-r--r--project/extras.mk34
-rw-r--r--project/headers.mk5
-rw-r--r--project/overrides.mk0
-rw-r--r--project/tagver.mk5
-rw-r--r--project/tree.mk4
8 files changed, 51 insertions, 0 deletions
diff --git a/project/arch.mk b/project/arch.mk
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/project/arch.mk
diff --git a/project/common.mk b/project/common.mk
new file mode 100644
index 0000000..d19f30c
--- /dev/null
+++ b/project/common.mk
@@ -0,0 +1,3 @@
+COMMON_SRCS = \
+
+APP_SRCS = \
diff --git a/project/depends.mk b/project/depends.mk
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/project/depends.mk
diff --git a/project/extras.mk b/project/extras.mk
new file mode 100644
index 0000000..c0415f8
--- /dev/null
+++ b/project/extras.mk
@@ -0,0 +1,34 @@
+CFLAGS_PATH += -I$(PROJECT_DIR)/include/cparser
+CFLAGS_PATH += -I$(PROJECT_DIR)/include/cparser/adt
+CFLAGS_PATH += -I$(PROJECT_DIR)/include/cparser/ast
+CFLAGS_PATH += -I$(PROJECT_DIR)/include/cparser/driver
+CFLAGS_PATH += -I$(PROJECT_DIR)/include/cparser/firm
+CFLAGS_PATH += -I$(PROJECT_DIR)/include/cparser/parser
+CFLAGS_PATH += -I$(PROJECT_DIR)/include/cparser/wrappergen
+
+install-headers-custom:
+ mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
+ mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/adt
+ mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/ast
+ mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/driver
+ mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/firm
+ mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/parser
+ mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/wrappergen
+
+ cp $(PROJECT_DIR)/include/cparser/adt/*.h \
+ $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/adt
+
+ cp $(PROJECT_DIR)/include/cparser/ast/*.h \
+ $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/ast
+
+ cp $(PROJECT_DIR)/include/cparser/driver/*.h \
+ $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/driver
+
+ cp $(PROJECT_DIR)/include/cparser/firm/*.h \
+ $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/firm
+
+ cp $(PROJECT_DIR)/include/cparser/parser/*.h \
+ $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/parser
+
+ cp $(PROJECT_DIR)/include/cparser/wrappergen/*.h \
+ $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/wrappergen
diff --git a/project/headers.mk b/project/headers.mk
new file mode 100644
index 0000000..9d50ee3
--- /dev/null
+++ b/project/headers.mk
@@ -0,0 +1,5 @@
+API_HEADERS = \
+
+INTERNAL_HEADERS = \
+
+ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS)
diff --git a/project/overrides.mk b/project/overrides.mk
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/project/overrides.mk
diff --git a/project/tagver.mk b/project/tagver.mk
new file mode 100644
index 0000000..3af5070
--- /dev/null
+++ b/project/tagver.mk
@@ -0,0 +1,5 @@
+VER_NAMESPACE = CPARSER
+
+VER_MAJOR = 0
+VER_MINOR = 0
+VER_PATCH = 0
diff --git a/project/tree.mk b/project/tree.mk
new file mode 100644
index 0000000..4d698e4
--- /dev/null
+++ b/project/tree.mk
@@ -0,0 +1,4 @@
+tree.tag:
+ mkdir -p src
+ mkdir -p src/driver
+ touch tree.tag