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# 1395c635efSGarrett D'Amore# Copyright 2014 Nexenta Systems, Inc. All rights reserved. 1495c635efSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org> 1595c635efSGarrett D'Amore# 1695c635efSGarrett D'Amore 1795c635efSGarrett D'AmorePROGS= mandoc mandoc_preconv 1895c635efSGarrett D'Amore 1995c635efSGarrett D'Amore# We place preconv in /usr/lib. This is done to avoid conflicting with 2095c635efSGarrett D'Amore# GNU groff, which puts it into /usr/bin. We also rename it so that it 2195c635efSGarrett D'Amore# will only be seen by mandoc -- it isn't intended for general end-user use. 2295c635efSGarrett D'Amore 2395c635efSGarrett D'AmoreROOTPROGS = $(ROOTBIN)/mandoc $(ROOTLIB)/mandoc_preconv 2495c635efSGarrett D'Amore 2595c635efSGarrett D'AmoreOBJS= $(preconv_OBJS) $(mandoc_OBJS) 2695c635efSGarrett D'Amore 27*b52c8fbeSRichard PALOCLOBBERFILES += $(PROGS) 28*b52c8fbeSRichard PALO 2995c635efSGarrett D'Amoreinclude $(SRC)/cmd/Makefile.cmd 3095c635efSGarrett D'Amoreinclude $(SRC)/cmd/mandoc/Makefile.common 3195c635efSGarrett D'Amore 3295c635efSGarrett D'Amore.KEEP_STATE: 3395c635efSGarrett D'Amore 3495c635efSGarrett D'Amoreall: $(PROGS) 3595c635efSGarrett D'Amore 3695c635efSGarrett D'Amoremandoc_preconv: $(preconv_OBJS) 3795c635efSGarrett D'Amore $(LINK.c) $(preconv_OBJS) -o $@ $(LDLIBS) 3895c635efSGarrett D'Amore $(POST_PROCESS) 3995c635efSGarrett D'Amore 4095c635efSGarrett D'Amoremandoc: $(mandoc_OBJS) 4195c635efSGarrett D'Amore $(LINK.c) $(mandoc_OBJS) -o $@ $(LDLIBS) 4295c635efSGarrett D'Amore $(POST_PROCESS) 4395c635efSGarrett D'Amore 4495c635efSGarrett D'Amoreclean: 4595c635efSGarrett D'Amore $(RM) $(OBJS) 4695c635efSGarrett D'Amore 4795c635efSGarrett D'Amoreinstall: all $(ROOTPROGS) 4895c635efSGarrett D'Amore 4995c635efSGarrett D'Amoreinclude $(SRC)/cmd/Makefile.targ 50