summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/bzlib/Makefile
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-02-18 18:51:57 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-02-18 18:51:57 +0000
commit3c2b1d8bbed09450c9945006b9b5c5e39b15092f (patch)
tree690c5250587271f62629f3343dae24279f9e2344 /mdk-stage1/bzlib/Makefile
parent36c36f5268eafce32005d2ffd47e0ff506d1e2a3 (diff)
downloaddrakx-3c2b1d8bbed09450c9945006b9b5c5e39b15092f.tar
drakx-3c2b1d8bbed09450c9945006b9b5c5e39b15092f.tar.gz
drakx-3c2b1d8bbed09450c9945006b9b5c5e39b15092f.tar.bz2
drakx-3c2b1d8bbed09450c9945006b9b5c5e39b15092f.tar.xz
drakx-3c2b1d8bbed09450c9945006b9b5c5e39b15092f.zip
- Use minilibc on x86-64
- mar requires bzlib to be built beforehand, especially if building with dietlibc - Nuke trickery to handle -DIET objects, everything is now built through the diet driver, defined into $(DIET)
Diffstat (limited to 'mdk-stage1/bzlib/Makefile')
-rw-r--r--mdk-stage1/bzlib/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/mdk-stage1/bzlib/Makefile b/mdk-stage1/bzlib/Makefile
index 03a2c254b..8e4bba791 100644
--- a/mdk-stage1/bzlib/Makefile
+++ b/mdk-stage1/bzlib/Makefile
@@ -29,27 +29,14 @@ INCS =
TARGETS = $(LIBNAME).a
-ifeq (DIETLIBC, $(L))
-TARGETS += $(LIBNAME)-DIET.a
-endif
-
all: $(TARGETS)
clean:
rm -f *.o *.a
-OBJS-DIET = $(subst .o,-DIET.o,$(OBJS))
-
$(LIBNAME).a: $(OBJS)
ar -cru $@ $^
ranlib $@
-$(LIBNAME)-DIET.a: $(OBJS-DIET)
- ar -cru $@ $^
- ranlib $@
-
$(OBJS): %.o: %.c
- $(CC) $(CFLAGS) $(DEFS) $(INCS) $(GLIBC_INCLUDES) -c $< -o $@
-
-$(OBJS-DIET): %-DIET.o: %.c
- $(CC) $(CFLAGS) $(DEFS) $(INCS) $(DIETLIBC_INCLUDES) -c $< -o $@
+ $(DIET) $(CC) $(CFLAGS) $(DEFS) $(INCS) $(INCLUDES) -c $< -o $@