1*95c635efSGarrett D'Amore# 2*95c635efSGarrett D'Amore# This file and its contents are supplied under the terms of the 3*95c635efSGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0. 4*95c635efSGarrett D'Amore# You may only use this file in accordance with the terms of version 5*95c635efSGarrett D'Amore# 1.0 of the CDDL. 6*95c635efSGarrett D'Amore# 7*95c635efSGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this 8*95c635efSGarrett D'Amore# source. A copy of the CDDL is also available via the Internet at 9*95c635efSGarrett D'Amore# http://www.illumos.org/license/CDDL. 10*95c635efSGarrett D'Amore# 11*95c635efSGarrett D'Amore 12*95c635efSGarrett D'Amore# 13*95c635efSGarrett D'Amore# Copyright 2014 Nexenta Systems, Inc. All rights reserved. 14*95c635efSGarrett D'Amore# 15*95c635efSGarrett D'Amore 16*95c635efSGarrett D'Amore 17*95c635efSGarrett D'AmorePROG= mandoc 18*95c635efSGarrett D'Amore 19*95c635efSGarrett D'AmoreCMDDIR= $(SRC)/cmd/mandoc 20*95c635efSGarrett D'Amore 21*95c635efSGarrett D'Amoreinclude ../Makefile.tools 22*95c635efSGarrett D'Amore 23*95c635efSGarrett D'Amoreinclude $(SRC)/cmd/mandoc/Makefile.common 24*95c635efSGarrett D'Amore 25*95c635efSGarrett D'AmoreSRCS= $(mandoc_OBJS:%.o=$(CMDDIR)/%.c) 26*95c635efSGarrett D'AmoreCLEANFILES= $(PROG) $(OBJS) 27*95c635efSGarrett D'AmoreOBJS= $(mandoc_OBJS) 28*95c635efSGarrett D'AmorePROG= mandoc 29*95c635efSGarrett D'Amore 30*95c635efSGarrett D'Amore.KEEP_STATE: 31*95c635efSGarrett D'Amore 32*95c635efSGarrett D'Amoreinstall: all .WAIT $(ROOTONBLDMACHPROG) 33*95c635efSGarrett D'Amore 34*95c635efSGarrett D'Amore$(PROG): $(OBJS) 35*95c635efSGarrett D'Amore $(LINK.c) -o $@ $(OBJS) $(LDLIBS) 36*95c635efSGarrett D'Amore $(POST_PROCESS) 37*95c635efSGarrett D'Amore 38*95c635efSGarrett D'Amoreall: $(PROG) 39*95c635efSGarrett D'Amore 40*95c635efSGarrett D'Amore 41*95c635efSGarrett D'Amore%.o: $(CMDDIR)/%.c 42*95c635efSGarrett D'Amore $(COMPILE.c) -o $@ $< 43*95c635efSGarrett D'Amore 44*95c635efSGarrett D'Amore%.o: $(LIBDIR)/%.c 45*95c635efSGarrett D'Amore $(COMPILE.c) -o $@ $< 46*95c635efSGarrett D'Amore 47*95c635efSGarrett D'Amoreclean: 48*95c635efSGarrett D'Amore $(RM) $(CLEANFILES) 49*95c635efSGarrett D'Amore 50*95c635efSGarrett D'Amoreinclude ../Makefile.targ 51*95c635efSGarrett D'Amore 52