OSDN Git Service

Revert "History with undo and redo capabilities."
[android-x86/external-parted.git] / libparted / Makefile.am
1 # This file is part of GNU Parted
2 # Copyright (C) 1999, 2000, 2001, 2007 Free Software Foundation, Inc.
3 #
4 # This file may be modified and/or distributed without restriction.
5
6 if HAVE_CHECK
7 SUBDIRS_CHECK = tests
8 else
9 SUBDIRS_CHECK =
10 endif
11
12 SUBDIRS       = labels fs . $(SUBDIRS_CHECK)
13
14
15 partedincludedir      = -I$(top_srcdir)/lib -I$(top_srcdir)/include
16 lib_LTLIBRARIES       = libparted.la
17 libparted_la_LDFLAGS  = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
18                                                 -release $(LT_RELEASE)
19 libparted_la_SOURCES  = debug.c                 \
20                         device.c                \
21                         exception.c             \
22                         filesys.c               \
23                         libparted.c             \
24                         timer.c                 \
25                         unit.c                  \
26                         disk.c                  \
27                         cs/geom.c               \
28                         cs/constraint.c         \
29                         cs/natmath.c            \
30                         arch/blkpg.h            \
31                         arch/$(OS).c
32
33 EXTRA_libparted_la_SOURCES    = arch/linux.c            \
34                                 arch/gnu.c \
35                                 arch/beos.c
36
37 libparted_la_LIBADD   = $(OS_LIBS)              \
38                         $(DL_LIBS)              \
39                         $(DM_LIBS)              \
40                         $(SELINUX_LIBS)         \
41                         $(INTLLIBS)             \
42                         fs/libfs.la             \
43                         labels/liblabels.la
44
45 EXTRA_DIST            = mbr.s
46
47 INCLUDES = $(partedincludedir) $(INTLINCS)
48
49 MAINTAINERCLEANFILES = Makefile.in