xref: /illumos-gate/usr/src/cmd/make/lib/vroot/Makefile (revision 1f5207b7604fb44407eb4342aff613f7c4508508)
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
14LIBRARY =	libvroot.a
15VERS =		.1
16OBJECTS =	access.o	\
17		args.o		\
18		chdir.o		\
19		chmod.o		\
20		chown.o		\
21		chroot.o	\
22		creat.o		\
23		execve.o	\
24		lock.o		\
25		lstat.o		\
26		mkdir.o		\
27		mount.o		\
28		open.o		\
29		readlink.o	\
30		report.o	\
31		rmdir.o		\
32		stat.o		\
33		truncate.o	\
34		unlink.o	\
35		utimes.o	\
36		vroot.o		\
37		setenv.o
38
39include $(SRC)/lib/Makefile.lib
40include ../../Makefile.com
41
42POFILE = libvroot.po
43POFILES = $(OBJECTS:%.o=%.po)
44
45LIBS = $(LIBRARY)
46SRCDIR = ../
47MAPFILES=
48CPPFLAGS += -D_FILE_OFFSET_BITS=64
49
50all: $(LIBS)
51
52install: all
53
54lint:
55
56$(POFILE): $(POFILES)
57	$(CAT) $(POFILES) > $@
58
59_msg: $(MSGDOMAIN) $(POFILE)
60	$(RM) $(MSGDOMAIN)/$(POFILE)
61	$(CP) $(POFILE) $(MSGDOMAIN)
62
63include $(SRC)/lib/Makefile.targ
64