diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-02-18 18:51:57 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-02-18 18:51:57 +0000 |
commit | 3c2b1d8bbed09450c9945006b9b5c5e39b15092f (patch) | |
tree | 690c5250587271f62629f3343dae24279f9e2344 /mdk-stage1/slang/Makefile | |
parent | 36c36f5268eafce32005d2ffd47e0ff506d1e2a3 (diff) | |
download | drakx-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/slang/Makefile')
-rw-r--r-- | mdk-stage1/slang/Makefile | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/mdk-stage1/slang/Makefile b/mdk-stage1/slang/Makefile index 4cd1dc6bb..01700651d 100644 --- a/mdk-stage1/slang/Makefile +++ b/mdk-stage1/slang/Makefile @@ -29,28 +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 - gcc $(CFLAGS) $(DEFS) $(INCS) $(GLIBC_INCLUDES) -c $< -o $@ - -$(OBJS-DIET): %-DIET.o: %.c - gcc $(CFLAGS) $(DEFS) $(INCS) $(DIETLIBC_INCLUDES) -c $< -o $@ - + $(DIET) gcc $(CFLAGS) $(DEFS) $(INCS) $(INCLUDES) -c $< -o $@ |