AM_CXXFLAGS = $(LLVM_CXXFLAGS) $(GLIB_CFLAGS)
-if PLATFORM_WIN32
+if HOST_WIN32
export HOST_CC
# The mingw math.h has "extern inline" functions that dont appear in libs, so
# optimisation is required to actually inline them
monobinldflags=-Wl,-version-script=$(srcdir)/ldscript.mono $(export_ldflags)
endif
-if PLATFORM_WIN32
+if HOST_WIN32
libmono_la_LDFLAGS=-no-undefined -avoid-version -Wl,--kill-at $(monoldflags)
else
libmono_la_LDFLAGS=$(monoldflags)
if JIT_SUPPORTED
-if PLATFORM_WIN32
+if HOST_WIN32
bin_PROGRAMS = mono monow
else
bin_PROGRAMS = mono
endif
# Create monow.exe, linked for the 'windows' subsystem
-if PLATFORM_WIN32
+if HOST_WIN32
monow_LDADD = $(mono_LDADD)
monow_LDFLAGS = $(mono_LDFLAGS) -mwindows
monow_SOURCES = $(mono_SOURCES)
arch_define=__hppa__
endif
-if PLATFORM_WIN32
+if HOST_WIN32
os_sources = $(windows_sources)
monobin_platform_ldflags=
endif
endif
CLEANFILES= $(BUILT_SOURCES) *.exe *.dll
-EXTRA_DIST = $(common_BURGSRC) cprop.c TestDriver.cs ldscript ldscript.mono \
+EXTRA_DIST = $(common_BURGSRC) TestDriver.cs ldscript ldscript.mono \
genmdesc.pl \
$(test_sources) \
$(x86_sources) cpu-x86.md \