xref: /titanic_51/usr/src/tools/mandoc/Makefile (revision 260e9a87725c090ba5835b1f9f0b62fa2f96036f)
195c635efSGarrett D'Amore#
295c635efSGarrett D'Amore# This file and its contents are supplied under the terms of the
395c635efSGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
495c635efSGarrett D'Amore# You may only use this file in accordance with the terms of version
595c635efSGarrett D'Amore# 1.0 of the CDDL.
695c635efSGarrett D'Amore#
795c635efSGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
895c635efSGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
995c635efSGarrett D'Amore# http://www.illumos.org/license/CDDL.
1095c635efSGarrett D'Amore#
1195c635efSGarrett D'Amore
1295c635efSGarrett D'Amore#
13*260e9a87SYuri Pankov# Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
1495c635efSGarrett D'Amore#
1595c635efSGarrett D'Amore
1695c635efSGarrett D'AmoreCMDDIR=		$(SRC)/cmd/mandoc
1795c635efSGarrett D'Amore
1895c635efSGarrett D'Amoreinclude		../Makefile.tools
19*260e9a87SYuri Pankovinclude		$(CMDDIR)/Makefile.common
2095c635efSGarrett D'Amore
2195c635efSGarrett D'Amore.KEEP_STATE:
2295c635efSGarrett D'Amore
2395c635efSGarrett D'Amoreall:		$(PROG)
2495c635efSGarrett D'Amore
25*260e9a87SYuri Pankovinstall:	all .WAIT $(ROOTONBLDMACHPROG)
26*260e9a87SYuri Pankov
27*260e9a87SYuri Pankovclean:
28*260e9a87SYuri Pankov		$(RM) $(PROG) $(OBJS)
29*260e9a87SYuri Pankov
30*260e9a87SYuri Pankov$(PROG):	$(OBJS)
31*260e9a87SYuri Pankov		$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
32*260e9a87SYuri Pankov		$(POST_PROCESS)
3395c635efSGarrett D'Amore
3495c635efSGarrett D'Amore%.o:		$(CMDDIR)/%.c
3595c635efSGarrett D'Amore		$(COMPILE.c) -o $@ $<
3695c635efSGarrett D'Amore
3795c635efSGarrett D'Amoreinclude		../Makefile.targ
38