Changeset 13607


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

Define, -include PLATFORM_H.

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

Legend:

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

    r13594 r13607  
    3131WFORMAT = -Wno-format
    3232CC=gcc-4.0
     33PLATFORM_H = platform-darwinppc.h
    3334
    3435.s.o:
    3536        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    3637.c.o:
    37         $(CC) -I./ -c -arch ppc $< $(CDEFINES) $(CDEBUG) $(COPT) -Wno-deprecated-declarations $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk  $(MDYNAMIC_NO_PIC) -o $@
     38        $(CC) -include ../$(PLATFORM_H) -c -arch ppc $< $(CDEFINES) $(CDEBUG) $(COPT) -Wno-deprecated-declarations $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk  $(MDYNAMIC_NO_PIC) -o $@
    3839
    3940SPOBJ = ppc-spjump.o ppc-spentry.o  ppc-subprims.o
     
    5051CHEADERS = area.h bits.h ppc-constants.h lisp-errors.h gc.h lisp.h \
    5152        lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
    52         Threads.h lisptypes.h ppc-constants32.h ppc-exceptions.h
     53        Threads.h lisptypes.h ppc-constants32.h ppc-exceptions.h $(PLATFORM_H)
    5354
    5455# Subprims linked into the kernel ?
  • trunk/source/lisp-kernel/darwinppc64/Makefile

    r13594 r13607  
    3838WFORMAT = -Wno-format
    3939CC=gcc-4.0
     40PLATFORM_H = platform-darwinppc64.h
    4041
    4142.s.o:
    4243        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    4344.c.o:
    44         $(CC) -I./ -c $< -arch ppc64 $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
     45        $(CC) -include ../$(PLATFORM_H) -c $< -arch ppc64 $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
    4546
    4647SPOBJ = ppc-spjump.o ppc-spentry.o ppc-subprims.o
     
    5859CHEADERS = area.h bits.h ppc-constants.h lisp-errors.h gc.h lisp.h \
    5960        lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
    60         Threads.h lisptypes.h ppc-constants64.h ppc-exceptions.h
     61        Threads.h lisptypes.h ppc-constants64.h ppc-exceptions.h $(PLATFORM_H)
    6162
    6263# Subprims linked into the kernel ?
Note: See TracChangeset for help on using the changeset viewer.