blob: 09d1048f49244954a661c77d950622ab167c60d1 (
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
33
34
35
36
37
38
39
40
|
# Makefile.am - Makefile template for laden.
# Copyright (C) 2003 Free Software Foundation, Inc.
# Written by Marcus Brinkmann.
#
# This file is part of the GNU Hurd.
#
# The GNU Hurd is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# The GNU Hurd is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
if ARCH_IA32
ARCH_SOURCES = multiboot.h ia32-crt0.S ia32-cmain.c \
ia32-output.c output-vga.c output-serial.c ia32-shutdown.c
endif
noinst_PROGRAMS = laden
laden_CFLAGS = -I$(srcdir) -I$(top_srcdir)/include \
-I$(top_srcdir)/libc-parts $(AM_CFLAGS)
laden_SOURCES = $(ARCH_SOURCES) \
output.h output.c output-none.c \
shutdown.h shutdown.c \
elf.h loader.h loader.c \
laden.h laden.c kip-fixup.c
/* FIXME: Make linkbase configurable. */
laden_LDFLAGS = -u_start -e_start -N -nostdlib -Ttext=0x180000
laden_LDADD = -lgcc ../libc-parts/libc-parts.a
|