xref: /illumos-gate/usr/src/tools/make/lib/vroot/Makefile (revision 8e0c8248)
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 =	libvroot.a
1610d63b7dSRichard LoweVERS =		.1
1710d63b7dSRichard LoweOBJECTS =	access.o	\
1810d63b7dSRichard Lowe		args.o		\
1910d63b7dSRichard Lowe		chdir.o		\
2010d63b7dSRichard Lowe		chmod.o		\
2110d63b7dSRichard Lowe		chown.o		\
2210d63b7dSRichard Lowe		chroot.o	\
2310d63b7dSRichard Lowe		creat.o		\
2410d63b7dSRichard Lowe		execve.o	\
2510d63b7dSRichard Lowe		lock.o		\
2610d63b7dSRichard Lowe		lstat.o		\
2710d63b7dSRichard Lowe		mkdir.o		\
2810d63b7dSRichard Lowe		mount.o		\
2910d63b7dSRichard Lowe		open.o		\
3010d63b7dSRichard Lowe		readlink.o	\
3110d63b7dSRichard Lowe		report.o	\
3210d63b7dSRichard Lowe		rmdir.o		\
3310d63b7dSRichard Lowe		stat.o		\
3410d63b7dSRichard Lowe		truncate.o	\
3510d63b7dSRichard Lowe		unlink.o	\
3610d63b7dSRichard Lowe		utimes.o	\
3710d63b7dSRichard Lowe		vroot.o		\
3810d63b7dSRichard Lowe		setenv.o
3910d63b7dSRichard Lowe
4010d63b7dSRichard Loweinclude $(SRC)/lib/Makefile.lib
4110d63b7dSRichard Loweinclude ../../Makefile.com
4210d63b7dSRichard Lowe
4310d63b7dSRichard LoweLIBS = $(LIBRARY)
4410d63b7dSRichard LoweSRCDIR = $(SRC)/cmd/make/lib/vroot
4510d63b7dSRichard LoweMAPFILES=
4610d63b7dSRichard LoweCPPFLAGS += -D_FILE_OFFSET_BITS=64
4710d63b7dSRichard Lowe
48*8e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-unused-variable
49*8e0c8248SAndrew StormontCCERRWARN += -_gcc=-Wno-parentheses
50*8e0c8248SAndrew Stormont
5110d63b7dSRichard Loweall: $(LIBS)
5210d63b7dSRichard Lowe
5310d63b7dSRichard Loweinstall: all
5410d63b7dSRichard Lowe
5510d63b7dSRichard Lowelint:
5610d63b7dSRichard Lowe
57bc1f688bSRobert Mustacchi# We can't create CTF in the tools build because of a bootstrap bug with the new CTF
58bc1f688bSRobert Mustacchi$(DYNLIB) := CTFMERGE_POST= :
59bc1f688bSRobert MustacchiCTFCONVERT_O= :
60bc1f688bSRobert Mustacchi
6110d63b7dSRichard Loweinclude $(SRC)/lib/Makefile.targ
62