summaryrefslogtreecommitdiffstats
path: root/bootdisk
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-06-09 11:16:49 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-06-09 12:26:50 -1000
commit801759103c4174434d2694ef2c5adae74b4a360e (patch)
treeea050b928e9eeb9241067857307b88d2c9dcb545 /bootdisk
parent8462702c0bfac6be3d33b17a7ff209be0fb9a7b5 (diff)
downloadanaconda-801759103c4174434d2694ef2c5adae74b4a360e.tar.gz
anaconda-801759103c4174434d2694ef2c5adae74b4a360e.tar.xz
anaconda-801759103c4174434d2694ef2c5adae74b4a360e.zip
Convert bootdisk/ to Makefile.am
Diffstat (limited to 'bootdisk')
-rw-r--r--bootdisk/Makefile31
-rw-r--r--bootdisk/Makefile.am22
-rw-r--r--bootdisk/i386/Makefile.am25
-rw-r--r--bootdisk/ppc/Makefile.am26
-rw-r--r--bootdisk/s390x/Makefile.am25
-rw-r--r--bootdisk/x86_64/Makefile.am25
6 files changed, 123 insertions, 31 deletions
diff --git a/bootdisk/Makefile b/bootdisk/Makefile
deleted file mode 100644
index 3596b0392..000000000
--- a/bootdisk/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Makefile
-#
-# Copyright (C) 2007 Red Hat, Inc. All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-include ../Makefile.inc
-
-all:
-
-install:
- rm -rf $(DESTDIR)/$(RUNTIMEDIR)/boot
- mkdir -p $(DESTDIR)/$(RUNTIMEDIR)/boot
- if [ -d $(ARCH) ]; then \
- cp -av $(ARCH)/[a-z]* $(DESTDIR)/$(RUNTIMEDIR)/boot; \
- fi
-
-depend:
diff --git a/bootdisk/Makefile.am b/bootdisk/Makefile.am
new file mode 100644
index 000000000..8615f6a92
--- /dev/null
+++ b/bootdisk/Makefile.am
@@ -0,0 +1,22 @@
+# bootdisk/Makefile.am for anaconda
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: David Cantrell <dcantrell@redhat.com>
+
+SUBDIRS = i386 ppc s390x x86_64
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/bootdisk/i386/Makefile.am b/bootdisk/i386/Makefile.am
new file mode 100644
index 000000000..32f1188eb
--- /dev/null
+++ b/bootdisk/i386/Makefile.am
@@ -0,0 +1,25 @@
+# bootdisk/i386/Makefile.am for anaconda
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: David Cantrell <dcantrell@redhat.com>
+
+if IS_I386
+bootdir = $(libdir)/$(PACKAGE_NAME)-runtime/boot
+dist_boot_DATA = boot.msg grub.conf syslinux.cfg
+endif
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/bootdisk/ppc/Makefile.am b/bootdisk/ppc/Makefile.am
new file mode 100644
index 000000000..f754c3bb9
--- /dev/null
+++ b/bootdisk/ppc/Makefile.am
@@ -0,0 +1,26 @@
+# bootdisk/ppc/Makefile.am for anaconda
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: David Cantrell <dcantrell@redhat.com>
+
+if IS_PPC
+bootdir = $(libdir)/$(PACKAGE_NAME)-runtime/boot
+dist_boot_DATA = magic ofboot.b yaboot.conf.in bootinfo.txt mapping \
+ yaboot.conf.3264
+endif
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/bootdisk/s390x/Makefile.am b/bootdisk/s390x/Makefile.am
new file mode 100644
index 000000000..3c215607b
--- /dev/null
+++ b/bootdisk/s390x/Makefile.am
@@ -0,0 +1,25 @@
+# bootdisk/s390x/Makefile.am for anaconda
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: David Cantrell <dcantrell@redhat.com>
+
+if IS_S390
+bootdir = $(libdir)/$(PACKAGE_NAME)-runtime/boot
+dist_boot_DATA = generic.ins generic.prm redhat.exec
+endif
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/bootdisk/x86_64/Makefile.am b/bootdisk/x86_64/Makefile.am
new file mode 100644
index 000000000..78886cd7e
--- /dev/null
+++ b/bootdisk/x86_64/Makefile.am
@@ -0,0 +1,25 @@
+# bootdisk/x86_64/Makefile.am for anaconda
+#
+# Copyright (C) 2009 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: David Cantrell <dcantrell@redhat.com>
+
+if IS_X86_64
+bootdir = $(libdir)/$(PACKAGE_NAME)-runtime/boot
+dist_boot_DATA = boot.msg grub.conf syslinux.cfg
+endif
+
+MAINTAINERCLEANFILES = Makefile.in