blob: 28cb243da90115b2498b0a60f6ad18e211bf7e04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
LIBRARY= libparted.a
VERS= .8
#
# All relative to SRCDIR
#
PLIBDIR= lib
LIBPDIR= libparted
LIBPADIR= libparted/arch
LIBPCSDIR= libparted/cs
LIBAMIGAFS= libparted/fs/amiga
LIBEXT2FS= libparted/fs/ext2
LIBFATFS= libparted/fs/fat
LIBHFS= libparted/fs/hfs
LIBJFS= libparted/fs/jfs
LIBLINUXSWAP= libparted/fs/linux_swap
LIBNTFS= libparted/fs/ntfs
LIBREISERFS= libparted/fs/reiserfs
LIBSOLARISX86= libparted/fs/solaris_x86
LIBUFS= libparted/fs/ufs
LIBXFS= libparted/fs/xfs
LIBLABELS= libparted/labels
OBJECTS= $(PLIBDIR)/basename.o $(PLIBDIR)/quotearg.o \
$(PLIBDIR)/close-stream.o $(PLIBDIR)/regex.o \
$(PLIBDIR)/closeout.o $(PLIBDIR)/rpmatch.o \
$(PLIBDIR)/dirname.o $(PLIBDIR)/safe-read.o \
$(PLIBDIR)/error.o $(PLIBDIR)/safe-write.o \
$(PLIBDIR)/exitfail.o $(PLIBDIR)/strcspn.o \
$(PLIBDIR)/full-write.o $(PLIBDIR)/stripslash.o \
$(PLIBDIR)/getopt.o $(PLIBDIR)/strndup.o \
$(PLIBDIR)/version-etc-fsf.o \
$(PLIBDIR)/localcharset.o $(PLIBDIR)/version-etc.o \
$(PLIBDIR)/long-options.o $(PLIBDIR)/xalloc-die.o \
$(PLIBDIR)/memcpy.o $(PLIBDIR)/xmalloc.o \
$(PLIBDIR)/memmove.o $(PLIBDIR)/xstrndup.o \
$(PLIBDIR)/memset.o \
$(LIBPDIR)/debug.o $(LIBPDIR)/exception.o \
$(LIBPDIR)/device.o $(LIBPDIR)/filesys.o \
$(LIBPDIR)/timer.o $(LIBPDIR)/unit.o \
$(LIBPDIR)/disk.o $(LIBPDIR)/libparted.o \
$(LIBPADIR)/solaris.o \
$(LIBPCSDIR)/constraint.o $(LIBPCSDIR)/geom.o \
$(LIBPCSDIR)/natmath.o \
$(LIBAMIGAFS)/affs.o $(LIBAMIGAFS)/amiga.o \
$(LIBAMIGAFS)/apfs.o $(LIBAMIGAFS)/asfs.o \
$(LIBAMIGAFS)/interface.o \
$(LIBEXT2FS)/interface.o $(LIBEXT2FS)/ext2.o \
$(LIBEXT2FS)/ext2_inode_relocator.o \
$(LIBEXT2FS)/parted_io.o $(LIBEXT2FS)/ext2_meta.o \
$(LIBEXT2FS)/ext2_block_relocator.o \
$(LIBEXT2FS)/ext2_mkfs.o $(LIBEXT2FS)/tune.o \
$(LIBEXT2FS)/ext2_buffer.o $(LIBEXT2FS)/ext2_resize.o \
$(LIBFATFS)/table.o $(LIBFATFS)/bootsector.o \
$(LIBFATFS)/clstdup.o $(LIBFATFS)/count.o \
$(LIBFATFS)/fatio.o $(LIBFATFS)/traverse.o \
$(LIBFATFS)/calc.o $(LIBFATFS)/context.o \
$(LIBFATFS)/fat.o $(LIBFATFS)/resize.o \
$(LIBHFS)/cache.o $(LIBHFS)/probe.o \
$(LIBHFS)/advfs.o $(LIBHFS)/hfs.o \
$(LIBHFS)/file.o $(LIBHFS)/reloc.o \
$(LIBHFS)/advfs_plus.o $(LIBHFS)/journal.o \
$(LIBHFS)/file_plus.o $(LIBHFS)/reloc_plus.o \
$(LIBJFS)/jfs.o \
$(LIBLINUXSWAP)/linux_swap.o \
$(LIBNTFS)/ntfs.o \
$(LIBREISERFS)/geom_dal.o $(LIBREISERFS)/reiserfs.o \
$(LIBSOLARISX86)/solaris_x86.o \
$(LIBUFS)/ufs.o \
$(LIBXFS)/xfs.o \
$(LIBLABELS)/dos.o $(LIBLABELS)/efi_crc32.o \
$(LIBLABELS)/mac.o $(LIBLABELS)/sun.o \
$(LIBLABELS)/aix.o $(LIBLABELS)/dvh.o \
$(LIBLABELS)/gpt.o $(LIBLABELS)/pc98.o \
$(LIBLABELS)/bsd.o $(LIBLABELS)/loop.o \
$(LIBLABELS)/rdb.o \
# include library definitions
include ../../Makefile.lib
SRCDIR = ../common
C99MODE= $(C99_ENABLE)
CERRWARN += -erroff=E_EXTERN_INLINE_UNDEFINED
CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
LIBS = $(DYNLIB)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)/lib -I$(SRCDIR)/include
DYNFLAGS += $(ZINTERPOSE)
LDLIBS += -ldiskmgt -luuid -lc -lnvpair
.KEEP_STATE:
#
# This open source is exempted from lint
#
lint:
# include library targets
include ../../Makefile.targ
|