summaryrefslogtreecommitdiff
path: root/project/extras.mk
blob: e878dc0bb00f1d1608f36a677343ebd5867ed80b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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

src/driver/actions.o:	version.tag
src/driver/actions.lo:	version.tag

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