1*d8ab6e12SDon Brady# 2*d8ab6e12SDon Brady# This file and its contents are supplied under the terms of the 3*d8ab6e12SDon Brady# Common Development and Distribution License ("CDDL"), version 1.0. 4*d8ab6e12SDon Brady# You may only use this file in accordance with the terms of version 5*d8ab6e12SDon Brady# 1.0 of the CDDL. 6*d8ab6e12SDon Brady# 7*d8ab6e12SDon Brady# A full copy of the text of the CDDL should have accompanied this 8*d8ab6e12SDon Brady# source. A copy of the CDDL is also available via the Internet at 9*d8ab6e12SDon Brady# http://www.illumos.org/license/CDDL. 10*d8ab6e12SDon Brady# 11*d8ab6e12SDon Brady 12*d8ab6e12SDon Brady# 13*d8ab6e12SDon Brady# Copyright 2020 Joyent, Inc. 14*d8ab6e12SDon Brady# 15*d8ab6e12SDon Brady 16*d8ab6e12SDon Bradyinclude ../Makefile.lib 17*d8ab6e12SDon Brady 18*d8ab6e12SDon BradyHDRS= libzutil.h 19*d8ab6e12SDon Brady 20*d8ab6e12SDon BradyHDRDIR= common 21*d8ab6e12SDon Brady 22*d8ab6e12SDon BradySUBDIRS= $(MACH) 23*d8ab6e12SDon Brady$(BUILD64)SUBDIRS += $(MACH64) 24*d8ab6e12SDon Brady 25*d8ab6e12SDon Bradyall := TARGET= all 26*d8ab6e12SDon Bradyclean := TARGET= clean 27*d8ab6e12SDon Bradyclobber := TARGET= clobber 28*d8ab6e12SDon Bradyinstall := TARGET= install 29*d8ab6e12SDon Brady 30*d8ab6e12SDon BradyMSGFILES = `$(GREP) -l gettext $(HDRDIR)/*.[ch]` 31*d8ab6e12SDon BradyPOFILE = libzutil.po 32*d8ab6e12SDon Brady 33*d8ab6e12SDon Brady.KEEP_STATE: 34*d8ab6e12SDon Brady 35*d8ab6e12SDon Bradyall clean clobber install: $(SUBDIRS) 36*d8ab6e12SDon Brady 37*d8ab6e12SDon Brady$(POFILE): pofile_MSGFILES 38*d8ab6e12SDon Brady 39*d8ab6e12SDon Bradyinstall_h: $(ROOTHDRS) 40*d8ab6e12SDon Brady 41*d8ab6e12SDon Bradycheck: $(CHECKHDRS) 42*d8ab6e12SDon Brady 43*d8ab6e12SDon Brady_msg: $(MSGDOMAINPOFILE) 44*d8ab6e12SDon Brady 45*d8ab6e12SDon Brady$(SUBDIRS): FRC 46*d8ab6e12SDon Brady @cd $@; pwd; $(MAKE) $(TARGET) 47*d8ab6e12SDon Brady 48*d8ab6e12SDon BradyFRC: 49*d8ab6e12SDon Brady 50*d8ab6e12SDon Bradyinclude ../Makefile.targ 51*d8ab6e12SDon Bradyinclude ../../Makefile.msg.targ 52