1*3625efb1SRichard Lowe# 2*3625efb1SRichard Lowe# This file and its contents are supplied under the terms of the 3*3625efb1SRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0. 4*3625efb1SRichard Lowe# You may only use this file in accordance with the terms of version 5*3625efb1SRichard Lowe# 1.0 of the CDDL. 6*3625efb1SRichard Lowe# 7*3625efb1SRichard Lowe# A full copy of the text of the CDDL should have accompanied this 8*3625efb1SRichard Lowe# source. A copy of the CDDL is also available via the Internet at 9*3625efb1SRichard Lowe# http://www.illumos.org/license/CDDL. 10*3625efb1SRichard Lowe# 11*3625efb1SRichard Lowe 12*3625efb1SRichard Lowe# Copyright 2015, Richard Lowe. 13*3625efb1SRichard Lowe 14*3625efb1SRichard Loweinclude $(SRC)/tools/Makefile.tools 15*3625efb1SRichard Lowe 16*3625efb1SRichard LoweLIBRARY = libmakestate.a 17*3625efb1SRichard LoweVERS = .1 18*3625efb1SRichard LoweOBJECTS = ld_file.o lock.o 19*3625efb1SRichard Lowe 20*3625efb1SRichard Loweinclude $(SRC)/lib/Makefile.lib 21*3625efb1SRichard Loweinclude ../../../Makefile.com 22*3625efb1SRichard Lowe 23*3625efb1SRichard LoweLIBS = $(DYNLIB) 24*3625efb1SRichard LoweSRCDIR = $(SRC)/cmd/make/lib/makestate 25*3625efb1SRichard LoweMAPFILES = $(SRCDIR)/mapfile-vers 26*3625efb1SRichard LoweLDLIBS += -lc 27*3625efb1SRichard Lowe 28*3625efb1SRichard LoweFILEMODE= 755 29*3625efb1SRichard Lowe 30*3625efb1SRichard Loweall: $(LIBS) 31*3625efb1SRichard Lowe 32*3625efb1SRichard Lowelint: 33*3625efb1SRichard Lowe 34*3625efb1SRichard Lowe$(ROOTONBLDLIBMACH)/%: % 35*3625efb1SRichard Lowe $(INS.file) 36*3625efb1SRichard Lowe 37*3625efb1SRichard Lowe$(ROOTONBLDLIBMACH64)/%: % 38*3625efb1SRichard Lowe $(INS.file) 39*3625efb1SRichard Lowe 40*3625efb1SRichard Loweinclude $(SRC)/lib/Makefile.targ 41