17c478bd9Sstevel@tonic-gate# 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. 67c478bd9Sstevel@tonic-gate# 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. 107c478bd9Sstevel@tonic-gate# 117c478bd9Sstevel@tonic-gate 12*95c635efSGarrett D'Amore# 13*95c635efSGarrett D'Amore# Copyright 2012 Nexenta Systems, Inc. All rights reserved. 14*95c635efSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org> 15*95c635efSGarrett D'Amore# 167c478bd9Sstevel@tonic-gate 17*95c635efSGarrett D'AmorePROG= man 18*95c635efSGarrett D'AmoreLINKS= apropos whatis catman 19*95c635efSGarrett D'AmoreLIBLINKS = makewhatis 20*95c635efSGarrett D'AmoreOBJS= makewhatis.o man.o stringlist.o 21*95c635efSGarrett D'AmoreSRCS= $(OBJS:%.o=%.c) 227c478bd9Sstevel@tonic-gate 23*95c635efSGarrett D'Amoreinclude $(SRC)/cmd/Makefile.cmd 24*95c635efSGarrett D'Amore 25*95c635efSGarrett D'AmoreCFLAGS += $(CCVERBOSE) 26*95c635efSGarrett D'Amore 27*95c635efSGarrett D'AmoreROOTLINKS= $(LINKS:%=$(ROOTBIN)/%) $(LIBLINKS:%=$(ROOTLIB)/%) 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gate.KEEP_STATE : 307c478bd9Sstevel@tonic-gate 31*95c635efSGarrett D'Amoreall: $(PROG) 327c478bd9Sstevel@tonic-gate 33*95c635efSGarrett D'Amoreclean: 34*95c635efSGarrett D'Amore $(RM) $(OBJS) 357c478bd9Sstevel@tonic-gate 36*95c635efSGarrett D'Amoreinstall: all $(ROOTPROG) $(ROOTLINKS) 377c478bd9Sstevel@tonic-gate 38*95c635efSGarrett D'Amorelint: lint_SRCS 397c478bd9Sstevel@tonic-gate 40*95c635efSGarrett D'Amore$(PROG): $(OBJS) 41*95c635efSGarrett D'Amore $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 42*95c635efSGarrett D'Amore $(POST_PROCESS) 437c478bd9Sstevel@tonic-gate 44*95c635efSGarrett D'Amore$(ROOTLINKS): $(ROOTPROG) 45*95c635efSGarrett D'Amore $(RM) $@; $(LN) $(ROOTPROG) $@ 46*95c635efSGarrett D'Amore 47*95c635efSGarrett D'Amoreinclude $(SRC)/cmd/Makefile.targ 48