From e077860853db46c4813969257c1a9e3025f0974f Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 1 Nov 2005 22:12:53 +0000 Subject: Only because of multi sources I had to touch up these and add code duplication --- libc/stdio/Makefile.in | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'libc/stdio/Makefile.in') diff --git a/libc/stdio/Makefile.in b/libc/stdio/Makefile.in index a2b4aac87..ec4e7c1b2 100644 --- a/libc/stdio/Makefile.in +++ b/libc/stdio/Makefile.in @@ -109,7 +109,10 @@ STDIO_OBJS:=$(STDIO_OBJ) $(STDIO_MOBJ) $(STDIO_CUOBJ) $(STDIO_CLOBJ) # these need special handling or rewrite to support multi-build # CUOBJ -%_unlocked.o %_unlocked.os: %.c +%_unlocked.o: %.c + $(compile.c) -D__DO_UNLOCKED + +%_unlocked.os: %.c $(compile.c) -D__DO_UNLOCKED # need this, else the other %64 files will get false rules @@ -122,10 +125,16 @@ $(STDIO_CLOBJ): %.o : %.c $(STDIO_CLOBJ:.o=.os): %.os : %.c $(compile.c) -D__DO_LARGEFILE -$(STDIO_MOBJ1) $(STDIO_MOBJ1:.o=.os): $(STDIO_MSRC1) +$(STDIO_MOBJ1): $(STDIO_MSRC1) + $(compile.m) + +$(STDIO_MOBJ1:.o=.os): $(STDIO_MSRC1) + $(compile.m) + +$(STDIO_MOBJ2): $(STDIO_MSRC2) $(compile.m) -$(STDIO_MOBJ2) $(STDIO_MOBJ2:.o=.os): $(STDIO_MSRC2) +$(STDIO_MOBJ2:.o=.os): $(STDIO_MSRC2) $(compile.m) libc-a-y+=$(STDIO_OBJS) -- cgit v1.2.3