xref: /illumos-gate/usr/src/cmd/make/lib/mksh/Makefile (revision 65bed588e62c7f3a0da5d65fcc588b46b470f5a7)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12# Copyright 2015, Richard Lowe.
13# Copyright 2019 RackTop Systems.
14
15LIBRARY =	libmksh.a
16VERS =		.1
17OBJECTS =	dosys.o \
18		globals.o \
19		i18n.o \
20		macro.o \
21		misc.o \
22		mksh.o \
23		read.o
24
25include $(SRC)/lib/Makefile.lib
26include ../../Makefile.com
27
28POFILE = libmksh.po
29MSGFILES = $(OBJECTS:%.o=%.cc)
30
31LIBS = $(LIBRARY)
32SRCDIR = ../
33MAPFILES=
34CPPFLAGS += -D_FILE_OFFSET_BITS=64
35
36CCERRWARN += -_gcc=-Wno-unused-variable
37CCERRWARN += -_gcc=-Wno-unused-function
38CCERRWARN += -_gcc=-Wno-unused-value
39CCERRWARN += -_gcc=-Wno-uninitialized
40
41all: $(LIBS)
42
43install: all
44
45$(POFILE): pofile_MSGFILES
46
47_msg: $(MSGDOMAINPOFILE)
48
49include $(SRC)/lib/Makefile.targ
50include $(SRC)/Makefile.msg.targ
51