xref: /illumos-gate/usr/src/tools/make/lib/vroot/Makefile (revision b30d193948be5a7794d7ae3ba0ed9c2f72c88e0f)
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 =	libvroot.a
16VERS =		.1
17OBJECTS =	access.o	\
18		args.o		\
19		chdir.o		\
20		chmod.o		\
21		chown.o		\
22		chroot.o	\
23		creat.o		\
24		execve.o	\
25		lock.o		\
26		lstat.o		\
27		mkdir.o		\
28		mount.o		\
29		open.o		\
30		readlink.o	\
31		report.o	\
32		rmdir.o		\
33		stat.o		\
34		truncate.o	\
35		unlink.o	\
36		utimes.o	\
37		vroot.o		\
38		setenv.o
39
40include $(SRC)/lib/Makefile.lib
41include ../../Makefile.com
42
43LIBS = $(LIBRARY)
44SRCDIR = $(SRC)/cmd/make/lib/vroot
45MAPFILES=
46CPPFLAGS += -D_FILE_OFFSET_BITS=64
47
48CCERRWARN += -_gcc=-Wno-unused-variable
49CCERRWARN += -_gcc=-Wno-parentheses
50
51all: $(LIBS)
52
53install: all
54
55lint:
56
57# We can't create CTF in the tools build because of a bootstrap bug with the new CTF
58$(DYNLIB) := CTFMERGE_POST= :
59CTFCONVERT_O= :
60
61include $(SRC)/lib/Makefile.targ
62