OSDN Git Service

tests: skip failing use of mkfs.hfs unless using newer, fixed version
[android-x86/external-parted.git] / libparted / Makefile.am
1 # This file is part of GNU Parted
2 # Copyright (C) 1999-2001, 2007, 2009-2012 Free Software Foundation, Inc.
3 #
4 # This file may be modified and/or distributed without restriction.
5
6 SUBDIRS_CHECK =
7 if HAVE_CHECK
8 SUBDIRS_CHECK += tests
9 endif
10
11 ARCH_SOURCE = arch/$(OS).c
12
13 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
14
15 SUBDIRS       = labels fs . $(SUBDIRS_CHECK)
16
17
18 partedincludedir = \
19   -I$(top_srcdir)/lib -I$(top_builddir)/include -I$(top_srcdir)/include
20 lib_LTLIBRARIES = libparted.la
21
22 # Set the shared library version, per Libtool's guidelines.
23 # For details, see the "Updating library version information" section of
24 # "info libtool".
25 CURRENT = 1
26 REVISION = 0
27 AGE = 0
28
29 libparted_la_LDFLAGS  = -version-info $(CURRENT):$(REVISION):$(AGE)
30
31 libparted_la_SOURCES  = debug.c                 \
32                         architecture.c          \
33                         architecture.h          \
34                         device.c                \
35                         exception.c             \
36                         filesys.c               \
37                         libparted.c             \
38                         timer.c                 \
39                         unit.c                  \
40                         disk.c                  \
41                         cs/geom.c               \
42                         cs/constraint.c         \
43                         cs/natmath.c            \
44                         $(ARCH_SOURCE)
45
46
47 EXTRA_libparted_la_SOURCES    = arch/linux.c    \
48                                 arch/linux.h    \
49                                 arch/gnu.c      \
50                                 arch/beos.c
51
52 libparted_la_LIBADD =   \
53   fs/libfs.la           \
54   labels/liblabels.la   \
55   $(top_builddir)/lib/libgnulib.la \
56   $(OS_LIBS)            \
57   $(DL_LIBS)            \
58   $(DM_LIBS)            \
59   $(SELINUX_LIBS)       \
60   $(LIB_BLKID)          \
61   $(INTLLIBS)
62
63 EXTRA_DIST            = mbr.s
64
65 INCLUDES = $(partedincludedir) $(INTLINCS)