xref: /illumos-gate/usr/src/cmd/make/lib/mksh/Makefile (revision 3a51e5c06fdc66b1c3883ded28372f6ae8e9cedb)
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.
138e0c8248SAndrew Stormont# Copyright 2019 RackTop Systems.
1410d63b7dSRichard Lowe
1510d63b7dSRichard LoweLIBRARY =	libmksh.a
1610d63b7dSRichard LoweVERS =		.1
1710d63b7dSRichard LoweOBJECTS =	dosys.o \
1810d63b7dSRichard Lowe		globals.o \
1910d63b7dSRichard Lowe		i18n.o \
2010d63b7dSRichard Lowe		macro.o \
2110d63b7dSRichard Lowe		misc.o \
2210d63b7dSRichard Lowe		mksh.o \
2310d63b7dSRichard Lowe		read.o
2410d63b7dSRichard Lowe
2510d63b7dSRichard Loweinclude $(SRC)/lib/Makefile.lib
2610d63b7dSRichard Loweinclude ../../Makefile.com
2710d63b7dSRichard Lowe
2810d63b7dSRichard LowePOFILE = libmksh.po
29*3a51e5c0SRichard LoweMSGFILES = $(OBJECTS:%.o=%.cc)
3010d63b7dSRichard Lowe
3110d63b7dSRichard LoweLIBS = $(LIBRARY)
3210d63b7dSRichard LoweSRCDIR = ../
3310d63b7dSRichard LoweMAPFILES=
3410d63b7dSRichard LoweCPPFLAGS += -D_FILE_OFFSET_BITS=64
3510d63b7dSRichard Lowe
368e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-unused-variable
378e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-unused-function
388e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-unused-value
398e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-uninitialized
408e0c8248SAndrew Stormont
4110d63b7dSRichard Loweall: $(LIBS)
4210d63b7dSRichard Lowe
4310d63b7dSRichard Loweinstall: all
4410d63b7dSRichard Lowe
45*3a51e5c0SRichard Lowe$(POFILE): pofile_MSGFILES
4610d63b7dSRichard Lowe
47*3a51e5c0SRichard Lowe_msg: $(MSGDOMAINPOFILE)
4810d63b7dSRichard Lowe
4910d63b7dSRichard Loweinclude $(SRC)/lib/Makefile.targ
50*3a51e5c0SRichard Loweinclude $(SRC)/Makefile.msg.targ
51