Changeset 13594


Ignore:
Timestamp:
Apr 11, 2010, 1:20:17 AM (10 years ago)
Author:
gb
Message:

Use "-I./" in .c.o rule in all Makefiles.
Include "ccl-platform.h" in lisp.h.
(These files are still empty; the idea is to try to replace long sequences
of conditional definitions in other headers/sources with platform-specific
definitions in "ccl-platform.h", which in turn may make it a little easier
to define new platforms.

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

Legend:

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

    r13404 r13594  
    3535        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    3636.c.o:
    37         $(CC) -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 $@
     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 $@
    3838
    3939SPOBJ = ppc-spjump.o ppc-spentry.o  ppc-subprims.o
  • trunk/source/lisp-kernel/darwinppc64/Makefile

    r13404 r13594  
    4242        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    4343.c.o:
    44         $(CC) -c $< -arch ppc64 $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -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 $@
    4545
    4646SPOBJ = ppc-spjump.o ppc-spentry.o ppc-subprims.o
  • trunk/source/lisp-kernel/darwinx8632/Makefile

    r13403 r13594  
    3636        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    3737.c.o:
    38         $(CC) -c -arch i386 $< $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -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 $@
    3939
    4040SPOBJ = x86-spjump32.o x86-spentry32.o x86-subprims32.o
  • trunk/source/lisp-kernel/darwinx8664/Makefile

    r13403 r13594  
    5959        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
    6060.c.o:
    61         $(CC) -c $< -arch x86_64 $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) $(MDYNAMIC_NO_PIC) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -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 $@
    6262
    6363SPOBJ = x86-spjump64.o x86-spentry64.o x86-subprims64.o
  • trunk/source/lisp-kernel/freebsdx8632/Makefile

    r13336 r13594  
    6060        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    6161.c.o:
    62         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
     62        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
    6363
    6464LINKSCRIPTFILE = #
  • trunk/source/lisp-kernel/freebsdx8664/Makefile

    r13336 r13594  
    5757        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    5858.c.o:
    59         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
     59        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
    6060
    6161LINKSCRIPTFILE = # ./elf_x86_64.x
  • trunk/source/lisp-kernel/linuxppc/Makefile

    r13066 r13594  
    5656        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(A32) $(ASFLAGS) -o $@
    5757.c.o:
    58         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) $(PPC32) -o $@
     58        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) $(PPC32) -o $@
    5959
    6060SPOBJ = pad.o ppc-spjump.o ppc-spentry.o ppc-subprims.o
  • trunk/source/lisp-kernel/linuxppc64/Makefile

    r13066 r13594  
    4444        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4545.c.o:
    46         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
     46        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
    4747
    4848SPOBJ = pad.o ppc-spjump.o ppc-spentry.o ppc-subprims.o
  • trunk/source/lisp-kernel/linuxx8632/Makefile

    r13336 r13594  
    4242        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4343.c.o:
    44         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
     44        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
    4545
    4646SPOBJ = pad.o x86-spjump32.o x86-spentry32.o x86-subprims32.o
  • trunk/source/lisp-kernel/linuxx8664/Makefile

    r13336 r13594  
    4242        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4343.c.o:
    44         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
     44        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
    4545
    4646SPOBJ = pad.o x86-spjump64.o x86-spentry64.o x86-subprims64.o
  • trunk/source/lisp-kernel/lisp.h

    r13279 r13594  
    2020
    2121
    22 
     22#include "ccl-platform.h"
    2323#include "lisptypes.h"
    2424#ifndef LOWMEM_BIAS
  • trunk/source/lisp-kernel/solarisx64/Makefile

    r13336 r13594  
    4343        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4444.c.o:
    45         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
     45        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
    4646
    4747SPOBJ = pad.o x86-spjump64.o x86-spentry64.o x86-subprims64.o
  • trunk/source/lisp-kernel/solarisx86/Makefile

    r13336 r13594  
    4343        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4444.c.o:
    45         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
     45        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
    4646
    4747SPOBJ = pad.o x86-spjump32.o x86-spentry32.o x86-subprims32.o
  • trunk/source/lisp-kernel/static-linuxppc/Makefile

    r3987 r13594  
    4545        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(A32) $(ASFLAGS) -o $@
    4646.c.o:
    47         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(PPC32) -o $@
     47        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(PPC32) -o $@
    4848
    4949SPOBJ = pad.o ppc-spjump.o ppc-spentry.o ppc-subprims.o
  • trunk/source/lisp-kernel/win32/Makefile

    r13336 r13594  
    5656        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    5757.c.o:
    58         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) ${SUPPRESS_UNDERSCORES} -mno-cygwin -o $@
     58        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) ${SUPPRESS_UNDERSCORES} -mno-cygwin -o $@
    5959
    6060# order matters: x86-spjump32.o must be first.
  • trunk/source/lisp-kernel/win64/Makefile

    r13336 r13594  
    5757        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    5858.c.o:
    59         $(CC) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) ${SUPPRESS_UNDERSCORES} -m64 -o $@
     59        $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) ${SUPPRESS_UNDERSCORES} -m64 -o $@
    6060
    6161SPOBJ = pad.o x86-spjump64.o x86-spentry64.o x86-subprims64.o
Note: See TracChangeset for help on using the changeset viewer.