2009-10-21 Jb Evain <jbevain@novell.com>
[mcs.git] / build / platforms / linux.make
blob4776c15fe044ce7759eb98dba43a27596c3347a5
1 # -*- makefile -*-
3 # Platform-specific makefile rules. This one's for linux.
6 PLATFORM_DEBUG_FLAGS = -debug
7 PLATFORM_MCS_FLAGS = -optimize
8 PLATFORM_RUNTIME = $(RUNTIME)
9 PLATFORM_CORLIB = mscorlib.dll
10 PLATFORM_TEST_HARNESS_EXCLUDES =
12 EXTERNAL_MCS = gmcs
13 EXTERNAL_MBAS = mbas
14 EXTERNAL_RUNTIME = mono
15 RESGEN = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_RESGEN)
16 #ILDISASM = monodis
17 ILDISASM = false
19 PLATFORM_PATH_SEPARATOR = :
21 # Define this if this ever will work on Linux
22 # PLATFORM_MAKE_CORLIB_CMP = yes
24 # This is for changing / to \ on windows
25 PLATFORM_CHANGE_SEPARATOR_CMD = cat
27 PLATFORM_AOT_SUFFIX = .so
29 hidden_prefix = .
30 hidden_suffix =
32 platform-check:
34 # I tried this but apparently Make's version strings aren't that
35 # ... consistent between releases. Whatever.
37 # @if ! $(MAKE) --version |grep '^GNU Make version 3' 1>/dev/null 2>&1 ; then \
38 # echo "*** You need to build MCS with GNU make. Try \`gmake'" ; \
39 # exit 1 ; \
40 # fi