@@ -22,11 +22,13 @@ debug:
2222 $(MAKE ) DBG=yes all
2323
2424
25- BUILD_TEST_ALTS = ../lib/fix_frame_channel_layout.h ../lib/dtmf_rx_fillin.h ../lib/spandsp_logging.h
25+ BUILD_TEST_ALTS := ../lib/fix_frame_channel_layout.compat \
26+ ../lib/dtmf_rx_fillin.compat \
27+ ../lib/spandsp_logging.compat
2628
2729clean :
2830 rm -f $(OBJS ) $(TARGET ) $(MANS ) $(ADD_CLEAN ) core core.*
29- rm -f $(BUILD_TEST_ALTS ) $(BUILD_TEST_ALTS:.h =-test ) * .strhash.c
31+ rm -f $(BUILD_TEST_ALTS ) $(BUILD_TEST_ALTS:.compat =-test ) * .strhash.c
3032
3133install :
3234
@@ -39,19 +41,19 @@ $(OBJS): Makefile ../include/* ../lib/*.h ../kernel-module/*.h
3941 -M " date:$( BUILD_DATE) " \
4042 -o " $@ "
4143
42- resample.c codeclib.strhash.c mix.c packet.c : ../lib/fix_frame_channel_layout.h
44+ resample.c codeclib.strhash.c mix.c packet.c : ../lib/fix_frame_channel_layout.compat
4345
4446ifeq ($(with_transcoding ) ,yes)
45- ../daemon/codec.c codec.c : ../lib/dtmf_rx_fillin.h
46- media_player.c ../daemon/media_player.c ../daemon/codec.c codec.c test-resample.c : ../lib/fix_frame_channel_layout.h
47+ ../daemon/codec.c codec.c : ../lib/dtmf_rx_fillin.compat
48+ media_player.c ../daemon/media_player.c ../daemon/codec.c codec.c test-resample.c : ../lib/fix_frame_channel_layout.compat
4749endif
4850
49- t38.c ../daemon/t38.c : ../lib/spandsp_logging.h
51+ t38.c ../daemon/t38.c : ../lib/spandsp_logging.compat
5052
5153% .strhash.c : % .c ../utils/const_str_hash
5254 ../utils/const_str_hash " $<" $(CFLAGS ) < " $<" > " $@ "
5355
54- $(BUILD_TEST_ALTS ) : $(wildcard $(subst .h ,-* ,$(BUILD_TEST_ALTS ) ) )
56+ $(BUILD_TEST_ALTS ) : $(wildcard $(subst .compat ,-* ,$(BUILD_TEST_ALTS ) ) )
5557 ../utils/build_test_wrapper " $@ "
5658
5759.PHONY : all debug clean install
0 commit comments