tp/libs/MSL_C/Makefile

152 lines
6.6 KiB
Makefile

#
# Generated By: dol2asm
#
LIBMSL_C_PPCEABI_BARE_H_A_CPP_FILES := \
libs/MSL_C/MSL_Common/Src/abort_exit.c \
libs/MSL_C/MSL_Common/Src/alloc.c \
libs/MSL_C/MSL_Common/Src/errno.c \
libs/MSL_C/MSL_Common/Src/ansi_files.c \
libs/MSL_C/MSL_Common_Embedded/Src/ansi_fp.c \
libs/MSL_C/MSL_Common/Src/arith.c \
libs/MSL_C/MSL_Common/Src/buffer_io.c \
libs/MSL_C/MSL_Common/Src/char_io.c \
libs/MSL_C/PPC_EABI/Src/critical_regions.gamecube.c \
libs/MSL_C/MSL_Common/Src/ctype.c \
libs/MSL_C/MSL_Common/Src/direct_io.c \
libs/MSL_C/MSL_Common/Src/file_io.c \
libs/MSL_C/MSL_Common/Src/FILE_POS.c \
libs/MSL_C/MSL_Common/Src/mbstring.c \
libs/MSL_C/MSL_Common/Src/mem.c \
libs/MSL_C/MSL_Common/Src/mem_funcs.c \
libs/MSL_C/MSL_Common/Src/misc_io.c \
libs/MSL_C/MSL_Common/Src/printf.c \
libs/MSL_C/MSL_Common/Src/scanf.c \
libs/MSL_C/MSL_Common/Src/float.c \
libs/MSL_C/MSL_Common/Src/signal.c \
libs/MSL_C/MSL_Common/Src/string.c \
libs/MSL_C/MSL_Common/Src/strtoul.c \
libs/MSL_C/MSL_Common/Src/wchar_io.c \
libs/MSL_C/PPC_EABI/Src/uart_console_io_gcn.c \
libs/MSL_C/Math/Double_precision/e_acos.c \
libs/MSL_C/Math/Double_precision/e_asin.c \
libs/MSL_C/Math/Double_precision/e_atan2.c \
libs/MSL_C/Math/Double_precision/e_exp.c \
libs/MSL_C/Math/Double_precision/e_fmod.c \
libs/MSL_C/Math/Double_precision/e_pow.c \
libs/MSL_C/Math/Double_precision/e_rem_pio2.c \
libs/MSL_C/Math/Double_precision/k_cos.c \
libs/MSL_C/Math/Double_precision/k_rem_pio2.c \
libs/MSL_C/Math/Double_precision/k_sin.c \
libs/MSL_C/Math/Double_precision/k_tan.c \
libs/MSL_C/Math/Double_precision/s_atan.c \
libs/MSL_C/Math/Double_precision/s_ceil.c \
libs/MSL_C/Math/Double_precision/s_copysign.c \
libs/MSL_C/Math/Double_precision/s_cos.c \
libs/MSL_C/Math/Double_precision/s_floor.c \
libs/MSL_C/Math/Double_precision/s_frexp.c \
libs/MSL_C/Math/Double_precision/s_ldexp.c \
libs/MSL_C/Math/Double_precision/s_modf.c \
libs/MSL_C/Math/Double_precision/s_sin.c \
libs/MSL_C/Math/Double_precision/s_tan.c \
libs/MSL_C/Math/Double_precision/w_acos.c \
libs/MSL_C/Math/Double_precision/w_asin.c \
libs/MSL_C/Math/Double_precision/w_atan2.c \
libs/MSL_C/Math/Double_precision/w_exp.c \
libs/MSL_C/Math/Double_precision/w_fmod.c \
libs/MSL_C/Math/Double_precision/w_pow.c \
libs/MSL_C/Math/Double_precision/e_sqrt.c \
libs/MSL_C/PPC_EABI/Src/math_ppc.c \
libs/MSL_C/Math/Double_precision/w_sqrt.c \
libs/MSL_C/MSL_Common/Src/extras.c \
LIBMSL_C_PPCEABI_BARE_H_A_O_FILES := \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/abort_exit.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/alloc.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/errno.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/ansi_files.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common_Embedded/Src/ansi_fp.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/arith.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/buffer_io.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/char_io.o \
$(BUILD_DIR)/libs/MSL_C/PPC_EABI/Src/critical_regions.gamecube.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/ctype.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/direct_io.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/file_io.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/FILE_POS.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/mbstring.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/mem.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/mem_funcs.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/misc_io.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/printf.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/scanf.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/float.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/signal.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/string.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/strtoul.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/wchar_io.o \
$(BUILD_DIR)/libs/MSL_C/PPC_EABI/Src/uart_console_io_gcn.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/e_acos.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/e_asin.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/e_atan2.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/e_exp.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/e_fmod.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/e_pow.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/e_rem_pio2.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/k_cos.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/k_rem_pio2.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/k_sin.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/k_tan.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_atan.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_ceil.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_copysign.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_cos.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_floor.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_frexp.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_ldexp.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_modf.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_sin.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/s_tan.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/w_acos.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/w_asin.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/w_atan2.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/w_exp.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/w_fmod.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/w_pow.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/e_sqrt.o \
$(BUILD_DIR)/libs/MSL_C/PPC_EABI/Src/math_ppc.o \
$(BUILD_DIR)/libs/MSL_C/Math/Double_precision/w_sqrt.o \
$(BUILD_DIR)/libs/MSL_C/MSL_Common/Src/extras.o \
LIBMSL_C_PPCEABI_BARE_H_A_CFLAGS := \
-O4,p \
-lang=c \
-fp_contract on \
-use_lmw_stmw on \
-inline deferred,auto \
LIBMSL_C_PPCEABI_BARE_H_A_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
$(BUILD_DIR)/libMSL_C.a: $(LIBMSL_C_PPCEABI_BARE_H_A_O_FILES)
@echo linking... $(BUILD_DIR)/libMSL_C.a
@echo $(LIBMSL_C_PPCEABI_BARE_H_A_O_FILES) > build/LIBMSL_C_PPCEABI_BARE_H_A_ofiles
@$(LD) -xm l $(LIBMSL_C_PPCEABI_BARE_H_A_LDFLAGS) -o $(BUILD_DIR)/libMSL_C.a @build/LIBMSL_C_PPCEABI_BARE_H_A_ofiles
$(BUILD_DIR)/libs/MSL_C/%.o: libs/MSL_C/%.c $(BUILD_DIR)/libs/MSL_C/%.d
@mkdir -p $(@D)
@echo building... $<
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
@$(CC) $(CFLAGS) $(LIBMSL_C_PPCEABI_BARE_H_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
ifndef DISABLE_DEPS
LIBMSL_C_PPCEABI_BARE_H_A_D_FILES := $(LIBMSL_C_PPCEABI_BARE_H_A_O_FILES:.o=.d)
$(LIBMSL_C_PPCEABI_BARE_H_A_D_FILES):
include $(wildcard $(LIBMSL_C_PPCEABI_BARE_H_A_D_FILES))
endif