resetting manifest requested domain to floor
[platform/upstream/acl.git] / libacl / Makefile
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
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 #
18
19 TOPDIR = ..
20
21 LTLDFLAGS += -Wl,--version-script,$(TOPDIR)/exports
22 include $(TOPDIR)/include/builddefs
23
24 LTLIBRARY = libacl.la
25 LTLIBS = -lattr $(LIBMISC)
26 LTDEPENDENCIES = $(LIBMISC)
27 LT_CURRENT = 2
28 LT_REVISION = 0
29 LT_AGE = 1
30
31 CFILES = $(POSIX_CFILES) $(LIBACL_CFILES) $(INTERNAL_CFILES) \
32          perm_copy_fd.c perm_copy_file.c
33 HFILES = libobj.h libacl.h byteorder.h __acl_from_xattr.h __acl_to_xattr.h \
34          perm_copy.h __acl_extended_file.h
35
36 LCFLAGS = -include perm_copy.h
37
38 POSIX_CFILES = \
39         acl_add_perm.c acl_calc_mask.c acl_clear_perms.c acl_copy_entry.c \
40         acl_copy_ext.c acl_copy_int.c acl_create_entry.c acl_delete_def_file.c \
41         acl_delete_entry.c acl_delete_perm.c acl_dup.c acl_free.c \
42         acl_from_text.c acl_get_entry.c acl_get_fd.c acl_get_file.c \
43         acl_get_perm.c acl_get_permset.c acl_get_qualifier.c \
44         acl_get_tag_type.c acl_init.c acl_set_fd.c acl_set_file.c \
45         acl_set_permset.c acl_set_qualifier.c acl_set_tag_type.c acl_to_text.c \
46         acl_valid.c acl_size.c
47
48 LIBACL_CFILES = \
49         acl_to_any_text.c acl_entries.c acl_check.c acl_error.c acl_cmp.c \
50         acl_extended_fd.c acl_extended_file.c acl_equiv_mode.c acl_from_mode.c \
51         acl_extended_file_nofollow.c __acl_extended_file.c
52
53 INTERNAL_CFILES = \
54         __acl_to_any_text.c __acl_to_xattr.c __acl_from_xattr.c \
55         __acl_reorder_obj_p.c __libobj.c __apply_mask_to_mode.c
56
57
58 default: $(LTLIBRARY)
59
60 include $(BUILDRULES)
61
62 install:
63
64 install-dev: default
65         $(INSTALL_LTLIB_DEV)
66
67 install-lib: default
68         $(INSTALL_LTLIB)