Subversion Repositories HelenOS

Rev

Rev 1989 | Rev 2160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1989 Rev 1997
Line 24... Line 24...
24
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
#
27
#
28
 
28
 
-
 
29
include ../../../../version
-
 
30
include ../../../Makefile.config
-
 
31
 
29
## Toolchain configuration
32
## Toolchain configuration
30
#
33
#
31
 
34
 
32
TARGET = sparc64-linux-gnu
35
TARGET = sparc64-linux-gnu
33
TOOLCHAIN_DIR = /usr/local/sparc64/bin
36
TOOLCHAIN_DIR = /usr/local/sparc64/bin
Line 44... Line 47...
44
	LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld
47
	LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld
45
	OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy
48
	OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy
46
	OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump
49
	OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump
47
endif
50
endif
48
 
51
 
49
CFLAGS = -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=ultrasparc -m64
52
CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=ultrasparc -m64
-
 
53
 
-
 
54
ifdef REVISION
-
 
55
	CFLAGS += "-DREVISION=\"$(REVISION)\""
-
 
56
endif
-
 
57
 
-
 
58
ifdef TIMESTAMP
-
 
59
	CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\""
-
 
60
endif
50
 
61
 
51
SOURCES = \
62
SOURCES = \
52
	main.c \
63
	main.c \
53
	../../../generic/printf.c \
64
	../../../generic/printf.c \
54
	../../../generic/string.c \
65
	../../../generic/string.c \