8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / tools / ctf / ctfstrip / Makefile
blobdee8591408f06e6a874a5d403e9c735d34417684
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
5 # 1.0 of the CDDL.
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.
12 .KEEP_STATE:
14 PROG = ctfstrip
15 SRCS = \
16 ctfstrip.c
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
27 .NO_PARALLEL:
28 .PARALLEL: $(OBJS) $(LINTFILES)
30 all: $(PROG)
32 $(PROG): $(OBJS)
33 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
34 $(POST_PROCESS)
36 $(ROOTONBLDMACHPROG): $(PROG)
38 install: $(ROOTONBLDMACHPROG)
40 clean:
41 $(RM) $(OBJS) $(LINTFILES)
43 lint: $(LINTFILES)
44 $(LINT) $(LINTFLAGS) $(LINTFILES) $(LDLIBS)
46 include $(SRC)/tools/Makefile.targ