110d63b7dSRichard Lowe# 210d63b7dSRichard Lowe# This file and its contents are supplied under the terms of the 310d63b7dSRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0. 410d63b7dSRichard Lowe# You may only use this file in accordance with the terms of version 510d63b7dSRichard Lowe# 1.0 of the CDDL. 610d63b7dSRichard Lowe# 710d63b7dSRichard Lowe# A full copy of the text of the CDDL should have accompanied this 810d63b7dSRichard Lowe# source. A copy of the CDDL is also available via the Internet at 910d63b7dSRichard Lowe# http://www.illumos.org/license/CDDL. 1010d63b7dSRichard Lowe# 1110d63b7dSRichard Lowe 1210d63b7dSRichard Lowe# Copyright 2015, Richard Lowe. 13*8e0c8248SAndrew Stormont# Copyright 2019 RackTop Systems. 1410d63b7dSRichard Lowe 1510d63b7dSRichard LoweLIBRARY = libmksh.a 1610d63b7dSRichard LoweVERS = .1 1710d63b7dSRichard LoweOBJECTS = dosys.o globals.o i18n.o macro.o misc.o mksh.o read.o 1810d63b7dSRichard Lowe 1910d63b7dSRichard Loweinclude $(SRC)/lib/Makefile.lib 2010d63b7dSRichard Loweinclude ../../Makefile.com 2110d63b7dSRichard Lowe 2210d63b7dSRichard LoweLIBS = $(LIBRARY) 2310d63b7dSRichard LoweSRCDIR = $(SRC)/cmd/make/lib/mksh 2410d63b7dSRichard LoweMAPFILES= 2510d63b7dSRichard LoweCPPFLAGS += -D_FILE_OFFSET_BITS=64 2610d63b7dSRichard Lowe 27*8e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-unused-variable 28*8e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-unused-function 29*8e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-unused-value 30*8e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-uninitialized 31*8e0c8248SAndrew Stormont 3210d63b7dSRichard Loweall: $(LIBS) 3310d63b7dSRichard Lowe 3410d63b7dSRichard Loweinstall: all 3510d63b7dSRichard Lowe 3610d63b7dSRichard Lowelint: 3710d63b7dSRichard Lowe 38bc1f688bSRobert Mustacchi# We can't create CTF in the tools build because of a bootstrap bug with the new CTF 39bc1f688bSRobert Mustacchi$(DYNLIB) := CTFMERGE_POST= : 40bc1f688bSRobert MustacchiCTFCONVERT_O= : 41bc1f688bSRobert Mustacchi 4210d63b7dSRichard Loweinclude $(SRC)/lib/Makefile.targ 43