Changeset 13602


Ignore:
Timestamp:
Apr 11, 2010, 9:40:50 AM (10 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/linuxppc/Makefile

    r13594 r13602  
    2929# however.
    3030WFORMAT = -Wno-format
     31PLATFORM_H = platform-linuxppc.h
    3132
    3233# If the linker supports a "--hash-style=" option, use traditional
     
    5657        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(A32) $(ASFLAGS) -o $@
    5758.c.o:
    58         $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) $(PPC32) -o $@
     59        $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) $(PPC32) -o $@
    5960
    6061SPOBJ = pad.o ppc-spjump.o ppc-spentry.o ppc-subprims.o
     
    7172CHEADERS = area.h bits.h ppc-constants.h lisp-errors.h gc.h lisp.h \
    7273        lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
    73         Threads.h ppc-constants32.h ppc-exceptions.h
     74        Threads.h ppc-constants32.h ppc-exceptions.h $(PLATFORM_H)
    7475
    7576# Subprims linked into the kernel ?
  • trunk/source/lisp-kernel/linuxppc64/Makefile

    r13594 r13602  
    2929# than elsewhere, but most gcc format warnings are still nonsense.
    3030WFORMAT = -Wno-format
     31PLATFORM_H = platform-linuxppc64.h
    3132
    3233# If the linker supports a "--hash-style=" option, use traditional
     
    4445        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4546.c.o:
    46         $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
     47        $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
    4748
    4849SPOBJ = pad.o ppc-spjump.o ppc-spentry.o ppc-subprims.o
     
    5960CHEADERS = area.h bits.h ppc-constants.h lisp-errors.h gc.h lisp.h \
    6061        lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
    61         Threads.h ppc-constants64.h ppc-exceptions.h
     62        Threads.h ppc-constants64.h ppc-exceptions.h $(PLATFORM_H)
    6263
    6364# Subprims linked into the kernel ?
Note: See TracChangeset for help on using the changeset viewer.