diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-04 20:04:45 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-04 20:04:45 +0000 |
commit | 02fec4701cee79f875c1d02b8b4aee09380dbcb8 (patch) | |
tree | f4f291aedbb2e60ee58351481858a8cd3ec80b6b /mdk-stage1/mar | |
parent | 9887fe04751edf39e8389f2c3ec3f020b5e1c17d (diff) | |
download | drakx-02fec4701cee79f875c1d02b8b4aee09380dbcb8.tar drakx-02fec4701cee79f875c1d02b8b4aee09380dbcb8.tar.gz drakx-02fec4701cee79f875c1d02b8b4aee09380dbcb8.tar.bz2 drakx-02fec4701cee79f875c1d02b8b4aee09380dbcb8.tar.xz drakx-02fec4701cee79f875c1d02b8b4aee09380dbcb8.zip |
integrate dietlibc/stdio per default for cdrom and disk only installs
Diffstat (limited to 'mdk-stage1/mar')
-rw-r--r-- | mdk-stage1/mar/Makefile | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/mdk-stage1/mar/Makefile b/mdk-stage1/mar/Makefile index 631a944bd..5723bdf9d 100644 --- a/mdk-stage1/mar/Makefile +++ b/mdk-stage1/mar/Makefile @@ -17,27 +17,39 @@ # #***************************************************************************** +top_dir = .. -all: libmar.a mar +include $(top_dir)/Makefile.common + + +all: libmar.a libmar-DIET.a mar clean: - rm -f *.o libmar.a mar + rm -f *.o libmar.a libmar-DIET.a mar FLAGS = -Wall -Werror -Os -fomit-frame-pointer -c mar: mar-frontend.o mar-extract-only-standalone.o gcc -o mar mar-frontend.o mar-extract-only-standalone.o -lz + $(STRIPCMD) $@ libmar.a: mar-extract-only.o ar -cru $@ $^ ranlib $@ -mar-frontend.o: mar-frontend.c mar.h mar-extract-only.h - gcc $(FLAGS) mar-frontend.c +libmar-DIET.a: mar-extract-only-DIET.o + ar -cru $@ $^ + ranlib $@ mar-extract-only.o: mar-extract-only.c mar-extract-only.h mar.h - gcc $(FLAGS) mar-extract-only.c + gcc $(FLAGS) $(GLIBC_INCLUDES) mar-extract-only.c + +mar-extract-only-DIET.o: mar-extract-only.c mar-extract-only.h mar.h + gcc $(FLAGS) $(DIETLIBC_INCLUDES) -o $@ mar-extract-only.c + +mar-frontend.o: mar-frontend.c mar.h mar-extract-only.h + gcc $(FLAGS) $(GLIBC_INCLUDES) mar-frontend.c mar-extract-only-standalone.o: mar-extract-only.c mar-extract-only.h mar.h - gcc $(FLAGS) -o $@ -D_STANDALONE_ mar-extract-only.c + gcc $(FLAGS) $(GLIBC_INCLUDES) -o $@ -D_STANDALONE_ mar-extract-only.c |