aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorgermeier <germeier>2004-03-24 22:14:20 +0000
committergermeier <germeier>2004-03-24 22:14:20 +0000
commit195314b4b75fb568677f3b81a1971a881c67cdf1 (patch)
tree6b0fd5e43a4343c8327ecc3f6d49edd0c1e7008e /kernel
parentefe455139fa6d17aa74e71453870675bb67f6795 (diff)
downloadmpiosh-195314b4b75fb568677f3b81a1971a881c67cdf1.tar.gz
mpiosh-195314b4b75fb568677f3b81a1971a881c67cdf1.tar.bz2
mpiosh-195314b4b75fb568677f3b81a1971a881c67cdf1.zip
small build environment updates
updated mpio.spec.in file
Diffstat (limited to 'kernel')
-rw-r--r--kernel/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/Makefile.am b/kernel/Makefile.am
index f483040..b5248f2 100644
--- a/kernel/Makefile.am
+++ b/kernel/Makefile.am
@@ -4,7 +4,9 @@ KCFLAGS=-D__KERNEL__ -Wall -Wstrict-prototypes -O2 \
EXTRA_DIST=mpio.c
-all: mpio.o
+all: @MPIO_KERNEL@
+
+kernel: mpio.o
mpio.o: mpio.c
$(CC) -c $(KCFLAGS) $(INCLUDES) $<
@@ -16,5 +18,6 @@ distclean:
rm -f mpio.o
install-data-local:
+ @test -n "@MODULE_PATH@" || exit 0
$(mkinstalldirs) $(DESTDIR)@MODULE_PATH@
$(INSTALL_SCRIPT) -m 644 mpio.o $(DESTDIR)@MODULE_PATH@