Changeset 13600


Ignore:
Timestamp:
Apr 11, 2010, 9:26:27 AM (9 years ago)
Author:
gb
Message:

Define PLATFORM_H, force its inclusion via -include. (This needs to be
done on other platforms as well; so far, only darwinx86 has been tested
at all.)

Location:
trunk/source/lisp-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/darwinx8632/Makefile

    r13594 r13600  
    3232WFORMAT = -Wno-format
    3333CC=gcc-4.0
     34PLATFORM_H = platform-darwinx8632.h
    3435
    3536.s.o:
    3637        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    3738.c.o:
    38         $(CC) -I./ -c -arch i386 $< $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
     39        $(CC) -include ../$(PLATFORM_H) -c -arch i386 $< $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
    3940
    4041SPOBJ = x86-spjump32.o x86-spentry32.o x86-subprims32.o
     
    5253CHEADERS = area.h bits.h x86-constants.h lisp-errors.h gc.h lisp.h \
    5354        lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
    54         Threads.h lisptypes.h x86-constants32.h x86-exceptions.h
     55        Threads.h lisptypes.h x86-constants32.h x86-exceptions.h $(PLATFORM_H)
    5556
    5657# Subprims linked into the kernel ?
  • trunk/source/lisp-kernel/darwinx8664/Makefile

    r13594 r13600  
    5555# however.
    5656WFORMAT = -Wno-format
     57PLATFORM_H = platform-darwinx8664.h
    5758
    5859.s.o:
    5960        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    6061.c.o:
    61         $(CC) -I./ -c $< -arch x86_64 $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) $(MDYNAMIC_NO_PIC) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
     62        $(CC) -include ../$(PLATFORM_H) -c $< -arch x86_64 $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) $(MDYNAMIC_NO_PIC) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
    6263
    6364SPOBJ = x86-spjump64.o x86-spentry64.o x86-subprims64.o
     
    7576CHEADERS = area.h bits.h x86-constants.h lisp-errors.h gc.h lisp.h \
    7677        lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
    77         Threads.h lisptypes.h x86-constants64.h x86-exceptions.h
     78        Threads.h lisptypes.h x86-constants64.h x86-exceptions.h $(PLATFORM_H)
    7879
    7980# Subprims linked into the kernel ?
Note: See TracChangeset for help on using the changeset viewer.