File: atomic.make

package info (click to toggle)
mono 1.2.2.1-1etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 142,720 kB
  • ctags: 256,408
  • sloc: cs: 1,495,736; ansic: 249,442; sh: 18,327; xml: 12,463; makefile: 5,046; perl: 1,248; asm: 635; yacc: 285; sql: 7
file content (38 lines) | stat: -rw-r--r-- 1,143 bytes parent folder | download | duplicates (2)
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
33
34
35
36
37
38
# -*- Makefile -*-
#
# The 'atomic' profile.

# In this profile we compile everything relative to the already-installed
# runtime, so we use the bootstrap (external) compiler for everything and
# don't set MONO_PATH.
#
# (So the libraries are compiled and installed atomically, not incrementally.)

MCS = $(BOOTSTRAP_MCS)

# Causes some build errors
#PROFILE_MCS_FLAGS = /d:NET_1_1 /lib:$(prefix)/lib

# Get our installed libraries (an issue on windows)

PROFILE_MCS_FLAGS = /lib:$(prefix)/lib

# Check that installed libraries even exist.

profile-check:
	@if test '!' -f $(prefix)/lib/I18N.dll ; then \
	    echo ; \
	    echo "$(prefix)/lib/I18N.dll does not exist." ; \
	    echo ; \
	    echo "This probably means that you are building from a miniature" ; \
	    echo "distribution of MCS or don't yet have an installed MCS at all." ; \
	    echo "The current build profile needs a complete installation of" ; \
	    echo "MCS to build against; you need to build using the default" ; \
	    echo "profile. Use this command:" ; \
	    echo ; \
	    echo "    $(MAKE) PROFILE=default" ; \
	    echo ; \
	    exit 1 ; \
	fi

# Exciting, no?