new #define used to control inclusion of gstdarg or stdarg for the runtime.

new #define used to control inclusion
        of gstdarg or stdarg for the runtime. .

From-SVN: r4227
This commit is contained in:
Kresten Krab Thorup 1993-04-26 07:38:11 +00:00
parent a31efb86f6
commit c68873264d

View File

@ -29,6 +29,7 @@
.SUFFIXES: .m
OPTIMIZE= -O
CFLAGS = $(GCC_CFLAGS) -DIN_OBJC
VPATH = $(srcdir)/objc
@ -39,11 +40,12 @@ AR_FLAGS = rc
SUBDIR_INCLUDES = -I. -I.. -I$(srcdir) -I$(srcdir)/config
.c.o:
$(GCC_FOR_TARGET) $(OPTIMIZE) -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $<
$(GCC_FOR_TARGET) $(OPTIMIZE) \
-c $(CFLAGS) $(SUBDIR_INCLUDES) $<
.m.o:
$(GCC_FOR_TARGET) $(OPTIMIZE) -fgnu-runtime \
-c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $<
-c $(CFLAGS) $(SUBDIR_INCLUDES) $<
# If we were not invoked from the parent dir,
# invoke make in the parent dir and have reinvoke this makefile.
@ -74,11 +76,11 @@ copy-headers: $(OBJC_H)
done
sendmsg.o: sendmsg.c fflags
$(GCC_FOR_TARGET) `cat fflags` -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $(srcdir)/objc/sendmsg.c
$(GCC_FOR_TARGET) `cat fflags` -c $(CFLAGS) $(SUBDIR_INCLUDES) $(srcdir)/objc/sendmsg.c
## Next to are for heuristics on forwarding mechanism...
_forward: _forward.c
-$(GCC_FOR_TARGET) -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $(srcdir)/objc/_forward.c
-$(GCC_FOR_TARGET) -c $(CFLAGS) $(SUBDIR_INCLUDES) $(srcdir)/objc/_forward.c
-$(GCC_FOR_TARGET) ./_forward.o -o _forward
if [ \! -f ./_forward ]; then touch ./_forward; fi