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