2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
18 CFLAGS
+= $(CCVERBOSE
)
19 include $(SRC
)/tools
/Makefile.tools
20 CERRWARN
+= -_gcc
=-Wno-unused-variable
22 OBJS
= $(SRCS
:%.c
=%.o
)
23 LINTFILES
= $(SRCS
:%.c
=%.ln
)
25 LINTFLAGS
= -mnux
-L
$(ROOT
)/usr
/lib
28 .PARALLEL
: $(OBJS
) $(LINTFILES
)
33 $(LINK.c
) $(OBJS
) -o
$@
$(LDLIBS
)
36 $(ROOTONBLDMACHPROG
): $(PROG
)
38 install: $(ROOTONBLDMACHPROG
)
41 $(RM
) $(OBJS
) $(LINTFILES
)
44 $(LINT
) $(LINTFLAGS
) $(LINTFILES
) $(LDLIBS
)
46 include $(SRC
)/tools
/Makefile.targ