]> Zhao Yanbai Git Server - minix.git/commitdiff
Skip ACK libs building with GCC/clang
authorArun Thomas <arun@minix3.org>
Sun, 24 Jul 2011 16:46:51 +0000 (18:46 +0200)
committerArun Thomas <arun@minix3.org>
Sun, 24 Jul 2011 16:47:07 +0000 (18:47 +0200)
Makefile

index 7a0584402073e98ad0c3fcc30ce07ba1fc584ec9..1871be377400843882ba6de3e230cd3c78e7780e 100644 (file)
--- 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