8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / tools / mandoc / Makefile
blob7f8b3b8f2a59cd9f52811bab825e71ce7f470451
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.
13 # Copyright 2017 Nexenta Systems, Inc.
16 CMDDIR= $(SRC)/cmd/mandoc
17 LCDIR= $(SRC)/lib/libc/port
19 include $(SRC)/tools/Makefile.tools
20 include $(CMDDIR)/Makefile.common
22 OBJS += reallocarray.o \
23 strtonum.o
25 .KEEP_STATE:
27 all: $(PROG)
29 install: all $(ROOTONBLDMACHPROG)
31 clean:
32 $(RM) $(PROG) $(OBJS)
34 $(PROG): $(OBJS)
35 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
36 $(POST_PROCESS)
38 %.o: $(CMDDIR)/%.c
39 $(COMPILE.c) -o $@ $<
41 %.o: $(LCDIR)/gen/%.c
42 $(COMPILE.c) -o $@ $<
44 include $(SRC)/tools/Makefile.targ