From: Arun Thomas Date: Sun, 24 Jul 2011 16:46:51 +0000 (+0200) Subject: Skip ACK libs building with GCC/clang X-Git-Tag: v3.2.0~419 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/mdoc.3.txt?a=commitdiff_plain;h=e376fd97ac8f376df7f09124da9b45953282a78a;p=minix.git Skip ACK libs building with GCC/clang --- diff --git a/Makefile b/Makefile index 7a0584402..1871be377 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,11 @@ usage: # 'make install' target. # # etcfiles has to be done first. +.if ${COMPILER_TYPE} == "ack" world: mkfiles etcfiles includes libraries elf-libraries dep-all install etcforce +.else +world: mkfiles etcfiles includes elf-libraries dep-all install etcforce +.endif mkfiles: make -C share/mk install @@ -39,7 +43,9 @@ includes: $(MAKE) -C nbsd_include includes $(MAKE) -C include includes $(MAKE) -C lib includes NBSD_LIBC=yes +.if ${COMPILER_TYPE} == "ack" $(MAKE) -C lib includes NBSD_LIBC=no +.endif libraries: includes $(MAKE) -C lib build_ack