17c478bd9Sstevel@tonic-gate# 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. 67c478bd9Sstevel@tonic-gate# 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. 107c478bd9Sstevel@tonic-gate# 117c478bd9Sstevel@tonic-gate 1295c635efSGarrett D'Amore# 1395c635efSGarrett D'Amore# Copyright 2012 Nexenta Systems, Inc. All rights reserved. 1495c635efSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org> 15*2b77347cSAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 1695c635efSGarrett D'Amore# 177c478bd9Sstevel@tonic-gate 1895c635efSGarrett D'AmorePROG= man 1995c635efSGarrett D'AmoreLINKS= apropos whatis catman 2095c635efSGarrett D'AmoreLIBLINKS = makewhatis 2195c635efSGarrett D'AmoreOBJS= makewhatis.o man.o stringlist.o 22*2b77347cSAndy FiddamanMANIFEST= update-man-index.xml 23*2b77347cSAndy FiddamanSVCMETHOD= update-man-index 247c478bd9Sstevel@tonic-gate 2595c635efSGarrett D'Amoreinclude $(SRC)/cmd/Makefile.cmd 2695c635efSGarrett D'Amore 27*2b77347cSAndy FiddamanROOTMANIFESTDIR= $(ROOTSVCSYSTEM) 28*2b77347cSAndy Fiddaman 2995c635efSGarrett D'AmoreCFLAGS += $(CCVERBOSE) 3095c635efSGarrett D'Amore 3195c635efSGarrett D'AmoreROOTLINKS= $(LINKS:%=$(ROOTBIN)/%) $(LIBLINKS:%=$(ROOTLIB)/%) 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gate.KEEP_STATE : 347c478bd9Sstevel@tonic-gate 3595c635efSGarrett D'Amoreall: $(PROG) 367c478bd9Sstevel@tonic-gate 3795c635efSGarrett D'Amoreclean: 3895c635efSGarrett D'Amore $(RM) $(OBJS) 397c478bd9Sstevel@tonic-gate 40*2b77347cSAndy Fiddamaninstall: all $(ROOTPROG) $(ROOTLINKS) $(ROOTMANIFEST) $(ROOTSVCMETHOD) 417c478bd9Sstevel@tonic-gate 42*2b77347cSAndy Fiddamancheck: $(CHKMANIFEST) 437c478bd9Sstevel@tonic-gate 4495c635efSGarrett D'Amore$(PROG): $(OBJS) 4595c635efSGarrett D'Amore $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 4695c635efSGarrett D'Amore $(POST_PROCESS) 477c478bd9Sstevel@tonic-gate 4895c635efSGarrett D'Amore$(ROOTLINKS): $(ROOTPROG) 4995c635efSGarrett D'Amore $(RM) $@; $(LN) $(ROOTPROG) $@ 5095c635efSGarrett D'Amore 5195c635efSGarrett D'Amoreinclude $(SRC)/cmd/Makefile.targ 52