Print this page
6198 Let's EOL cachefs


   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 (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.

  22 #
  23 
  24 # The filesystem independent utilities clri, fsdb, dcopy, labelit, and mkfs
  25 # are all built from the source file switchout.c. They are all then links
  26 # to the same object. This is accomplished by:
  27 #       1) building clri from switchout.c (had to choose one)
  28 #       2) installing it in the target directory
  29 #       3) linking the others to clri.
  30 # In a similar manner, ncheck is linked to ff.
  31 
  32 DFPROG=         df
  33 PROG=           $(DFPROG) fsck volcopy ff
  34 ROOTFS_PROG=    mount umount
  35 SPPROG=         clri
  36 MNTTAB=         mnttab
  37 DEFAULTFILES=   fs.dfl
  38 
  39 include ../Makefile.cmd
  40 
  41 SUBDIR1= lofs zfs
  42 SUBDIR2= dev fd pcfs nfs hsfs proc ctfs udfs ufs tmpfs cachefs \
  43                 autofs mntfs objfs sharefs smbclnt reparsed
  44 SUBDIRS= $(SUBDIR1) $(SUBDIR2)
  45 I18NDIRS= $(SUBDIR2)
  46 
  47 CLEANFILES +=   deffs.o df.o ff.o fsck.o fssnapsup.o \
  48                 mount.o preenlib.o switchout.o umount.o volcopy.o
  49 
  50 all:=           TARGET= all
  51 install:=       TARGET= install
  52 clean:=         TARGET= clean
  53 clobber:=       TARGET= clobber
  54 lint:=          TARGET= lint
  55 _msg:=          TARGET= catalog
  56 
  57 USRSBINF=       df clri fsck volcopy ff
  58 USRSBINCLRI=    dcopy fsdb fssnap labelit mkfs
  59 USRSBINFF=      ncheck
  60 
  61 ETC2SBIN=       mount umount
  62 ETC2USRSBIN=    clri fsdb mkfs fsck labelit dcopy volcopy ff ncheck




   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 (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  22 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  23 #
  24 
  25 # The filesystem independent utilities clri, fsdb, dcopy, labelit, and mkfs
  26 # are all built from the source file switchout.c. They are all then links
  27 # to the same object. This is accomplished by:
  28 #       1) building clri from switchout.c (had to choose one)
  29 #       2) installing it in the target directory
  30 #       3) linking the others to clri.
  31 # In a similar manner, ncheck is linked to ff.
  32 
  33 DFPROG=         df
  34 PROG=           $(DFPROG) fsck volcopy ff
  35 ROOTFS_PROG=    mount umount
  36 SPPROG=         clri
  37 MNTTAB=         mnttab
  38 DEFAULTFILES=   fs.dfl
  39 
  40 include ../Makefile.cmd
  41 
  42 SUBDIR1= lofs zfs
  43 SUBDIR2= dev fd pcfs nfs hsfs proc ctfs udfs ufs tmpfs \
  44                 autofs mntfs objfs sharefs smbclnt reparsed
  45 SUBDIRS= $(SUBDIR1) $(SUBDIR2)
  46 I18NDIRS= $(SUBDIR2)
  47 
  48 CLEANFILES +=   deffs.o df.o ff.o fsck.o fssnapsup.o \
  49                 mount.o preenlib.o switchout.o umount.o volcopy.o
  50 
  51 all:=           TARGET= all
  52 install:=       TARGET= install
  53 clean:=         TARGET= clean
  54 clobber:=       TARGET= clobber
  55 lint:=          TARGET= lint
  56 _msg:=          TARGET= catalog
  57 
  58 USRSBINF=       df clri fsck volcopy ff
  59 USRSBINCLRI=    dcopy fsdb fssnap labelit mkfs
  60 USRSBINFF=      ncheck
  61 
  62 ETC2SBIN=       mount umount
  63 ETC2USRSBIN=    clri fsdb mkfs fsck labelit dcopy volcopy ff ncheck