Blame project/extras.mk

f98ae1
include $(PROJECT_DIR)/project/codegen.mk
1d2261
69cb3d
LIBFIRM        = libfirm
69cb3d
7fc87c
CFLAGS_CONFIG += -DHAVE_FIRM_REVISION_H
7fc87c
a70869
CFLAGS_DEBUG  += -DDEBUG_libfirm
a70869
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/include/libfirm
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/include/libfirm/adt
1d2261
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/adt
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/ana
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/common
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/ident
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/ir
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/kaps
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/libcore
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/lower
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/lpp
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/obstack
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/opt
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/stat
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/tr
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/tv
1d2261
1d2261
CFLAGS_COMMON += -Ibuild/gen/include/libfirm
1d2261
CFLAGS_COMMON += -Ibuild/gen/ir/ir
1d2261
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/arm
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/amd64
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/ia32
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/sparc
1d2261
CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/TEMPLATE
1d2261
1d2261
CFLAGS_COMMON += -Ibuild/gen/ir/be/arm
1d2261
CFLAGS_COMMON += -Ibuild/gen/ir/be/amd64
1d2261
CFLAGS_COMMON += -Ibuild/gen/ir/be/ia32
1d2261
CFLAGS_COMMON += -Ibuild/gen/ir/be/sparc
1d2261
CFLAGS_COMMON += -Ibuild/gen/ir/be/TEMPLATE
69cb3d
69cb3d
install-headers-custom:
69cb3d
		mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(LIBFIRM)
69cb3d
		mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(LIBFIRM)/adt
69cb3d
5d3419
		cp $(SOURCE_DIR)/COPYING \
5d3419
		   $(DESTDIR)$(INCLUDEDIR)/$(LIBFIRM)/COPYING.LIBFIRM
5d3419
5d3419
		cp $(SOURCE_DIR)/README.md \
5d3419
		   $(DESTDIR)$(INCLUDEDIR)/$(LIBFIRM)/README
5d3419
69cb3d
		cp build/gen/include/$(LIBFIRM)/*.h \
69cb3d
		   $(DESTDIR)$(INCLUDEDIR)/$(LIBFIRM)
69cb3d
69cb3d
		cp $(API_HEADERS) \
69cb3d
		   $(DESTDIR)$(INCLUDEDIR)/$(LIBFIRM)
69cb3d
69cb3d
		cp $(ADT_HEADERS) \
69cb3d
		   $(DESTDIR)$(INCLUDEDIR)/$(LIBFIRM)/adt