1*2aeafac3SToomas Soome# 2*2aeafac3SToomas Soome# This file and its contents are supplied under the terms of the 3*2aeafac3SToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0. 4*2aeafac3SToomas Soome# You may only use this file in accordance with the terms of version 5*2aeafac3SToomas Soome# 1.0 of the CDDL. 6*2aeafac3SToomas Soome# 7*2aeafac3SToomas Soome# A full copy of the text of the CDDL should have accompanied this 8*2aeafac3SToomas Soome# source. A copy of the CDDL is also available via the Internet at 9*2aeafac3SToomas Soome# http://www.illumos.org/license/CDDL. 10*2aeafac3SToomas Soome# 11*2aeafac3SToomas Soome 12*2aeafac3SToomas Soome# 13*2aeafac3SToomas Soome# Copyright 2020 Toomas Soome <tsoome@me.com> 14*2aeafac3SToomas Soome# 15*2aeafac3SToomas Soome 16*2aeafac3SToomas SoomeCMDDIR= $(SRC)/cmd/rpcgen 17*2aeafac3SToomas Soome 18*2aeafac3SToomas Soomeinclude ../Makefile.tools 19*2aeafac3SToomas Soomeinclude $(CMDDIR)/Makefile.common 20*2aeafac3SToomas Soome 21*2aeafac3SToomas Soome.KEEP_STATE: 22*2aeafac3SToomas Soome 23*2aeafac3SToomas Soomeall: $(PROG) 24*2aeafac3SToomas Soome 25*2aeafac3SToomas Soomeinstall: all .WAIT $(ROOTONBLDMACHPROG) 26*2aeafac3SToomas Soome 27*2aeafac3SToomas Soomeclean: 28*2aeafac3SToomas Soome $(RM) $(PROG) $(OBJS) 29*2aeafac3SToomas Soome 30*2aeafac3SToomas Soome$(PROG): $(OBJS) 31*2aeafac3SToomas Soome $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 32*2aeafac3SToomas Soome $(POST_PROCESS) 33*2aeafac3SToomas Soome 34*2aeafac3SToomas Soome%.o: $(CMDDIR)/%.c 35*2aeafac3SToomas Soome $(COMPILE.c) -o $@ $< 36*2aeafac3SToomas Soome 37*2aeafac3SToomas Soomeinclude ../Makefile.targ 38