summaryrefslogtreecommitdiff
path: root/serverboot/Makefile
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-05-23 13:17:23 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-05-23 13:17:23 +0000
commite1c99ecee3589df6c949b4ad582085144a556132 (patch)
tree2ac323d3c74a335e26698bfd99ca317baf2252b9 /serverboot/Makefile
parent1c43be51a4c2c60bd43c7f3302f1d9fb66521176 (diff)
libstore/
2002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg> * Makefile: Move inclusion of ../Makeconf before using $(srcdir). serverboot/ 2002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg> * Makefile: Move inclusion of ../Makeconf before using $(srcdir) and constrain vpath directives to avoid using ../exec/exec.o.
Diffstat (limited to 'serverboot/Makefile')
-rw-r--r--serverboot/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/serverboot/Makefile b/serverboot/Makefile
index 967ca33f..7f66f45a 100644
--- a/serverboot/Makefile
+++ b/serverboot/Makefile
@@ -19,7 +19,7 @@ dir := serverboot
makemode := utility
SRCS = bootstrap.c ffs_compat.c load.c wiring.c \
- ffs_file_io.c minix_ffs_compat.c file_io.c\
+ ffs_file_io.c minix_ffs_compat.c file_io.c \
minix_file_io.c ext2_file_io.c strfcns.c exec.c \
panic.c elf-load.c gunzip.c bunzip2.c
LCLHDRS = assert.h disk_inode_ffs.h fs.h queue.h defs.h \
@@ -35,18 +35,18 @@ OBJS = $(subst .c,.o,$(SRCS)) \
boot_script.o userland-boot.o \
$(UNZIP_OBJS)
+include ../Makeconf
+
vpath boot_script.c $(srcdir)/../boot
vpath userland-boot.c $(srcdir)/../boot
# Look for zip stuff
-VPATH += $(srcdir)/../exec
+vpath %.c $(srcdir)/../exec
# If SMALL_BZIP2 is defined, use relatively small memory.
# It's crucial for serverboot, because swap is not enabled yet.
CPPFLAGS += -I$(srcdir)/../exec -DGZIP -DBZIP2 -DSMALL_BZIP2
LDFLAGS += -static
-include ../Makeconf
-
# Don't even bother.
CFLAGS := $(filter-out -Wall,$(CFLAGS))