1 |
# Copyright (C) 1997,99,2001 Free Software Foundation, Inc. |
# Copyright (C) 1997,99,2001,02 Free Software Foundation, Inc. |
2 |
# This file is part of the GNU Hurd. |
# This file is part of the GNU Hurd. |
3 |
# |
# |
4 |
# The GNU Hurd is free software; you can redistribute it and/or modify |
# The GNU Hurd is free software; you can redistribute it and/or modify |
18 |
dir := serverboot |
dir := serverboot |
19 |
makemode := utility |
makemode := utility |
20 |
|
|
21 |
SRCS = bootstrap.c ffs_compat.c load.c wiring.c def_pager_setup.c \ |
SRCS = bootstrap.c ffs_compat.c load.c wiring.c \ |
22 |
ffs_file_io.c minix_ffs_compat.c default_pager.c file_io.c\ |
ffs_file_io.c minix_ffs_compat.c file_io.c\ |
23 |
minix_file_io.c ext2_file_io.c kalloc.c strfcns.c exec.c \ |
minix_file_io.c ext2_file_io.c strfcns.c exec.c \ |
24 |
panic.c elf-load.c gunzip.c bunzip2.c |
panic.c elf-load.c gunzip.c bunzip2.c |
25 |
LCLHDRS = assert.h disk_inode_ffs.h fs.h queue.h defs.h \ |
LCLHDRS = assert.h disk_inode_ffs.h fs.h queue.h defs.h \ |
26 |
minix_ffs_compat.h wiring.h dir.h ffs_compat.h minix_fs.h \ |
minix_ffs_compat.h wiring.h dir.h ffs_compat.h minix_fs.h \ |
27 |
disk_inode.h file_io.h minix_super.h mach-exec.h |
disk_inode.h file_io.h minix_super.h mach-exec.h |
28 |
|
EXTRA_DIST = def_pager_setup.c default_pager.c kalloc.c |
29 |
target = serverboot |
target = serverboot |
30 |
HURDLIBS = threads |
HURDLIBS = threads |
31 |
installationdir = $(bootdir) |
installationdir = $(bootdir) |
33 |
UNZIP_OBJS = unzip.o inflate.o util.o do-bunzip2.o |
UNZIP_OBJS = unzip.o inflate.o util.o do-bunzip2.o |
34 |
OBJS = $(subst .c,.o,$(SRCS)) \ |
OBJS = $(subst .c,.o,$(SRCS)) \ |
35 |
boot_script.o userland-boot.o \ |
boot_script.o userland-boot.o \ |
36 |
memory_objectServer.o \ |
$(UNZIP_OBJS) |
|
default_pagerServer.o excServer.o bootstrapServer.o \ |
|
|
memory_object_defaultServer.o $(UNZIP_OBJS) |
|
37 |
|
|
38 |
vpath boot_script.c $(srcdir)/../boot |
vpath boot_script.c $(srcdir)/../boot |
39 |
vpath userland-boot.c $(srcdir)/../boot |
vpath userland-boot.c $(srcdir)/../boot |
44 |
# It's crucial for serverboot, because swap is not enabled yet. |
# It's crucial for serverboot, because swap is not enabled yet. |
45 |
CPPFLAGS += -I$(srcdir)/../exec -DGZIP -DBZIP2 -DSMALL_BZIP2 |
CPPFLAGS += -I$(srcdir)/../exec -DGZIP -DBZIP2 -DSMALL_BZIP2 |
46 |
|
|
|
MIGSFLAGS = -DSEQNOS |
|
|
|
|
47 |
LDFLAGS += -static |
LDFLAGS += -static |
48 |
|
|
49 |
include ../Makeconf |
include ../Makeconf |