summaryrefslogtreecommitdiff
path: root/libparted/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-07-19 20:09:29 +0200
committerJim Meyering <meyering@redhat.com>2009-07-19 21:24:15 +0200
commit980c84a39039aad86dc18a71195d7272ad8ae3a1 (patch)
tree3b5f6b6cb86b7adb665ea3c24bac3f10409527d7 /libparted/Makefile.am
parent6b96e557531db279d30cd3d592f3ce46eba24b5b (diff)
downloadparted-980c84a39039aad86dc18a71195d7272ad8ae3a1.tar.gz
build: adjust Makefiles
* libparted/Makefile.am (ARCH_SOURCE): Factor out duplication. * libparted/labels/Makefile.am (partedincludedir): Split long line.
Diffstat (limited to 'libparted/Makefile.am')
-rw-r--r--libparted/Makefile.am14
1 files changed, 6 insertions, 8 deletions
diff --git a/libparted/Makefile.am b/libparted/Makefile.am
index c58081e..0ed01bb 100644
--- a/libparted/Makefile.am
+++ b/libparted/Makefile.am
@@ -1,18 +1,16 @@
# This file is part of GNU Parted
-# Copyright (C) 1999, 2000, 2001, 2007, 2009 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2007, 2009 Free Software Foundation, Inc.
#
# This file may be modified and/or distributed without restriction.
+SUBDIRS_CHECK =
if HAVE_CHECK
SUBDIRS_CHECK = tests
-else
-SUBDIRS_CHECK =
endif
-if BUILD_LINUX
-ARCH_SOURCE = arch/$(OS).c arch/$(OS).h
-else
ARCH_SOURCE = arch/$(OS).c
+if BUILD_LINUX
+ARCH_SOURCE += arch/$(OS).h
endif
SUBDIRS = labels fs . $(SUBDIRS_CHECK)
@@ -39,9 +37,9 @@ libparted_la_SOURCES = debug.c \
$(ARCH_SOURCE)
-EXTRA_libparted_la_SOURCES = arch/linux.c \
+EXTRA_libparted_la_SOURCES = arch/linux.c \
arch/linux.h \
- arch/gnu.c \
+ arch/gnu.c \
arch/beos.c
libparted_la_LIBADD = \