| 1 |
# |
| 2 |
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. |
| 3 |
# |
| 4 |
# This program is free software; you can redistribute it and/or modify it |
| 5 |
# under the terms of version 2.1 of the GNU Lesser General Public License |
| 6 |
# as published by the Free Software Foundation. |
| 7 |
# |
| 8 |
# This program is distributed in the hope that it would be useful, but |
| 9 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 11 |
# |
| 12 |
# Further, this software is distributed without any warranty that it is |
| 13 |
# free of the rightful claim of any third person regarding infringement |
| 14 |
# or the like. Any license provided herein, whether implied or |
| 15 |
# otherwise, applies only to this software file. Patent licenses, if |
| 16 |
# any, provided herein do not apply to combinations of this program with |
| 17 |
# other software, or any other product whatsoever. |
| 18 |
# |
| 19 |
# You should have received a copy of the GNU Lesser General Public |
| 20 |
# License along with this program; if not, write the Free Software |
| 21 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, |
| 22 |
# USA. |
| 23 |
# |
| 24 |
# Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy, |
| 25 |
# Mountain View, CA 94043, or: |
| 26 |
# |
| 27 |
# http://www.sgi.com |
| 28 |
# |
| 29 |
# For further information regarding this notice, see: |
| 30 |
# |
| 31 |
# http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ |
| 32 |
# |
| 33 |
|
| 34 |
TOPDIR = .. |
| 35 |
|
| 36 |
LTLDFLAGS += -Wl,--version-script,$(TOPDIR)/exports |
| 37 |
include $(TOPDIR)/include/builddefs |
| 38 |
|
| 39 |
LTLIBRARY = libnfs4acl.la |
| 40 |
LTDEPENDENCIES = $(TOPDIR)/include/nfs4.h |
| 41 |
|
| 42 |
# 3 2 1 -> .so.2.1.2 |
| 43 |
# 4 2 1 -> .so.3.1.2 |
| 44 |
# 0 1 0 -> .so.0.0.1 |
| 45 |
LT_CURRENT = 0 |
| 46 |
LT_REVISION = 1 |
| 47 |
LT_AGE = 0 |
| 48 |
|
| 49 |
|
| 50 |
#LIBACL_NFS4_CFILES = \ |
| 51 |
# acl_nfs4_get_who.c \ |
| 52 |
# acl_nfs4_get_whotype.c \ |
| 53 |
# acl_nfs4_new.c \ |
| 54 |
# acl_nfs4_print.c \ |
| 55 |
# acl_nfs4_add_ace.c \ |
| 56 |
# acl_nfs4_remove_ace.c \ |
| 57 |
# acl_nfs4_copy_acl.c \ |
| 58 |
# acl_nfs4_set_who.c \ |
| 59 |
# acl_nfs4_free.c \ |
| 60 |
# acl_nfs4_utils.c \ |
| 61 |
# acl_nfs4_xattr_load.c \ |
| 62 |
# acl_nfs4_xattr_pack.c \ |
| 63 |
# acl_nfs4_xattr_size.c \ |
| 64 |
# acl_nfs4_string2ace.c \ |
| 65 |
# nfs4_acl_for_path.c \ |
| 66 |
# nfs4_init_acl_from_file.c \ |
| 67 |
# nfs4_init_acl_from_string.c \ |
| 68 |
# nfs4_remove_string_entries_from_acl.c \ |
| 69 |
# nfs4_remove_file_entries_from_acl.c \ |
| 70 |
# acl_nfs4_replace_ace.c \ |
| 71 |
# __acl_nfs4_string2ace.c \ |
| 72 |
# nfs4_print_ace.c \ |
| 73 |
# nfs4_print_ace_verbose.c \ |
| 74 |
# nfs4_get_ace_type.c \ |
| 75 |
# nfs4_get_ace_flags.c \ |
| 76 |
# nfs4_get_ace_access.c \ |
| 77 |
# nfs4_set_acl.c |
| 78 |
|
| 79 |
LIBACL_NFS4_CFILES = \ |
| 80 |
acl_nfs4_copy_acl.c \ |
| 81 |
acl_nfs4_get_who.c \ |
| 82 |
acl_nfs4_get_whotype.c \ |
| 83 |
acl_nfs4_set_who.c \ |
| 84 |
acl_nfs4_xattr_load.c \ |
| 85 |
acl_nfs4_xattr_pack.c \ |
| 86 |
acl_nfs4_xattr_size.c \ |
| 87 |
nfs4_ace_from_string.c \ |
| 88 |
nfs4_acl_for_path.c \ |
| 89 |
nfs4_acl_spec_from_file.c \ |
| 90 |
nfs4_acl_utils.c \ |
| 91 |
nfs4_get_ace_access.c \ |
| 92 |
nfs4_get_ace_flags.c \ |
| 93 |
nfs4_get_ace_type.c \ |
| 94 |
nfs4_getacl.c \ |
| 95 |
nfs4_setacl.c \ |
| 96 |
nfs4_insert_file_aces.c \ |
| 97 |
nfs4_insert_string_aces.c \ |
| 98 |
nfs4_free_acl.c \ |
| 99 |
nfs4_new_acl.c \ |
| 100 |
nfs4_new_ace.c \ |
| 101 |
nfs4_print_acl.c \ |
| 102 |
nfs4_print_ace.c \ |
| 103 |
nfs4_print_ace_verbose.c \ |
| 104 |
nfs4_remove_file_aces.c \ |
| 105 |
nfs4_remove_string_aces.c \ |
| 106 |
nfs4_set_acl.c \ |
| 107 |
strtoul_reals.c |
| 108 |
|
| 109 |
|
| 110 |
LIBACL_NFS4_HFILES = libacl_nfs4.h nfs4.h |
| 111 |
|
| 112 |
CFILES = $(LIBACL_NFS4_CFILES) |
| 113 |
|
| 114 |
HFILES = $(LIBACL_NFS4_HFILES) |
| 115 |
|
| 116 |
LCFLAGS = |
| 117 |
|
| 118 |
|
| 119 |
default: $(LTLIBRARY) symmy |
| 120 |
|
| 121 |
# i'm not sure how to get the GUI's qmake-stuff to grok libtool; so we cheat! |
| 122 |
symmy: |
| 123 |
if ! [ -L libnfs4acl.a ]; then ln -s .libs/libnfs4acl.a . ; fi |
| 124 |
|
| 125 |
include $(BUILDRULES) |
| 126 |
|
| 127 |
install: |
| 128 |
|
| 129 |
install-dev: default |
| 130 |
$(INSTALL_LTLIB_DEV) |
| 131 |
|
| 132 |
install-lib: default |
| 133 |
$(INSTALL_LTLIB) |