summaryrefslogtreecommitdiffstats
path: root/libparted/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:16:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:16:34 +0000
commita398d2c2b5fd6ab0545d8bb019f9a970b2309404 (patch)
tree272fc7ab226258d7ceddee12c8c682c8e711c2b0 /libparted/Makefile.am
parentInitial commit. (diff)
downloadparted-a398d2c2b5fd6ab0545d8bb019f9a970b2309404.tar.xz
parted-a398d2c2b5fd6ab0545d8bb019f9a970b2309404.zip
Adding upstream version 3.6.upstream/3.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libparted/Makefile.am')
-rw-r--r--libparted/Makefile.am65
1 files changed, 65 insertions, 0 deletions
diff --git a/libparted/Makefile.am b/libparted/Makefile.am
new file mode 100644
index 0000000..db29a18
--- /dev/null
+++ b/libparted/Makefile.am
@@ -0,0 +1,65 @@
+# This file is part of GNU Parted
+# Copyright (C) 1999-2001, 2007, 2009-2014, 2019-2023 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
+
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
+
+SUBDIRS = labels fs . $(SUBDIRS_CHECK)
+
+
+partedincludedir = \
+ -I$(top_srcdir)/lib -I$(top_builddir)/include -I$(top_srcdir)/include
+lib_LTLIBRARIES = libparted.la
+
+# Set the shared library version, per Libtool's guidelines.
+# For details, see the "Updating library version information" section of
+# "info libtool".
+CURRENT = 2
+REVISION = 5
+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) \
+ $(DM_LIBS) \
+ $(LIB_BLKID) \
+ $(UUID_LIBS) \
+ $(INTLLIBS)
+
+EXTRA_DIST = mbr.s
+
+AM_CPPFLAGS = $(partedincludedir) $(INTLINCS)