|
|
1.1 ! root 1: # Alpha Mach makefile fragment ! 2: # Copyright 2002 Free Software Foundation, Inc. ! 3: # ! 4: # Permission to use, copy, modify and distribute this software and its ! 5: # documentation is hereby granted, provided that both the copyright ! 6: # notice and this permission notice appear in all copies of the ! 7: # software, derivative works or modified versions, and any portions ! 8: # thereof, and that both notices appear in supporting documentation. ! 9: # ! 10: # THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS ! 11: # "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY ! 12: # LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE ! 13: # USE OF THIS SOFTWARE. ! 14: ! 15: ! 16: # Some of the alpha-specific code checks for these. ! 17: DEFINES += -Dalpha=1 ! 18: ! 19: # Source files for any alpha kernel ! 20: dec-files = ln_copy.c ! 21: alpha-files = alpha_init.c alpha_instruction.c alpha_mem_ops.c \ ! 22: alpha_scb.c alpha_startup.c ast_check.c pcb.c pmap.c \ ! 23: trap.c ! 24: ! 25: # Assembler source ! 26: dec-Sfiles = ! 27: alpha-Sfiles = alpha_cache.S alpha_copyin.S alpha_cpu.S alpha_lock.S \ ! 28: context.S locore.S prom_interface.S supage.S ! 29: ! 30: objfiles += $(addsuffix .o,$(basename $(dec-files) $(dec-Sfiles) \ ! 31: $(alpha-files) $(alpha-Sfiles))) ! 32: vpath %.c $(sysdep)/dec $(sysdep)/alpha ! 33: vpath %.S $(sysdep)/dec $(sysdep)/alpha ! 34: ! 35: ! 36: ! 37: # Where to find some things ! 38: vpath alphaasm.sym $(sysdep)/alpha ! 39: ! 40: $(patsubst %.S,%.o,$(dec-Sfiles) $(alpha-Sfiles)): alphaasm.h ! 41: ! 42: # Our include files are here; make sure they PRECEDE the generic ones. ! 43: INCLUDES := -I$(sysdep)/dec -I$(sysdep)/alpha \ ! 44: -I$(sysdep)/include -I$(sysdep) \ ! 45: $(INCLUDES) ! 46: ! 47: # arrange suitable load address ! 48: KERN_LDFLAGS += -Ttext 0xfffffc0001000000 ! 49: ! 50: # Assemble .S files correctly ! 51: ASFLAGS += -DASSEMBLER ! 52: ! 53: ! 54: # Header files we install ! 55: ! 56: alpha-installed-headers := $(addprefix mach/alpha/,\ ! 57: alpha_instruction.h asm.h boolean.h exception.h \ ! 58: kern_return.h machine_types.defs \ ! 59: syscall_sw.h thread_status.h \ ! 60: vm_param.h vm_types.h)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.