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
|
# This file is part of GNU Parted
# Copyright (C) 1999-2001, 2007, 2009-2010 Free Software Foundation,
# Inc.
#
# This file may be modified and/or distributed without restriction.
SUBDIRS_CHECK =
if HAVE_CHECK
SUBDIRS_CHECK += tests
endif
ARCH_SOURCE = arch/$(OS).c
if BUILD_LINUX
ARCH_SOURCE += arch/$(OS).h
endif
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
SUBDIRS = labels fs . $(SUBDIRS_CHECK)
partedincludedir = -I$(top_srcdir)/lib -I$(top_srcdir)/include
lib_LTLIBRARIES = libparted.la
# Set the shared library version, per Libtool's guidelines.
# For details, see the "Libtool's versioning system" section of "info libtool"
CURRENT = 0
REVISION = 1
AGE = 0
libparted_la_LDFLAGS = -version-info $(CURRENT):$(REVISION):$(AGE)
libparted_la_SOURCES = debug.c \
architecture.c \
architecture.h \
device.c \
exception.c \
filesys.c \
libparted.c \
timer.c \
unit.c \
disk.c \
cs/geom.c \
cs/constraint.c \
cs/natmath.c \
$(ARCH_SOURCE)
EXTRA_libparted_la_SOURCES = arch/linux.c \
arch/linux.h \
arch/gnu.c \
arch/beos.c
libparted_la_LIBADD = \
fs/libfs.la \
labels/liblabels.la \
$(top_builddir)/lib/libgnulib.la \
$(OS_LIBS) \
$(DL_LIBS) \
$(DM_LIBS) \
$(SELINUX_LIBS) \
$(LIB_BLKID) \
$(INTLLIBS)
EXTRA_DIST = mbr.s
INCLUDES = $(partedincludedir) $(INTLINCS)
MAINTAINERCLEANFILES = Makefile.in
|