145d3dd98SRobert Mustacchi# 245d3dd98SRobert Mustacchi# This file and its contents are supplied under the terms of the 345d3dd98SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0. 445d3dd98SRobert Mustacchi# You may only use this file in accordance with the terms of version 545d3dd98SRobert Mustacchi# 1.0 of the CDDL. 645d3dd98SRobert Mustacchi# 745d3dd98SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this 845d3dd98SRobert Mustacchi# source. A copy of the CDDL is also available via the Internet at 945d3dd98SRobert Mustacchi# http://www.illumos.org/license/CDDL. 1045d3dd98SRobert Mustacchi# 1145d3dd98SRobert Mustacchi 1245d3dd98SRobert Mustacchi# 1345d3dd98SRobert Mustacchi# Copyright (c) 2017 Joyent, Inc. 1445d3dd98SRobert Mustacchi# 1545d3dd98SRobert Mustacchi 1645d3dd98SRobert Mustacchiinclude ../Makefile.lib 1745d3dd98SRobert Mustacchi 1845d3dd98SRobert MustacchiHDRS = libsff.h 1945d3dd98SRobert MustacchiHDRDIR = common 2045d3dd98SRobert MustacchiSUBDIRS = $(MACH) 2145d3dd98SRobert Mustacchi$(BUILD64)SUBDIRS += $(MACH64) 2245d3dd98SRobert Mustacchi 2345d3dd98SRobert Mustacchiall := TARGET = all 2445d3dd98SRobert Mustacchiclean := TARGET = clean 2545d3dd98SRobert Mustacchiclobber := TARGET = clobber 2645d3dd98SRobert Mustacchiinstall := TARGET = install 2745d3dd98SRobert Mustacchi 2845d3dd98SRobert Mustacchi.KEEP_STATE: 2945d3dd98SRobert Mustacchi 30*241c90a0SRichard Loweall clean clobber: $(SUBDIRS) 3145d3dd98SRobert Mustacchi 3245d3dd98SRobert Mustacchiinstall: $(SUBDIRS) $(VARPD_MAPFILES) install_h 3345d3dd98SRobert Mustacchi 3445d3dd98SRobert Mustacchiinstall_h: $(ROOTHDRS) 3545d3dd98SRobert Mustacchi 3645d3dd98SRobert Mustacchicheck: $(CHECKHDRS) 3745d3dd98SRobert Mustacchi 3845d3dd98SRobert Mustacchi$(SUBDIRS): FRC 3945d3dd98SRobert Mustacchi @cd $@; pwd; $(MAKE) $(TARGET) 4045d3dd98SRobert Mustacchi 4145d3dd98SRobert MustacchiFRC: 4245d3dd98SRobert Mustacchi 4345d3dd98SRobert Mustacchiinclude ../Makefile.targ 44