Changeset 13605


Ignore:
Timestamp:
Apr 11, 2010, 10:12:35 AM (9 years ago)
Author:
gb
Message:

Define, -include PLATFORM_H.
Ensure that <sys/types.h> is #included.
Don't trivially redefine _LARGEFILE64_SOURCE_, which may be defined
in the platform-specific header file.

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

Legend:

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

    r13594 r13605  
    3737# however.
    3838WFORMAT = -Wno-format
     39PLATFORM_H = platform-solarisx64.h
    3940
    4041
     
    4344        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4445.c.o:
    45         $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
     46        $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m64 -o $@
    4647
    4748SPOBJ = pad.o x86-spjump64.o x86-spentry64.o x86-subprims64.o
     
    5960CHEADERS = area.h bits.h x86-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 x86-constants64.h x86-exceptions.h lisptypes.h
     62        Threads.h x86-constants64.h x86-exceptions.h lisptypes.h $(PLATFORM_H)
    6263
    6364
  • trunk/source/lisp-kernel/solarisx86/Makefile

    r13594 r13605  
    3737# however.
    3838WFORMAT = -Wno-format
    39 
     39PLATFORM_H = platform-solarisx86.h
    4040
    4141
     
    4343        $(M4) $(M4FLAGS) -I../ $< | $(AS)  $(ASFLAGS) -o $@
    4444.c.o:
    45         $(CC) -I./ -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
     45        $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) -m32 -o $@
    4646
    4747SPOBJ = pad.o x86-spjump32.o x86-spentry32.o x86-subprims32.o
     
    5959CHEADERS = area.h bits.h x86-constants.h lisp-errors.h gc.h lisp.h \
    6060        lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
    61         Threads.h x86-constants32.h x86-exceptions.h lisptypes.h
     61        Threads.h x86-constants32.h x86-exceptions.h lisptypes.h $(PLATFORM_H)
    6262
    6363
Note: See TracChangeset for help on using the changeset viewer.