these patches are all cosmetic, and should not alter the resulting build. mostly making the build process a bit quieter and making mkdep so that it works on non-linux machines 8^) jim@reptiles.org --- orig/agi/Makefile 2003-05-05 20:00:20.000000000 -0400 +++ agi/Makefile 2003-08-03 12:29:52.000000000 -0400 @@ -32,7 +32,9 @@ %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< +ifneq ($(wildcard .depend),) include .depend +endif depend: .depend --- orig/apps/Makefile 2003-07-26 11:12:37.000000000 -0400 +++ apps/Makefile 2003-08-03 12:30:02.000000000 -0400 @@ -75,7 +75,9 @@ look: look.c gcc -pipe -O6 -g look.c -o look -lncurses +ifneq ($(wildcard .depend),) include .depend +endif depend: .depend --- orig/Makefile 2003-07-28 10:43:07.000000000 -0400 +++ Makefile 2003-08-03 12:21:34.000000000 -0400 @@ -162,7 +162,9 @@ exit 1; \ fi +ifneq ($(wildcard .depend),) include .depend +endif _version: if [ -d CVS ] && ! [ -f .version ]; then echo "CVS-`date +"%D-%T"`" > .version; fi --- orig/mkdep 2003-05-06 18:27:46.000000000 -0400 +++ mkdep 2003-08-03 12:10:35.000000000 -0400 @@ -1,4 +1,4 @@ -#!/bin/bash - +#!/bin/sh - # # $OpenBSD: mkdep.gcc.sh,v 1.8 1998/09/02 06:40:07 deraadt Exp $ # $NetBSD: mkdep.gcc.sh,v 1.9 1994/12/23 07:34:59 jtc Exp $ --- orig/astman/Makefile 2003-05-05 20:00:20.000000000 -0400 +++ astman/Makefile 2003-08-03 12:30:12.000000000 -0400 @@ -21,7 +21,9 @@ astman: astman.o ../md5.o $(CC) -o astman astman.o ../md5.o -lnewt +ifneq ($(wildcard .depend),) include .depend +endif depend: .depend --- orig/cdr/Makefile 2003-05-05 20:00:20.000000000 -0400 +++ cdr/Makefile 2003-08-03 12:30:18.000000000 -0400 @@ -40,7 +40,9 @@ %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< +ifneq ($(wildcard .depend),) include .depend +endif cdr_mysql.so: cdr_mysql.o $(CC) -shared -Xlinker -x -o $@ $< -lmysqlclient -lz $(MLFLAGS) --- orig/channels/Makefile 2003-05-05 20:00:20.000000000 -0400 +++ channels/Makefile 2003-08-03 12:30:24.000000000 -0400 @@ -64,7 +64,9 @@ %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< +ifneq ($(wildcard .depend),) include .depend +endif gentone: gentone.c $(CC) -o gentone gentone.c -lm --- orig/codecs/gsm/inc/config.h 2003-02-12 08:59:14.000000000 -0500 +++ codecs/gsm/inc/config.h 2003-08-04 15:03:44.000000000 -0400 @@ -9,29 +9,29 @@ #ifndef CONFIG_H #define CONFIG_H -/*efine SIGHANDLER_T int /* signal handlers are void */ -/*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */ +//#define SIGHANDLER_T int /* signal handlers are void */ +//#define HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */ #define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */ -/*efine HAS_LIMITS_H 1 /* /usr/include/limits.h */ +//#define HAS_LIMITS_H 1 /* /usr/include/limits.h */ #define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */ -/*efine HAS_ERRNO_DECL 1 /* errno.h declares errno */ +//#define HAS_ERRNO_DECL 1 /* errno.h declares errno */ #define HAS_FSTAT 1 /* fstat syscall */ #define HAS_FCHMOD 1 /* fchmod syscall */ #define HAS_CHMOD 1 /* chmod syscall */ #define HAS_FCHOWN 1 /* fchown syscall */ #define HAS_CHOWN 1 /* chown syscall */ -/*efine HAS__FSETMODE 1 /* _fsetmode -- set file mode */ +//#define HAS__FSETMODE 1 /* _fsetmode -- set file mode */ #define HAS_STRING_H 1 /* /usr/include/string.h */ -/*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ +//#define HAS_STRINGS_H 1 /* /usr/include/strings.h */ #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */ #define HAS_UTIME 1 /* POSIX utime(path, times) */ -/*efine HAS_UTIMES 1 /* use utimes() syscall instead */ +//#define HAS_UTIMES 1 /* use utimes() syscall instead */ #define HAS_UTIME_H 1 /* UTIME header file */ -/*efine HAS_UTIMBUF 1 /* struct utimbuf */ -/*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ +//#define HAS_UTIMBUF 1 /* struct utimbuf */ +//#define HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ #endif /* CONFIG_H */ --- orig/codecs/gsm/src/code.c 2003-02-12 08:59:14.000000000 -0500 +++ codecs/gsm/src/code.c 2003-08-04 15:08:01.000000000 -0400 @@ -8,9 +8,8 @@ #include "config.h" - -#ifdef HAS_STDLIB_H -#include +#ifdef HAS_STRING_H +#include #else # include "proto.h" extern char * memcpy P((char *, char *, int)); @@ -86,7 +85,6 @@ */ { register int i; - register longword ltmp; for (i = 0; i <= 39; i++) dp[ i ] = GSM_ADD( e[5 + i], dpp[i] ); } --- orig/codecs/ilbc/iLBC_define.h 2003-04-15 00:36:52.000000000 -0400 +++ codecs/ilbc/iLBC_define.h 2003-08-04 13:09:36.000000000 -0400 @@ -152,6 +152,500 @@ } iLBC_Dec_Inst_t; +void anaFilter( + float *In, /* (i) Signal to be filtered */ + float *a, /* (i) LP parameters */ + int len,/* (i) Length of signal */ + float *Out, /* (o) Filtered signal */ + float *mem /* (i/o) Filter state */ +); +void iCBSearch( + int *index, /* (o) Codebook indices */ + int *gain_index,/* (o) Gain quantization indices */ + float *intarget,/* (i) Target vector for encoding */ + float *mem, /* (i) Buffer for codebook construction */ + int lMem, /* (i) Length of buffer */ + int lTarget, /* (i) Length of vector */ + int nStages, /* (i) Number of codebook stages */ + float *weightDenum, /* (i) weighting filter coefficients */ + float *weightState, /* (i) weighting filter state */ + int block /* (i) the subblock number */ +); +void packsplit( + int *index, /* (i) the value to split */ + int *firstpart, /* (o) the value specified by most + significant bits */ + int *rest, /* (o) the value specified by least + significant bits */ + int bitno_firstpart, /* (i) number of bits in most + significant part */ + int bitno_total /* (i) number of bits in full range + of value */ +); +void packcombine( + int *index, /* (i/o) the msb value in the + combined value out */ + int rest, /* (i) the lsb value */ + int bitno_rest /* (i) the number of bits in the + lsb part */ +); +void dopack( + unsigned char **bitstream, /* (i/o) on entrance pointer to place + in bitstream to pack new data, + on exit pointer to place in + bitstream to pack future + data */ + int index, /* (i) the value to pack */ + int bitno, /* (i) the number of bits that the + value will fit within */ + int *pos /* (i/o) write position in the + current byte */ +); +void unpack( + unsigned char **bitstream, /* (i/o) on entrance pointer to + place in bitstream to + unpack new data from, on + exit pointer to place in + bitstream to unpack future + data from */ + int *index, /* (o) resulting value */ + int bitno, /* (i) number of bits used to + represent the value */ + int *pos /* (i/o) read position in the + current byte */ +); +float gainquant(/* (o) quantized gain value */ + float in, /* (i) gain value */ + float maxIn,/* (i) maximum of gain value */ + int cblen, /* (i) number of quantization indices */ + int *index /* (o) quantization index */ +); +float gaindequant( /* (o) quantized gain value */ + int index, /* (i) quantization index */ + float maxIn,/* (i) maximum of unquantized gain */ + int cblen /* (i) number of quantization indices */ +); +short initDecode( /* (o) Number of decoded + samples */ + iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) Decoder instance */ + int use_enhancer /* (i) 1 to use enhancer + 0 to run without + enhancer */ +); +void Decode( + float *decresidual, /* (o) decoded residual frame */ + int start, /* (i) location of start state */ + int idxForMax, /* (i) codebook index for the maximum + value */ + int *idxVec, /* (i) codebook indexes for the samples + in the start state */ + float *syntdenum, /* (i) the decoded synthesis filter + coefficients */ + int *cb_index, /* (i) the indexes for the adaptive + codebook */ + int *gain_index, /* (i) the indexes for the corresponding + gains */ + int *extra_cb_index,/* (i) the indexes for the adaptive + codebook part of start state */ + int *extra_gain_index, /* (i) the indexes for the corresponding + gains */ + int state_first /* (i) 1 if non adaptive part of start + state comes first 0 if that part + comes last */ +); +void iLBC_decode( + float *decblock, /* (o) decoded signal block */ + unsigned char *bytes, /* (i) encoded signal bits */ + iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) the decoder state + structure */ + int mode /* (i) 0: bad packet, PLC, + 1: normal */ +); +void StateConstructW( + int idxForMax, /* (i) 6-bit index for the quantization of + max amplitude */ + int *idxVec, /* (i) vector of quantization indexes */ + float *syntDenum, /* (i) synthesis filter denumerator */ + float *out, /* (o) the decoded state vector */ + int len /* (i) length of a state vector */ +); +void filteredCBvecs( + float *cbvectors, /* (o) Codebook vectors for the higher +section */ + float *mem, /* (i) Buffer to create codebook vector from +*/ + int lMem /* (i) Length of buffer */ +); +void searchAugmentedCB( + int low, /* (i) Start index for the search */ + int high, /* (i) End index for the search */ + int stage, /* (i) Current stage */ + int startIndex, /* (i) Codebook index for the first + aug vector */ + float *target, /* (i) Target vector for encoding */ + float *buffer, /* (i) Pointer to the end of the buffer for + augmented codebook construction */ + float *max_measure, /* (i/o) Currently maximum measure */ + int *best_index,/* (o) Currently the best index */ + float *gain, /* (o) Currently the best gain */ + float *energy, /* (o) Energy of augmented codebook + vectors */ + float *invenergy/* (o) Inv energy of augmented codebook + vectors */ +); +void createAugmentedVec( + int index, /* (i) Index for the augmented vector + to be created */ + float *buffer, /* (i) Pointer to the end of the buffer for + augmented codebook construction */ + float *cbVec/* (o) The construced codebook vector */ +); +void getCBvec( + float *cbvec, /* (o) Constructed codebook vector */ + float *mem, /* (i) Codebook buffer */ + int index, /* (i) Codebook index */ + int lMem, /* (i) Length of codebook buffer */ + int cbveclen/* (i) Codebook vector length */ +); +short initEncode( /* (o) Number of bytes encoded */ + iLBC_Enc_Inst_t *iLBCenc_inst /* (i/o) Encoder instance */ +); +void iLBC_encode( + unsigned char *bytes, /* (o) encoded data bits iLBC */ + float *block, /* (o) speech vector to encode */ + iLBC_Enc_Inst_t *iLBCenc_inst /* (i/o) the general encoder + state */ +); +void AbsQuantW( + float *in, /* (i) vector to encode */ + float *syntDenum, /* (i) denominator of synthesis filter */ + float *weightDenum, /* (i) denominator of weighting filter */ + int *out, /* (o) vector of quantizer indexes */ + int len, /* (i) length of vector to encode and + vector of quantizer indexes */ + int state_first /* (i) position of start state in the + 80 vec */ +); +void StateSearchW( + float *residual,/* (i) target residual vector */ + float *syntDenum, /* (i) lpc synthesis filter */ + float *weightDenum, /* (i) weighting filter denuminator */ + int *idxForMax, /* (o) quantizer index for maximum + amplitude */ + int *idxVec, /* (o) vector of quantization indexes */ + int len, /* (i) length of all vectors */ + int state_first /* (i) position of start state in the + 80 vec */ +); +void compCorr( + float *cc, /* (o) cross correlation coefficient */ + float *gc, /* (o) gain */ + float *buffer, /* (i) signal buffer */ + int lag, /* (i) pitch lag */ + int bLen, /* (i) length of buffer */ + int sRange /* (i) correlation search length */ +); +void doThePLC( + float *PLCresidual, /* (o) concealed residual */ + float *PLClpc, /* (o) concealed LP parameters */ + int PLI, /* (i) packet loss indicator + 0 - no PL, 1 = PL */ + float *decresidual, /* (i) decoded residual */ + float *lpc, /* (i) decoded LPC (only used for no PL) */ + int inlag, /* (i) pitch lag */ + iLBC_Dec_Inst_t *iLBCdec_inst + /* (i/o) decoder instance */ +); +void autocorr( + float *r, /* (o) autocorrelation vector */ + const float *x, /* (i) data vector */ + int N, /* (i) length of data vector */ + int order /* largest lag for calculated autocorrelations */ +); +void lbc_window( + float *z, /* (o) the windowed data */ + const float *x, /* (i) the original data vector */ + const float *y, /* (i) the window */ + int N /* (i) length of all vectors */ +); +void levdurb( + float *a, /* (o) lpc coefficient vector starting with 1.0 +*/ + float *k, /* (o) reflection coefficients */ + float *r, /* (i) autocorrelation vector */ + int order /* (i) order of lpc filter */ +); +void interpolate( + float *out, /* (o) the interpolated vector */ + float *in1, /* (i) the first vector for the interpolation */ + float *in2, /* (i) the second vector for the interpolation */ + float coef, /* (i) interpolation weights */ + int length /* (i) length of all vectors */ +); +void bwexpand( + float *out, /* (o) the bandwidth expanded lpc coefficients */ + float *in, /* (i) the lpc coefficients before bandwidth + expansion */ + float coef, /* (i) the bandwidth expansion factor */ + int length /* (i) the length of lpc coefficient vectors */ +); +void vq( + float *Xq, /* (o) the quantized vector */ + int *index, /* (o) the quantization index */ + const float *CB,/* (i) the vector quantization codebook */ + float *X, /* (i) the vector to quantize */ + int n_cb, /* (i) the number of vectors in the codebook */ + int dim /* (i) the dimension of all vectors */ +); +void SplitVQ( + float *qX, /* (o) the quantized vector */ + int *index, /* (o) a vector of indexes for all vector + codebooks in the split */ + float *X, /* (i) the vector to quantize */ + const float *CB,/* (i) the quantizer codebook */ + int nsplit, /* the number of vector splits */ + const int *dim, /* the dimension of X and qX */ + const int *cbsize /* the number of vectors in the codebook */ +); +void sort_sq( + float *xq, /* (o) the quantized value */ + int *index, /* (o) the quantization index */ + float x, /* (i) the value to quantize */ + const float *cb,/* (i) the quantization codebook */ + int cb_size /* (i) the size of the quantization codebook */ +); +int LSF_check( /* (o) 1 for stable lsf vectors and 0 for + nonstable ones */ + float *lsf, /* (i) a table of lsf vectors */ + int dim, /* (i) the dimension of each lsf vector */ + int NoAn /* (i) the number of lsf vectors in the table */ +); +void syntFilter( + float *Out, /* (i/o) Signal to be filtered */ + float *a, /* (i) LP parameters */ + int len, /* (i) Length of signal */ + float *mem /* (i/o) Filter state */ +); +void NearestNeighbor( + int *index, /* (o) index of array element closest to value */ + float *array, /* (i) data array */ + float value,/* (i) value */ + int arlength/* (i) dimension of data array */ +); +void mycorr1( + float* corr, /* (o) correlation of seq1 and seq2 */ + float* seq1, /* (i) first sequence */ + int dim1, /* (i) dimension first seq1 */ + const float *seq2, /* (i) second sequence */ + int dim2 /* (i) dimension seq2 */ +); +void enh_upsample( + float* useq1, /* (o) upsampled output sequence */ + float* seq1,/* (i) unupsampled sequence */ + int dim1, /* (i) dimension seq1 */ + int hfl /* (i) polyphase filter length=2*hfl+1 */ +); +void refiner( + float *seg, /* (o) segment array */ + float *updStartPos, /* (o) updated start point */ + float* idata, /* (i) original data buffer */ + int idatal, /* (i) dimension of idata */ + int centerStartPos, /* (i) beginning center segment */ + float estSegPos,/* (i) estimated beginning other segment */ + float period /* (i) estimated pitch period */ +); +void smath( + float *odata, /* (o) smoothed output */ + float *sseq,/* (i) said second sequence of waveforms */ + int hl, /* (i) 2*hl+1 is sseq dimension */ + float alpha0/* (i) max smoothing energy fraction */ +); +void getsseq( + float *sseq, /* (o) the pitch-synchronous sequence */ + float *idata, /* (i) original data */ + int idatal, /* (i) dimension of data */ + int centerStartPos, /* (i) where current block starts */ + float *period, /* (i) rough-pitch-period array */ + float *plocs, /* (i) where periods of period array + are taken */ + int periodl, /* (i) dimension period array */ + int hl /* (i)( 2*hl+1 is the number of sequences */ +); +void enhancer( + float *odata, /* (o) smoothed block, dimension blockl */ + float *idata, /* (i) data buffer used for enhancing */ + int idatal, /* (i) dimension idata */ + int centerStartPos, /* (i) first sample current block + within idata */ + float alpha0, /* (i) max correction-energy-fraction + (in [0,1]) */ + float *period, /* (i) pitch period array */ + float *plocs, /* (i) locations where period array + values valid */ + int periodl /* (i) dimension of period and plocs */ +); +float xCorrCoef( + float *target, /* (i) first array */ + float *regressor, /* (i) second array */ + int subl /* (i) dimension arrays */ +); +int enhancerInterface( + float *out, /* (o) enhanced signal */ + float *in, /* (i) unenhanced signal */ + iLBC_Dec_Inst_t *iLBCdec_inst /* (i) buffers etc */ +); +void hpInput( + float *In, /* (i) vector to filter */ + int len, /* (i) length of vector to filter */ + float *Out, /* (o) the resulting filtered vector */ + float *mem /* (i/o) the filter state */ +); +void LSFinterpolate2a_dec( + float *a, /* (o) lpc coefficients for a sub frame */ + float *lsf1, /* (i) first lsf coefficient vector */ + float *lsf2, /* (i) second lsf coefficient vector */ + float coef, /* (i) interpolation weight */ + int length /* (i) length of lsf vectors */ +); +void SimplelsfDEQ( + float *lsfdeq, /* (o) dequantized lsf coefficients */ + int *index /* (i) quantization index */ +); +void DecoderInterpolateLSF( + float *syntdenum, /* (o) synthesis filter coefficients */ + float *weightdenum, /* (o) weighting denumerator + coefficients */ + float *lsfdeq, /* (i) dequantized lsf coefficients */ + int length, /* (i) length of lsf coefficient vector */ + iLBC_Dec_Inst_t *iLBCdec_inst + /* (i) the decoder state structure */ +); +void AllPoleFilter( + float *InOut, /* (i/o) on entrance InOut[-orderCoef] to + InOut[-1] contain the state of the filter + (delayed samples). InOut[0] to + InOut[lengthInOut-1] contain the filter + input, on en exit InOut[-orderCoef] to + InOut[-1] is unchanged and InOut[0] to + InOut[lengthInOut-1] contain filtered + samples */ + float *Coef,/* (i) filter coefficients, Coef[0] is assumed to + be 1.0 */ + int lengthInOut,/* (i) number of input/output samples */ + int orderCoef /* (i) number of filter coefficients */ +); +void AllZeroFilter( + float *In, /* (i) In[0] to In[lengthInOut-1] contain filter + input samples */ + float *Coef,/* (i) filter coefficients (Coef[0] is assumed + to be 1.0) */ + int lengthInOut,/* (i) number of input/output samples */ + int orderCoef, /* (i) number of filter coefficients */ + float *Out /* (i/o) on entrance Out[-orderCoef] to Out[-1] + contain the filter state, on exit Out[0] + to Out[lengthInOut-1] contain filtered + samples */ +); +void ZeroPoleFilter( + float *In, /* (i) In[0] to In[lengthInOut-1] contain filter + input samples In[-orderCoef] to In[-1] + contain state of all-zero section */ + float *ZeroCoef,/* (i) filter coefficients for all-zero + section (ZeroCoef[0] is assumed to + be 1.0) */ + float *PoleCoef,/* (i) filter coefficients for all-pole section + (ZeroCoef[0] is assumed to be 1.0) */ + int lengthInOut,/* (i) number of input/output samples */ + int orderCoef, /* (i) number of filter coefficients */ + float *Out /* (i/o) on entrance Out[-orderCoef] to Out[-1] + contain state of all-pole section. On exit + Out[0] to Out[lengthInOut-1] contain + filtered samples */ +); +void DownSample ( + float *In, /* (i) input samples */ + float *Coef, /* (i) filter coefficients */ + int lengthIn, /* (i) number of input samples */ + float *state, /* (i) filter state */ + float *Out /* (o) downsampled output */ +); +void hpOutput( + float *In, /* (i) vector to filter */ + int len,/* (i) length of vector to filter */ + float *Out, /* (o) the resulting filtered vector */ + float *mem /* (i/o) the filter state */ +); +void SimpleAnalysis( + float *lsf, /* (o) lsf coefficients */ + float *data, /* (i) new data vector */ + float *lpc_buffer /* (i) buffer containing old data */ +); +void LSFinterpolate2a_enc( + float *a, /* (o) lpc coefficients */ + float *lsf1,/* (i) first set of lsf coefficients */ + float *lsf2,/* (i) second set of lsf coefficients */ + float coef, /* (i) weighting coefficient to use between lsf1 + and lsf2 */ + long length /* (i) length of coefficient vectors */ +); +void SimpleInterpolateLSF( + float *syntdenum, /* (o) the synthesis filter denominator + resulting from the quantized + interpolated lsf */ + float *weightdenum, /* (o) the weighting filter denominator + resulting from the unquantized + interpolated lsf */ + float *lsf, /* (i) the unquantized lsf coefficients */ + float *lsfdeq, /* (i) the dequantized lsf coefficients */ + float *lsfold, /* (i) the unquantized lsf coefficients of + the previous signal frame */ + float *lsfdeqold, /* (i) the dequantized lsf coefficients of + the previous signal frame */ + int length /* (i) should equate FILTERORDER */ +); +void SimplelsfQ( + float *lsfdeq, /* (o) dequantized lsf coefficients + (dimension FILTERORDER) */ + int *index, /* (o) quantization index */ + float *lsf /* (i) the lsf coefficient vector to be + quantized (dimension FILTERORDER ) */ +); +void LPCencode( + float *syntdenum, /* (i/o) synthesis filter coefficients + before/after encoding */ + float *weightdenum, /* (i/o) weighting denumerator coefficients + before/after encoding */ + int *lsf_index, /* (o) lsf quantization index */ + float *data, /* (i) lsf coefficients to quantize */ + iLBC_Enc_Inst_t *iLBCenc_inst + /* (i/o) the encoder state structure */ +); +int FrameClassify( /* index to the max-energy sub frame */ + float *residual /* (i) lpc residual signal */ +); +void index_conv_enc( + int *index /* (i/o) Codebook indexes */ +); +void index_conv_dec( + int *index /* (i/o) Codebook indexes */ +); +void iCBConstruct( + float *decvector, /* (o) Decoded vector */ + int *index, /* (i) Codebook indices */ + int *gain_index,/* (i) Gain quantization indices */ + float *mem, /* (i) Buffer for codevector construction */ + int lMem, /* (i) Length of buffer */ + int veclen, /* (i) Length of vector */ + int nStages /* (i) Number of codebook stages */ +); +void a2lsf( + float *freq,/* (o) lsf coefficients */ + float *a /* (i) lpc coefficients */ +); +void lsf2a( + float *a_coef, /* (o) lpc coefficients */ + float *freq /* (i) lsf coefficients */ +); #endif --- orig/codecs/Makefile 2003-05-05 20:00:20.000000000 -0400 +++ codecs/Makefile 2003-08-03 12:30:30.000000000 -0400 @@ -92,7 +92,9 @@ %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< +ifneq ($(wildcard .depend),) include .depend +endif install: all for x in $(CODECS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done --- orig/codecs/lpc10/synths.c 2003-02-12 08:59:15.000000000 -0500 +++ codecs/lpc10/synths.c 2003-08-04 12:09:15.000000000 -0400 @@ -167,9 +167,9 @@ extern /* Subroutine */ int deemp_(real *, integer *, struct lpc10_decoder_state *); real ratio; integer ipiti[16]; - extern /* Subroutine */ bsynz_(real *, integer *, - integer *, real *, real *, real *, real *, struct lpc10_decoder_state *), irc2pc_(real *, real * - , integer *, real *, real *); + extern /* Subroutine */ void bsynz_(real *, integer *, + integer *, real *, real *, real *, real *, struct lpc10_decoder_state *); + extern void irc2pc_(real *, real * , integer *, real *, real *); real g2pass; real pc[10]; extern /* Subroutine */ int pitsyn_(integer *, integer *, integer *, real --- orig/db1-ast/Makefile 2003-02-12 08:59:15.000000000 -0500 +++ db1-ast/Makefile 2003-08-04 15:17:33.000000000 -0400 @@ -40,7 +40,7 @@ rm -f $(LIBDB) $(LIBDBSO) $(OBJS) $(SHOBJS) OORG= -O2 -CL= $(CC) -c -D__DBINTERFACE_PRIVATE $(OORG) -I. -Iinclude +CL= $(CC) -Wall -c -D__DBINTERFACE_PRIVATE $(OORG) -I. -Iinclude db_dump185.o: db_dump185.c $(CL) -o $@ $< --- orig/formats/Makefile 2003-06-28 23:24:39.000000000 -0400 +++ formats/Makefile 2003-08-03 12:30:47.000000000 -0400 @@ -32,7 +32,9 @@ %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< +ifneq ($(wildcard .depend),) include .depend +endif format_mp3.so : format_mp3.o $(CC) -shared -Xlinker -x -o $@ $< -lm --- orig/pbx/Makefile 2003-05-05 20:00:20.000000000 -0400 +++ pbx/Makefile 2003-08-03 12:31:02.000000000 -0400 @@ -57,7 +57,9 @@ %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< +ifneq ($(wildcard .depend),) include .depend +endif install: all for x in $(PBX_LIBS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done --- orig/res/Makefile 2003-05-05 20:00:20.000000000 -0400 +++ res/Makefile 2003-08-03 12:31:10.000000000 -0400 @@ -36,7 +36,9 @@ %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< +ifneq ($(wildcard .depend),) include .depend +endif depend: .depend