From d013a55e9422f251ce92decfbf39336064fd6c27 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Sun, 2 Mar 2003 23:11:38 +0000 Subject: mdadm-1.1.0 --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 82efc4cb..9fb83ed9 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,9 @@ MAN4DIR = $(MANDIR)/man4 MAN5DIR = $(MANDIR)/man5 MAN8DIR = $(MANDIR)/man8 + +KLIBC=/home/src/klibc/klibc-0.77 + OBJS = mdadm.o config.o mdstat.o ReadMe.o util.o Manage.o Assemble.o Build.o Create.o Detail.o Examine.o Monitor.o dlink.o Kill.o Query.o SRCS = mdadm.c config.c mdstat.c ReadMe.c util.c Manage.c Assemble.c Build.c Create.c Detail.c Examine.c Monitor.c dlink.c Kill.c Query.c @@ -69,6 +72,10 @@ mdadm.tcc : $(SRCS) mdadm.h mdadm.uclibc : $(SRCS) mdadm.h $(UCLIBC_GCC) -DUCLIBC -o mdadm.uclibc $(SRCS) +mdadm.klibc : $(SRCS) mdadm.h + rm -f $(OBJS) + gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIBC)/linux/include -I$(KLIBC)/klibc/arch/i386/include -I$(KLIBC)/klibc/include/bits32 $(CFLAGS) $(SRCS) + mdadm.man : mdadm.8 nroff -man mdadm.8 > mdadm.man @@ -87,7 +94,7 @@ install : mdadm mdadm.8 md.4 mdadm.conf.5 $(INSTALL) -D -m 644 mdadm.conf.5 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 clean : - rm -f mdadm $(OBJS) core *.man mdadm.tcc mdadm.uclibc + rm -f mdadm $(OBJS) core *.man mdadm.tcc mdadm.uclibc mdadm.static dist : clean ./makedist -- cgit v1.2.3