minix/share/mk/minix.service.mk

13 lines
320 B
Makefile
Raw Normal View History

2011-07-09 15:04:42 +02:00
# MINIX-specific servers/drivers options
.include <bsd.own.mk>
CPPFLAGS+= -D__NBSD_LIBC
2012-05-01 16:57:11 +02:00
.if !empty(CC:M*gcc)
LDADD+= -nodefaultlibs -lgcc -lsys -lgcc -lminc
2012-05-01 16:57:11 +02:00
.elif !empty(CC:M*clang)
LDADD+= -nodefaultlibs -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc
2011-07-09 15:04:42 +02:00
.endif
.include <bsd.prog.mk>