2004-09-04 19:48:50 +00:00
|
|
|
##===- projects/Stacker/lib/stkrc/Makefile -----------------*- Makefile -*-===##
|
2003-11-23 18:01:26 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Indicate where we are relative to the top of the source tree.
|
|
|
|
#
|
2004-09-04 19:48:50 +00:00
|
|
|
LEVEL=../..
|
2003-11-23 18:01:26 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Give the name of a library. This will build a dynamic version.
|
|
|
|
#
|
|
|
|
TOOLNAME=stkrc
|
2004-09-04 19:48:50 +00:00
|
|
|
LLVMLIBS= asmparser bcwriter transforms ipo.a ipa.a \
|
2004-09-04 19:05:53 +00:00
|
|
|
scalaropts analysis.a target.a transformutils \
|
|
|
|
vmcore support.a LLVMsystem.a
|
2004-09-04 19:48:50 +00:00
|
|
|
USEDLIBS=stkr_compiler
|
2004-09-04 19:05:53 +00:00
|
|
|
|
2003-11-23 18:01:26 +00:00
|
|
|
|
|
|
|
ifdef PARSE_DEBUG
|
|
|
|
CPPFLAGS = -DPARSE_DEBUG=1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef FLEX_DEBUG
|
|
|
|
CPPFLAGS += -DFLEX_DEBUG=1
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Include Makefile.common so we know what to do.
|
|
|
|
#
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|