xref: /titanic_41/usr/src/cmd/make/lib/vroot/Makefile (revision 3625efb1376c3d31a0e742ed72b778e5b3add543)
1*3625efb1SRichard Lowe#
2*3625efb1SRichard Lowe# This file and its contents are supplied under the terms of the
3*3625efb1SRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
4*3625efb1SRichard Lowe# You may only use this file in accordance with the terms of version
5*3625efb1SRichard Lowe# 1.0 of the CDDL.
6*3625efb1SRichard Lowe#
7*3625efb1SRichard Lowe# A full copy of the text of the CDDL should have accompanied this
8*3625efb1SRichard Lowe# source.  A copy of the CDDL is also available via the Internet at
9*3625efb1SRichard Lowe# http://www.illumos.org/license/CDDL.
10*3625efb1SRichard Lowe#
11*3625efb1SRichard Lowe
12*3625efb1SRichard Lowe# Copyright 2015, Richard Lowe.
13*3625efb1SRichard Lowe
14*3625efb1SRichard LoweLIBRARY =	libvroot.a
15*3625efb1SRichard LoweVERS =		.1
16*3625efb1SRichard LoweOBJECTS =	access.o	\
17*3625efb1SRichard Lowe		args.o		\
18*3625efb1SRichard Lowe		chdir.o		\
19*3625efb1SRichard Lowe		chmod.o		\
20*3625efb1SRichard Lowe		chown.o		\
21*3625efb1SRichard Lowe		chroot.o	\
22*3625efb1SRichard Lowe		creat.o		\
23*3625efb1SRichard Lowe		execve.o	\
24*3625efb1SRichard Lowe		lock.o		\
25*3625efb1SRichard Lowe		lstat.o		\
26*3625efb1SRichard Lowe		mkdir.o		\
27*3625efb1SRichard Lowe		mount.o		\
28*3625efb1SRichard Lowe		open.o		\
29*3625efb1SRichard Lowe		readlink.o	\
30*3625efb1SRichard Lowe		report.o	\
31*3625efb1SRichard Lowe		rmdir.o		\
32*3625efb1SRichard Lowe		stat.o		\
33*3625efb1SRichard Lowe		truncate.o	\
34*3625efb1SRichard Lowe		unlink.o	\
35*3625efb1SRichard Lowe		utimes.o	\
36*3625efb1SRichard Lowe		vroot.o		\
37*3625efb1SRichard Lowe		setenv.o
38*3625efb1SRichard Lowe
39*3625efb1SRichard Loweinclude $(SRC)/lib/Makefile.lib
40*3625efb1SRichard Loweinclude ../../Makefile.com
41*3625efb1SRichard Lowe
42*3625efb1SRichard LowePOFILE = libvroot.po
43*3625efb1SRichard LowePOFILES = $(OBJECTS:%.o=%.po)
44*3625efb1SRichard Lowe
45*3625efb1SRichard LoweLIBS = $(LIBRARY)
46*3625efb1SRichard LoweSRCDIR = ../
47*3625efb1SRichard LoweMAPFILES=
48*3625efb1SRichard LoweCPPFLAGS += -D_FILE_OFFSET_BITS=64
49*3625efb1SRichard Lowe
50*3625efb1SRichard Loweall: $(LIBS)
51*3625efb1SRichard Lowe
52*3625efb1SRichard Loweinstall: all
53*3625efb1SRichard Lowe
54*3625efb1SRichard Lowelint:
55*3625efb1SRichard Lowe
56*3625efb1SRichard Lowe$(POFILE): $(POFILES)
57*3625efb1SRichard Lowe	$(CAT) $(POFILES) > $@
58*3625efb1SRichard Lowe
59*3625efb1SRichard Lowe_msg: $(MSGDOMAIN) $(POFILE)
60*3625efb1SRichard Lowe	$(RM) $(MSGDOMAIN)/$(POFILE)
61*3625efb1SRichard Lowe	$(CP) $(POFILE) $(MSGDOMAIN)
62*3625efb1SRichard Lowe
63*3625efb1SRichard Loweinclude $(SRC)/lib/Makefile.targ
64