prism2.device: Compiler delint
[AROS.git] / config / target.cfg.in
bloba3b31ea84ec9bbae5b3ac2c630035932ff019bb8
1 #   Copyright © 1995-2011, The AROS Development Team. All rights reserved.
2 #   $Id$
4 #   Desc: target.cfg - an autoconf output file for make variables.
7 # -------------------------------------------------------------------------- 
8 # TARGET SECTION
9 # -------------------------------------------------------------------------- 
10 FAMILY          := @aros_target_family@
11 FLAVOUR         := @aros_flavour@
12 SHARED_MOD      := @aros_shared_default@
14 TARGET_CPP      := @aros_target_cpp@
15 KERNEL_CPP      := @aros_kernel_cpp@
16 TARGET_CC       := @aros_cc_pre@ @aros_target_cc@
17 KERNEL_CC       := @aros_kernel_cc@
18 TARGET_CXX      := @aros_target_cxx@
19 TARGET_AS       := @aros_target_as@
20 TARGET_LD       := @aros_target_ld@
21 SHARED_LD       := @aros_shared_ld@
22 KERNEL_LD       := @aros_kernel_ld@
23 GENMAP          := @aros_target_genmap@
24 TARGET_OBJCOPY  := @aros_target_objcopy@
26 ifeq ($(DEBUG),yes)
27 TARGET_STRIP    := @NOP@
28 else
29 TARGET_STRIP    := @aros_target_strip@ @aros_target_strip_flags@
30 endif
32 TARGET_OBJDUMP  := @aros_target_objdump@
33 KERNEL_RESCOMP  := @aros_kernel_rescomp@
35 CONFIG_CFLAGS   := @aros_config_cflags@
36 CONFIG_AFLAGS   := @aros_config_aflags@
37 CONFIG_LDFLAGS  := @aros_config_ldflags@
38 SHARED_CFLAGS   := @aros_shared_cflags@
39 SHARED_AFLAGS   := @aros_shared_aflags@
40 SHARED_LDFLAGS  := @aros_shared_ldflags@
41 KERNEL_CFLAGS   := @aros_kernel_cflags@
42 KERNEL_OBJCFLAGS := @aros_kernel_objcflags@
43 KERNEL_INCLUDES := @aros_kernel_includes@
44 KERNEL_LDFLAGS  := @aros_kernel_ldflags@
45 TARGET_CFLAGS   := @aros_target_cflags@
46 DEBUG_CFLAGS    := @aros_debug_cflags@
47 DEBUG_AFLAGS    := @aros_debug_aflags@
48 DEBUG_LDFLAGS   := @aros_debug_ldflags@
50 NOSTDINC_CFLAGS   := @aros_target_nostdinc_cflags@
51 KERNEL_IQUOTE     := @kernel_cflags_iquote@
52 KERNEL_IQUOTE_END := @kernel_cflags_iquote_end@
53 CFLAGS_IQUOTE     := @aros_cflags_iquote@
54 CFLAGS_IQUOTE_END := @aros_cflags_iquote_end@
55 NOSTARTUP_LDFLAGS := @aros_target_nostartup_ldflags@
56 NIX_LDFLAGS       := @aros_target_nix_ldflags@
57 DETACH_LDFLAGS    := @aros_target_detach_ldflags@
58 NOSTDLIB_LDFLAGS  := @aros_target_nostdlib_ldflags@
60 UNUSED_BUT_SET_VARIABLE_CFLAGS := @aros_cflags_unused_but_set_variable@
61 ARRAY_BOUNDS_CFLAGS            := @aros_cflags_array_bounds@
62 ENUM_COMPARE_CFLAGS            := @aros_cflags_enum_compare@
63 STRICT_OVERFLOW_CFLAGS         := @aros_cflags_strict_overflow@
64 FORMAT_SECURITY_CFLAGS         := @aros_cflags_format_security@
66 COMPILER_LIBS   := @aros_compiler_libs@
67 ARCH_LIBS       := @aros_arch_libs@
69 AR              := @aros_target_ar@
70 AR_PLAIN        := @aros_plain_ar@
71 KERNEL_AR       := @aros_kernel_ar@
72 RANLIB          := @aros_target_ranlib@
73 KERNEL_RANLIB   := @aros_kernel_ranlib@
74 NM              := @aros_target_nm@
75 NM_PLAIN        := @aros_plain_nm@
76 OBJCOPY         := @aros_target_objcopy@
77 OBJDUMP         := @aros_target_objdump@
78 STRIP_PLAIN     := @aros_target_strip@
80 # Apple iOS specific
81 IOS_PLATFORM    := @aros_ios_platform@
82 IOS_OS_VERSION  := @aros_ios_version@
83 IOS_SDK_PATH    := @aros_ios_sdk@
85 # ARM gcc default target
86 GCC_DEFAULT_CPU := @gcc_default_cpu@
87 GCC_DEFAULT_FPU := @gcc_default_fpu@
88 GCC_DEFAULT_FLOAT_ABI := @gcc_default_float_abi@
90 # --------------------------------------------------------------------------
91 # MAGIC: This is needed here for MetaMake to work. mmake will read the
92 # configured version of this file to find out a number of variables.
93 # --------------------------------------------------------------------------
94 HOSTDIR         := $(TOP)/bin/$(AROS_HOST_ARCH)-$(AROS_HOST_CPU)
95 TOOLDIR         := $(HOSTDIR)/tools
96 GENMF           := $(TOOLDIR)/genmf.py
97 ARCH            := $(AROS_TARGET_ARCH)
98 CPU             := $(AROS_TARGET_CPU)
99 CC              := $(TARGET_CC)
100 AS              := $(TARGET_AS)
102 # Bootloader
103 AROS_TARGET_BOOTLOADER := @aros_target_bootloader@
105 # Optional components
106 X11_HIDD_TARGET       := @x11_hidd_target@
107 SDL_HIDD_TARGET       := @sdl_hidd_target@
108 PCI_HIDD_TARGET       := @pci_hidd_target@
109 OSS_LIBRARY_TARGET    := @oss_library_target@
110 CROSSTOOLS_TARGET     := @crosstools_target@
111 CROSSTOOLS_CXX_TARGET := @crosstools_cxx_target@
113 # Defined as 'yes' if we can build our own toolchain.
114 # This is a prerequisite for ObjectiveC and C++ support,
115 # since they depend on the AROS C Library
116 AROS_TARGET_TOOLCHAIN := @aros_target_toolchain@
118 HOST_X11_CFLAGS := $(addprefix -I,@aros_host_x11_includes@)
119 HOST_X11_LIBS   := $(addprefix -L,@aros_host_x11_libdirs@) -lX11
120 HOST_SDL_CFLAGS := @aros_host_sdl_cflags@
121 HOST_SDL_LIBS   := @aros_host_sdl_libs@
123 SDL_CFLAGS      := @SDL_CFLAGS@
125 # DBUS flags
126 ENABLE_DBUS     := @ENABLE_DBUS@
127 DBUS_CFLAGS     := @DBUS_CFLAGS@
128 DBUS_LIBFLAGS   := @DBUS_LIBFLAGS@
130 # MMU flags
131 USE_MMU         := @aros_enable_mmu@
133 # Kernel private includes, in order of precedence:
134 PRIV_KERNEL_INCLUDES := -I$(SRCDIR)/arch/$(CPU)-$(ARCH)/kernel \
135                         -I$(SRCDIR)/arch/all-$(ARCH)/kernel
136 ifneq ($(FAMILY),)
137 PRIV_KERNEL_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/kernel
138 endif
139 PRIV_KERNEL_INCLUDES += -I$(SRCDIR)/arch/$(CPU)-all/kernel \
140                         -I$(SRCDIR)/rom/kernel
142 # Exec private includes, in order of precedence:
143 PRIV_EXEC_INCLUDES := -I$(SRCDIR)/arch/$(CPU)-$(ARCH)/exec \
144                       -I$(SRCDIR)/arch/all-$(ARCH)/exec
145 ifneq ($(FAMILY),)
146 PRIV_EXEC_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/exec
147 endif
148 PRIV_EXEC_INCLUDES += -I$(SRCDIR)/arch/$(CPU)-all/exec \
149                       -I$(SRCDIR)/rom/exec