summaryrefslogtreecommitdiff
path: root/projects/Stacker/tools/stkrc/Makefile
blob: 99f04471f40c77d46ec675b9b1054f8d2edfad52 (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
##===- projects/Stacker/lib/stkrc/Makefile -----------------*- Makefile -*-===##

#
# Indicate where we are relative to the top of the source tree.
#
LEVEL=../..

#
# Give the name of a library.  This will build a dynamic version.
#
TOOLNAME = stkrc
LLVMLIBS = LLVMAsmParser LLVMBCWriter LLVMTransforms LLVMipo.a LLVMipa.a \
	   LLVMScalarOpts LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils \
	   LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a 
CONFIG_FILES = st
EXTRA_DIST = st
USEDLIBS=stkr_compiler 


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