FreeCalypso > hg > gsm-codec-lib
view libgsmhr1/Makefile @ 602:72cdae602d6e
libgsmhr1/dec_func.c: rm unused static functions
In the original code, sp_dec.c held two kinds of functions: those
needed only as part of the decoder, and those used by both decoder
and encoder engines. In this library, we have moved the latter
class of functions to dec_func.c module. Almost all static functions
from the original sp_dec.c, with the exception of aToRc(), are
needed only on sp_dec.c side of the new divide - remove them from
dec_func.c, where they became dead code.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 04 Dec 2025 18:58:22 +0000 |
| parents | c7c03231002d |
| children |
line wrap: on
line source
OBJS= dec_func.o dec_state.o dhf_packed.o dhf_params.o dtx_dec.o dtx_rxfe.o \ enc_out_order.o err_conc.o mathdp31.o mathhalf.o pack_frame.o \ paramval_cod.o paramval_common.o paramval_dec.o rtp_in.o \ rtp_in_direct.o rxfe.o rxfe_create.o sid_cw_params.o sid_detect.o \ sid_reset.o sp_dec.o sp_rom.o tfo.o twts002_in.o twts002_out.o \ unpack_frame.o HDRS= dec_func.h dec_state.h dtx_const.h dtx_dec.h dtx_rxfe.h enc_out_order.h\ err_conc.h mathdp31.h mathhalf.h namespace.h rxfe.h sp_rom.h tw_gsmhr.h\ typedefs.h LIB= libgsmhr1.a include ../config.defs DHF_PACK_OBJS= gen-dhf-pack.o dhf_params.o pack_frame.o all: ${LIB} namespace.h: namespace.awk namespace.list awk -f namespace.awk namespace.list > $@ gen-dhf-pack: ${DHF_PACK_OBJS} ${CC} ${CFLAGS} -o $@ ${DHF_PACK_OBJS} dhf_packed.c: gen-dhf-pack ./gen-dhf-pack > $@ ${OBJS}: ${HDRS} ${LIB}: ${OBJS} ar rcu $@ ${OBJS} ranlib $@ install: # mkdir -p ${DESTDIR}${includedir} # install -c -m 444 tw_gsmhr.h ${DESTDIR}${includedir} # mkdir -p ${DESTDIR}${libdir} # install -c -m 444 ${LIB} ${DESTDIR}${libdir} clean: rm -f *.[oa] namespace.h dhf_packed.c gen-dhf-pack errs
