1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 1996 Sun Microsystems, Inc. All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # @(#)Variant.mk 1.28 06/12/12
  25 #
  26 
  27 TOP =           ../../../..
  28 include $(TOP)/rules/master.mk
  29 include $(TOP)/rules/dmake.mk
  30 
  31 PKG_TOP =       $(TOP)/Make
  32 CPPFLAGS +=     -I$(PKG_TOP)/include
  33 
  34 CCSRCS =        \
  35                 access.cc \
  36                 args.cc \
  37                 chdir.cc \
  38                 chmod.cc \
  39                 chown.cc \
  40                 chroot.cc \
  41                 creat.cc \
  42                 execve.cc \
  43                 lock.cc \
  44                 lstat.cc \
  45                 mkdir.cc \
  46                 mount.cc \
  47                 open.cc \
  48                 readlink.cc \
  49                 report.cc \
  50                 rmdir.cc \
  51                 stat.cc \
  52                 statfs.cc \
  53                 truncate.cc \
  54                 unlink.cc \
  55                 unmount.cc \
  56                 utimes.cc \
  57                 vroot.cc \
  58                 setenv.cc
  59 
  60 
  61 HDRS_DIR =      $(PKG_TOP)/include/vroot
  62 
  63 .INIT: $(HDRS_DIR)/args.h $(HDRS_DIR)/report.h $(HDRS_DIR)/vroot.h
  64 
  65 LIBNAME =       libvroot.a
  66 MSG_FILE = libvroot.msg
  67 I18N_DIRS = $(SRC)
  68 
  69 include $(TOP)/Make/lib/Lib.mk
  70 include $(TOP)/rules/lib.mk
  71