summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/insmod-modutils/Makefile
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2001-06-11 13:49:39 +0000
committerMystery Man <unknown@mandriva.org>2001-06-11 13:49:39 +0000
commit16bde8b3d7027aba56051fbf557b7735eb2ee6aa (patch)
tree0d8736af65eea4a83b8445ee8e2a6d0c951aea67 /mdk-stage1/insmod-modutils/Makefile
parent0a121a8ecd6de894c14d60daf9da2022ec47405c (diff)
downloaddrakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.tar
drakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.tar.gz
drakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.tar.bz2
drakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.tar.xz
drakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.zip
This commit was manufactured by cvs2svn to create branch 'rp-pppoe'.topic/rp-pppoe
Diffstat (limited to 'mdk-stage1/insmod-modutils/Makefile')
-rw-r--r--mdk-stage1/insmod-modutils/Makefile63
1 files changed, 0 insertions, 63 deletions
diff --git a/mdk-stage1/insmod-modutils/Makefile b/mdk-stage1/insmod-modutils/Makefile
deleted file mode 100644
index e8f78d2d0..000000000
--- a/mdk-stage1/insmod-modutils/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
- #******************************************************************************
- #
- # insmod from modutils (generic)
- #
- # $Id$
- #
- # Copyright 1996, 1997 Linux International.
- #
- #*****************************************************************************
-
-top_dir = ..
-
-include $(top_dir)/Makefile.common
-
-
-INCS = -I./include
-
-DEFS = -Wno-error -D_GNU_SOURCE -DELF_MACHINE_H='"elf_$(ARCH).h"' -DARCH_$(ARCH)
-
-
-DIRS = util obj
-
-all: dirs insmod libinsmod.a #libinsmod-DIET.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 libinsmod-DIET.a
-
-
-insmod: insmod-frontend.o insmod.o ./util/libutil-STANDALONE.a ./obj/libobj.a
- 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 $@
-
-libinsmod-DIET.a: insmod-DIET.o ./util/libutil-DIET.a ./obj/libobj-DIET.a
- ar cru $@ $^
- ranlib $@
-
-insmod-frontend.o: insmod-frontend.c insmod.c
- gcc $(CFLAGS) $(DEFS) $(INCS) $(GLIBC_INCLUDES) -c insmod-frontend.c
-
-insmod.o: insmod.c
- gcc $(CFLAGS) $(DEFS) $(INCS) $(GLIBC_INCLUDES) -c insmod.c
-
-insmod-DIET.o: insmod.c
- gcc $(CFLAGS) $(DEFS) $(INCS) $(DIETLIBC_INCLUDES) -o $@ -c insmod.c
-