# 'make install' target.
#
# etcfiles has to be done first.
-world: mkfiles includes depend libraries install postinstall
+.if ${COMPILER_TYPE} == "ack"
+world: mkfiles includes depend libraries install
+.elif ${COMPILER_TYPE} == "gnu"
+world: mkfiles includes depend gnu-libraries install
+.endif
mkfiles:
cp etc/mk/*.mk /etc/mk/
cd lib && sh gnu_build.sh clean
cd commands && $(MAKE) clean
cd test && $(MAKE) clean
-
-postinstall:
- cd etc && $(MAKE) $@
-
ETC=/etc/
USRETC=/usr/etc/
FILES1=fstab group hostname.file inet.conf motd.install mtab passwd profile \
for u in /usr/ast ~root; do cp ast/.[aepv]* $$u ; done
@echo "Installing fonts.."
install -m 644 -o root -g operator fonts/*.fnt /usr/lib/fonts/
-
-postinstall:
- binsizes normal
-
LDFLAGS+= -T arch/${ARCH}/kernel.lds
LDFLAGS+= -nostdlib
DPADD+= ${LIBC}
-LDADD+= -lgcc -lc -lgcc
+LDADD+= -lc
.endif
CPPFLAGS+= -I${.CURDIR}/arch/${ARCH}/include -I${MINIXSRCDIR}
# Makefile for the tests.
-CC = exec cc
-GCC = /usr/gnu/bin/gcc
+GCC= /usr/gnu/bin/gcc
CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
CFLAGS-GCC= $(CFLAGS) -Wall
CFLAGS-GCCFPU= $(CFLAGS) -Wall -mhard-float
test51-gcc: test51.c
test52: test52.c
test52-gcc: test52.c
-