#------------------------------------------------------------------------------ # Include this file only one time #------------------------------------------------------------------------------ ifndef MAKEFILE_INCLUDED MAKEFILE_INCLUDED = YES #------------------------------------------------------------------------------ # Library module (lib) or Binary module (bin) #------------------------------------------------------------------------------ PROCESS = bin #------------------------------------------------------------------------------ # Set the used Api for Open-AT : ADL or OAT (standard Open-AT API) #------------------------------------------------------------------------------ API = ADL #------------------------------------------------------------------------------ # Set GCC Call Stack factor (to increase Call Stack size automatically for GCC compiler) #------------------------------------------------------------------------------ GCC_STACK_SIZE_FACTOR = 3 #------------------------------------------------------------------------------ # List of source files of the library or executable to generate #------------------------------------------------------------------------------ SRC_C_LIST = \ flash.c \ gsm.c \ gprs.c \ tcp.c \ tcp-stat.c \ tcp-secure.c \ sms.c \ gps.c \ geofence.c \ i2c.c \ log-mcu.c \ mcu.c \ sim.c \ aes.c \ zkl-wcpu.c \ #------------------------------------------------------------------------------ # List of assembler files of the library or executable to generate #------------------------------------------------------------------------------ SRC_ASM_LIST = \ #------------------------------------------------------------------------------ # List of objects real names to use for making binary file #------------------------------------------------------------------------------ EXTERNAL_OBJ_LIST = \ #------------------------------------------------------------------------------ # List of objects prefixed names to use for making binary file #------------------------------------------------------------------------------ PREFIXED_OBJ_LIST = \ #------------------------------------------------------------------------------ # List of libraries real names to use for making binary file #------------------------------------------------------------------------------ EXTERNAL_LIB_LIST = \ libm.a \ #------------------------------------------------------------------------------ # List of libraries prefixed names to use for making binary file, inherited from OS #------------------------------------------------------------------------------ PREFIXED_LIB_LIST = \ wmadl_4.25.0.1.0 #------------------------------------------------------------------------------ # List of libraries prefixed names to use for making binary file #------------------------------------------------------------------------------ PREFIXED_LIB_LIST += \ #------------------------------------------------------------------------------ # Plug-in used libraries list #------------------------------------------------------------------------------ ifneq ($(COMPILER),gcc) PREFIXED_LIB_LIST += \ wmwip_3.20.2030 \ wmwipSoft_3.20.2030 \ else EXTERNAL_LIB_LIST += \ mingw_wmwip_3.20.2030.lib \ mingw_wmwipSoft_3.20.2030.lib \ endif #------------------------------------------------------------------------------ # Compilation flags #------------------------------------------------------------------------------ PP_OPT_COMMON = \ __WIP_PLUGIN_VERSION__=320 \ __OAT_API_VERSION__=425 \ __WCPUTYPE__=WCPUTYPE_DEFAULT \ #------------------------------------------------------------------------------ # Path for code C files #------------------------------------------------------------------------------ PATH_C = \ ../../src \ #------------------------------------------------------------------------------ # Path for code ASM files #------------------------------------------------------------------------------ PATH_ASM = $(PATH_C) #------------------------------------------------------------------------------ # Path for include C files #------------------------------------------------------------------------------ PATH_H = \ ../../../../MTinfo/common/include \ ../../src \ . \ #------------------------------------------------------------------------------ # Path for include C files #------------------------------------------------------------------------------ C_OPTIONS += \ SYSTEM_PATH_LIST = \ #------------------------------------------------------------------------------ # Path for include C files, inherited from OS #------------------------------------------------------------------------------ PATH_H += \ C:/OpenAT/OS/4.25.01/ADL/basic \ C:/OpenAT/OS/4.25.01/ADL/itf \ #------------------------------------------------------------------------------ # Path for include C files, inherited from Plug-in Libraries #------------------------------------------------------------------------------ PATH_H += \ C:/OpenAT/Plug-ins/WIP/3.20.2030/WIP/itf \ C:/OpenAT/Plug-ins/WIP/3.20.2030/WIP/itf \ #------------------------------------------------------------------------------ # Path for include ASM files #------------------------------------------------------------------------------ PATH_I = $(PATH_H) #------------------------------------------------------------------------------ # Absolute paths for Object files #------------------------------------------------------------------------------ PATH_EXT_OBJ = \ #------------------------------------------------------------------------------ # Root paths for Object files #------------------------------------------------------------------------------ PATH_ROOT_OBJ = \ #------------------------------------------------------------------------------ # Absolute paths for Library files, inherited from OS #------------------------------------------------------------------------------ PATH_EXT_LIB = \ C:/OpenAT/OS/4.25.01/ADL \ THEMAINOSLIB = \ C:/OpenAT/OS/4.25.01/ADL/$(COMPILER_PREFIX)wmadl_4.25.0.1.0.lib #------------------------------------------------------------------------------ # Absolute paths for Plug-in Library files #------------------------------------------------------------------------------ PATH_EXT_LIB += \ C:/OpenAT/Plug-ins/WIP/3.20.2030/WIP \ C:/OpenAT/Plug-ins/WIP/3.20.2030/WIP \ #------------------------------------------------------------------------------ # Absolute paths for Library files #------------------------------------------------------------------------------ PATH_EXT_LIB += \ /cygdrive/C/OpenAT/IDE/GCC/4.0.1.2/arm-elf/lib/thumb/interwork \ #------------------------------------------------------------------------------ # Root paths for Library files #------------------------------------------------------------------------------ PATH_ROOT_LIB = \ #------------------------------------------------------------------------------ # Memory link addresses #------------------------------------------------------------------------------ ROBASE = 0x00210000 RWBASE = 0x180C0000 endif