Debian Codegraph @

libnfs4acl/Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
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 LTLIBS = -lattr
41 LTDEPENDENCIES = $(TOPDIR)/include/nfs4.h
42
43 # 3 2 1 -> .so.2.1.2
44 # 4 2 1 -> .so.3.1.2
45 # 0 1 0 -> .so.0.0.1
46 LT_CURRENT = 0
47 LT_REVISION = 1
48 LT_AGE = 0
49
50
51 #LIBACL_NFS4_CFILES = \
52 # acl_nfs4_get_who.c \
53 # acl_nfs4_get_whotype.c \
54 # acl_nfs4_new.c \
55 # acl_nfs4_print.c \
56 # acl_nfs4_add_ace.c \
57 # acl_nfs4_remove_ace.c \
58 # acl_nfs4_copy_acl.c \
59 # acl_nfs4_set_who.c \
60 # acl_nfs4_free.c \
61 # acl_nfs4_utils.c \
62 # acl_nfs4_xattr_load.c \
63 # acl_nfs4_xattr_pack.c \
64 # acl_nfs4_xattr_size.c \
65 # acl_nfs4_string2ace.c \
66 # nfs4_acl_for_path.c \
67 # nfs4_init_acl_from_file.c \
68 # nfs4_init_acl_from_string.c \
69 # nfs4_remove_string_entries_from_acl.c \
70 # nfs4_remove_file_entries_from_acl.c \
71 # acl_nfs4_replace_ace.c \
72 # __acl_nfs4_string2ace.c \
73 # nfs4_print_ace.c \
74 # nfs4_print_ace_verbose.c \
75 # nfs4_get_ace_type.c \
76 # nfs4_get_ace_flags.c \
77 # nfs4_get_ace_access.c \
78 # nfs4_set_acl.c
79
80 LIBACL_NFS4_CFILES = \
81 acl_nfs4_copy_acl.c \
82 acl_nfs4_get_who.c \
83 acl_nfs4_get_whotype.c \
84 acl_nfs4_set_who.c \
85 acl_nfs4_xattr_load.c \
86 acl_nfs4_xattr_pack.c \
87 acl_nfs4_xattr_size.c \
88 nfs4_ace_from_string.c \
89 nfs4_acl_for_path.c \
90 nfs4_acl_spec_from_file.c \
91 nfs4_acl_utils.c \
92 nfs4_get_ace_access.c \
93 nfs4_get_ace_flags.c \
94 nfs4_get_ace_type.c \
95 nfs4_getacl.c \
96 nfs4_setacl.c \
97 nfs4_insert_file_aces.c \
98 nfs4_insert_string_aces.c \
99 nfs4_free_acl.c \
100 nfs4_new_acl.c \
101 nfs4_new_ace.c \
102 nfs4_print_acl.c \
103 nfs4_print_ace.c \
104 nfs4_print_ace_verbose.c \
105 nfs4_remove_file_aces.c \
106 nfs4_remove_string_aces.c \
107 nfs4_set_acl.c \
108 strtoul_reals.c
109
110
111 LIBACL_NFS4_HFILES = libacl_nfs4.h nfs4.h
112
113 CFILES = $(LIBACL_NFS4_CFILES)
114
115 HFILES = $(LIBACL_NFS4_HFILES)
116
117 LCFLAGS =
118
119
120 default: $(LTLIBRARY) symmy
121
122 # i'm not sure how to get the GUI's qmake-stuff to grok libtool; so we cheat!
123 symmy:
124 if ! [ -L libnfs4acl.a ]; then ln -s .libs/libnfs4acl.a . ; fi
125
126 include $(BUILDRULES)
127
128 install:
129
130 install-dev: default
131 $(INSTALL_LTLIB_DEV)
132
133 install-lib: default
134 $(INSTALL_LTLIB)