summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-01 22:12:53 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-01 22:12:53 +0000
commite077860853db46c4813969257c1a9e3025f0974f (patch)
tree2f5a051dc1fb50dd9ce9552c4312569133b913e9 /libc/stdio
parent8b9c2bd0462a1185eaa4d320472106e9aa0c7646 (diff)
Only because of multi sources I had to touch up these and add code duplication
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/Makefile.in15
1 files changed, 12 insertions, 3 deletions
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)