19 |
makemode := utility |
makemode := utility |
20 |
|
|
21 |
SRCS = bootstrap.c ffs_compat.c load.c wiring.c \ |
SRCS = bootstrap.c ffs_compat.c load.c wiring.c \ |
22 |
ffs_file_io.c minix_ffs_compat.c file_io.c\ |
ffs_file_io.c minix_ffs_compat.c file_io.c \ |
23 |
minix_file_io.c ext2_file_io.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 \ |
35 |
boot_script.o userland-boot.o \ |
boot_script.o userland-boot.o \ |
36 |
$(UNZIP_OBJS) |
$(UNZIP_OBJS) |
37 |
|
|
38 |
|
include ../Makeconf |
39 |
|
|
40 |
vpath boot_script.c $(srcdir)/../boot |
vpath boot_script.c $(srcdir)/../boot |
41 |
vpath userland-boot.c $(srcdir)/../boot |
vpath userland-boot.c $(srcdir)/../boot |
42 |
|
|
43 |
# Look for zip stuff |
# Look for zip stuff |
44 |
VPATH += $(srcdir)/../exec |
vpath %.c $(srcdir)/../exec |
45 |
# If SMALL_BZIP2 is defined, use relatively small memory. |
# If SMALL_BZIP2 is defined, use relatively small memory. |
46 |
# It's crucial for serverboot, because swap is not enabled yet. |
# It's crucial for serverboot, because swap is not enabled yet. |
47 |
CPPFLAGS += -I$(srcdir)/../exec -DGZIP -DBZIP2 -DSMALL_BZIP2 |
CPPFLAGS += -I$(srcdir)/../exec -DGZIP -DBZIP2 -DSMALL_BZIP2 |
48 |
|
|
49 |
LDFLAGS += -static |
LDFLAGS += -static |
50 |
|
|
|
include ../Makeconf |
|
|
|
|
51 |
# Don't even bother. |
# Don't even bother. |
52 |
CFLAGS := $(filter-out -Wall,$(CFLAGS)) |
CFLAGS := $(filter-out -Wall,$(CFLAGS)) |