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