CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
MDEC= /usr/mdec
MAKE= exec make -$(MAKEFLAGS)
+GMAKE=/usr/gnu/bin/gmake
# Specify the programs that are part of the system image.
# Multiple boot medium drivers can be included in the image,
# create a fresh configuration or system image
fresh:
- cd ../lib && $(MAKE) clean
+ cd ../lib && $(GMAKE) clean
$(MAKE) clean
$(MAKE) libraries services
# rebuild the program or system libraries
includes:
- cd ../include && $(MAKE) install
+# cd ../include && $(MAKE) install
depend: includes
cd ../ && $(MAKE) depend
cd ../drivers && $(MAKE) install
libraries: includes
- cd ../lib && $(MAKE) install
+ cd ../lib && $(GMAKE) clean
+ cd ../lib && $(GMAKE) all
+ cd ../lib && $(GMAKE) install
# make bootable and place system images
HDEMU=1
-COPYITEMS="usr/bin bin usr/lib"
+COPYITEMS="usr/bin bin usr/lib usr/gnu"
RELEASEDIR=/usr/r
IMAGE=cdfdimage
ROOTIMAGE=rootimage
ISOGZ=${ISO}.gz
echo "Making $ISOGZ"
-USRMB=400
+USRMB=500
USRBLOCKS="`expr $USRMB \* 1024 \* 1024 / $BS`"
USRSECTS="`expr $USRMB \* 1024 \* 2`"
fi
echo " * Fixups for owners and modes of dirs and files"
-chown -R bin $RELEASEDIR/usr/src
-chmod -R u+w $RELEASEDIR/usr/lib
+chown -R bin $RELEASEDIR/usr/src $RELEASEDIR/usr/gnu
+chmod -R u+w $RELEASEDIR/usr/src $RELEASEDIR/usr/gnu
find $RELEASEDIR/usr/src -type d | xargs chmod 755
find $RELEASEDIR/usr/src -type f | xargs chmod 644
find $RELEASEDIR/usr/src -name configure | xargs chmod 755