summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/insmod-modutils/Makefile
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-08-22 14:57:05 +0000
committerMystery Man <unknown@mandriva.org>2005-08-22 14:57:05 +0000
commitc4c6eb3de2799d5544e9cc8703b0261c0a3350d6 (patch)
treeb9f1a4c99ae89c4210c2c2848b16e66430b63700 /mdk-stage1/insmod-modutils/Makefile
parenta723a6e26fc5be438675cc29b636f0b61547ec32 (diff)
downloaddrakx-backup-do-not-use-10_3_0_48mdk.tar
drakx-backup-do-not-use-10_3_0_48mdk.tar.gz
drakx-backup-do-not-use-10_3_0_48mdk.tar.bz2
drakx-backup-do-not-use-10_3_0_48mdk.tar.xz
drakx-backup-do-not-use-10_3_0_48mdk.zip
This commit was manufactured by cvs2svn to create tagV10_3_0_48mdk
'V10_3_0_48mdk'.
Diffstat (limited to 'mdk-stage1/insmod-modutils/Makefile')
-rw-r--r--mdk-stage1/insmod-modutils/Makefile59
1 files changed, 0 insertions, 59 deletions
diff --git a/mdk-stage1/insmod-modutils/Makefile b/mdk-stage1/insmod-modutils/Makefile
deleted file mode 100644
index 48508ba1f..000000000
--- a/mdk-stage1/insmod-modutils/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
- #******************************************************************************
- #
- # insmod from modutils (generic)
- #
- # $Id$
- #
- # Copyright 1996, 1997 Linux International.
- #
- #*****************************************************************************
-
-top_dir = ..
-
-include $(top_dir)/Makefile.common
-
-
-INCS = -I./include
-
-TAINT_URL = http://www.tux.org/lkml/\#export-tainted
-
-DEFS = -Wno-error -D_GNU_SOURCE \
- -DELF_MACHINE_H='"elf_$(ARCH).h"' -DARCH_$(ARCH) \
- -DTAINT_URL='"$(TAINT_URL)"'
-
-
-DIRS = util obj
-
-all: dirs insmod libinsmod.a
-
-dirs:
- @for n in . $(DIRS); do \
- [ "$$n" = "." ] || make -C $$n ;\
- done
-
-clean:
- @for n in $(DIRS); do \
- (cd $$n; make clean) \
- done
- rm -rf t *.o insmod libinsmod.a
-
-
-insmod: insmod-frontend.o insmod.o ./util/libutil-STANDALONE.a ./obj/libobj.a
- $(DIET) gcc -o $@ $^
- $(STRIPCMD) $@
-
-t/.create_stuff: util/libutil.a obj/libobj.a
- rm -rf t
- mkdir t
- cd t && for e in $^; do ar -x ../$$e; done
- touch t/.create_stuff
-
-libinsmod.a: insmod.o t/.create_stuff
- ar cru $@ insmod.o t/*
- ranlib $@
-
-insmod-frontend.o: insmod-frontend.c insmod.c
- $(DIET) gcc $(CFLAGS) $(DEFS) $(INCS) $(INCLUDES) -c insmod-frontend.c
-
-insmod.o: insmod.c
- $(DIET) gcc $(CFLAGS) $(DEFS) $(INCS) $(INCLUDES) -c insmod.c