FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/services/Audio/audio.mak @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 # | |
2 # Makefile for Audio Riviera service (ARM compiler) | |
3 # | |
4 # Copyright (c) Texas Instruments 2001 | |
5 # | |
6 # Author: Mazard Francois | |
7 # Date : 12 July 2001 | |
8 | |
9 # Compilation flags | |
10 AUDIO_FLAGS = $(NODBG) $(16INST) -mn $(CFLAGSSERVICES) | |
11 WIN_AUDIO_FLAGS := $($(TP)CFLAGS) $(CFLAGSSERVICES) -I$(SYSTEM_DIR)/main -I$(SERVICES_DIR)/audio/tests -I$(DRIVERS_CORE_DIR)/abb -I$(RIVIERA_DIR)/tests/rv -I$(LAYER1_DIR)/audio_cust0 /D "OP_RIV_AUDIO=1" | |
12 | |
13 # Libraries definition | |
14 LIB_AUDIO := $(OUT_LIB_DIR)/audio.lib | |
15 CFG_LIBS += $(LIB_AUDIO) | |
16 | |
17 # Source definition | |
18 ifdef AUDIO_SOURCE | |
19 COMMON_SRC_AUDIO := $(SERVICES_DIR)/audio/audio_env.c \ | |
20 $(SERVICES_DIR)/audio/audio_api.c \ | |
21 $(SERVICES_DIR)/audio/audio_error_hdlr.c \ | |
22 $(SERVICES_DIR)/audio/audio_task.c \ | |
23 $(SERVICES_DIR)/audio/audio_keybeep.c \ | |
24 $(SERVICES_DIR)/audio/audio_tones.c \ | |
25 $(SERVICES_DIR)/audio/audio_melody_E1.c \ | |
26 $(SERVICES_DIR)/audio/audio_melody_E2.c \ | |
27 $(SERVICES_DIR)/audio/audio_ffs.c \ | |
28 $(SERVICES_DIR)/audio/audio_vm.c \ | |
29 $(SERVICES_DIR)/audio/audio_vm_play.c \ | |
30 $(SERVICES_DIR)/audio/audio_vm_record.c \ | |
31 $(SERVICES_DIR)/audio/audio_compatibilities.c \ | |
32 $(SERVICES_DIR)/audio/audio_sr_enroll.c \ | |
33 $(SERVICES_DIR)/audio/audio_sr_update.c \ | |
34 $(SERVICES_DIR)/audio/audio_sr_reco.c \ | |
35 $(SERVICES_DIR)/audio/audio_sr.c \ | |
36 $(SERVICES_DIR)/audio/audio_mode.c \ | |
37 $(SERVICES_DIR)/audio/audio_mode_full_write.c \ | |
38 $(SERVICES_DIR)/audio/audio_mode_load.c \ | |
39 $(SERVICES_DIR)/audio/audio_mode_save.c \ | |
40 $(SERVICES_DIR)/audio/audio_mode_drivers.c \ | |
41 $(SERVICES_DIR)/audio/audio_mode_volume.c \ | |
42 $(SERVICES_DIR)/audio/audio_midi.c | |
43 | |
44 SRC_AUDIO += $(COMMON_SRC_AUDIO) \ | |
45 $(SERVICES_DIR)/audio/audio_vm_amr.c \ | |
46 $(SERVICES_DIR)/audio/audio_vm_amr_play.c \ | |
47 $(SERVICES_DIR)/audio/audio_vm_amr_record.c \ | |
48 $(SERVICES_DIR)/audio/audio_driver.c | |
49 | |
50 WIN_SRC_AUDIO += $(COMMON_SRC_AUDIO) \ | |
51 $(LAYER1_DIR)/audio_cfile/l1audio_abb.c | |
52 endif | |
53 | |
54 # Objects and dependencies definition | |
55 OBJ_AUDIO := $(patsubst ../%.c,$(TEMPORARY_FILE_DIR)/%.obj,$(filter %.c,$($(TP)SRC_AUDIO))) | |
56 CFG_OBJS += $(OBJ_AUDIO) | |
57 CFG_DEPS += $(OBJ_AUDIO:.obj=.d) | |
58 | |
59 | |
60 ######## LIBRARIES ############# | |
61 $(LIB_AUDIO) : $(OBJ_AUDIO) | |
62 $(MKDIR) $(dir $@) | |
63 $($(TP)LINKER) $($(TP)LFLAGS) $($(TP)LOUTOUT_FLAG)$@ $^ | |
64 | |
65 ######## OBJECTS ############# | |
66 $(OBJ_AUDIO) : $(TEMPORARY_FILE_DIR)/%.obj: ../%.c | |
67 $($(TP)COMPILER) $($(TP)AUDIO_FLAGS) $($(TP)COUTPUT_FLAG)$(@D)/ $< |