Patches by Jeff Bailey for posixifications.

This commit is contained in:
Ben Gras 2006-04-09 23:16:13 +00:00
parent 23f881aa29
commit 3172b4d0ad
3 changed files with 15 additions and 9 deletions

View file

@ -37,6 +37,13 @@ depend:
cd system && $(MAKE) -$(MAKEFLAGS) $@
/usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c *.s > .depend
# How to build it
.s.o:
$(CC) $(CFLAGS) -c -o $@ $<
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
# Include generated dependencies.
klib.o: klib386.s klib88.s
mpx.o: mpx386.s mpx88.s

View file

@ -63,12 +63,12 @@ if [ ! -z "$SUBDIRS" ]; then
echo "$RECURSIVE_TARGETS:: makefiles"
for dir in $SUBDIRS
{
if [ $TYPE = "both" -o $TYPE = "ack" ]; then
#if [ $TYPE = "both" -o $TYPE = "ack" ]; then
#echo " mkdir -p $ACKBASE/$OBJDIR/$dir"
fi
if [ $TYPE = "both" -o $TYPE = "gnu" ]; then
#fi
#if [ $TYPE = "both" -o $TYPE = "gnu" ]; then
#echo " mkdir -p $GNUBASE/$OBJDIR/$dir"
fi
#fi
echo " cd $dir && \$(MAKE) \$@"
}

View file

@ -4,7 +4,6 @@ u=/usr
CC= exec cc
CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
MDEC= /usr/mdec
MAKE= exec make -$(MAKEFLAGS)
# Specify the programs that are part of the system image.
PROGRAMS= ../kernel/kernel \
@ -42,7 +41,7 @@ usage:
# create a fresh configuration or system image
fresh:
cd ../lib && make clean
cd ../lib && $(MAKE) clean
$(MAKE) clean
$(MAKE) libraries services
@ -73,9 +72,9 @@ services: includes
cd ../drivers && $(MAKE) install
libraries: includes
cd ../lib && make clean
cd ../lib && make all
cd ../lib && make install
cd ../lib && $(MAKE) clean
cd ../lib && $(MAKE) all
cd ../lib && $(MAKE) install
# make bootable and place system images