Mercurial > hg > audiostuff
comparison intercom/gsm/make-vms.com @ 2:13be24d74cd2
import intercom-0.4.1
| author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
|---|---|
| date | Fri, 25 Jun 2010 09:57:52 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:9cadc470e3da | 2:13be24d74cd2 |
|---|---|
| 1 $goto start | |
| 2 $!============================================================================ | |
| 3 $! Copyright 1992 by Jutta Degener and Carsten Bormann, Technische | |
| 4 $! Universitaet Berlin. See the accompanying file "COPYRIGHT" for | |
| 5 $! details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. | |
| 6 $! File adapted by simao@cpqd.ansp.br. | |
| 7 $! | |
| 8 $! Machine dependent flags you must configure to port | |
| 9 $! - Define SASR if >> is a signed arithmetic shift (-1 >> 1 == -1' | |
| 10 $! - Define USE_FLOAT_MUL if your host multiplies floats faster than integers, | |
| 11 $! e.g. on a SPARCstation. | |
| 12 $! - define FAST together with USE_FLOAT_MUL to enable the GSM library's | |
| 13 $! approximation option for incorrect, but good-enough results. | |
| 14 $! Undefine for compliant operation. | |
| 15 $! - Define NDEBUG to avoid the generation of debug functions along the code | |
| 16 $! - Choose a compiler. The code works both with ANSI and K&R-C. | |
| 17 $! Use -DNeedFunctionPrototypes to compile with, -UNeedFunctionPrototypes to | |
| 18 $! compile without, function prototypes in the header files. | |
| 19 $! | |
| 20 $! - You can use the -DSTUPID_COMPILER to circumvent some compilers' | |
| 21 $! static limits regarding the number of subexpressions in a statement. | |
| 22 $! | |
| 23 $! | |
| 24 $! -- *NOTE*: -- | |
| 25 $! | |
| 26 $! This VMS DCL file created by <simao@ctd.comsat.com> | |
| 27 $! for the UGST distribution | |
| 28 $!============================================================================= | |
| 29 $start: | |
| 30 $! --> if you want to use VAX-C, uncomment the CC and LIBS lines and | |
| 31 $! one of the CC_OPT below | |
| 32 $ CC = "cc /NOWARNING" !! "/DIA" | |
| 33 $ CC_OPT = "/INC=[]/INC=[-.utl] /DEF=(SASR,NeedFunctionPrototypes=1,NDEBUG)" | |
| 34 $! CC_OPT = "/INC=[]/INC=[-.utl] /DEF=(SASR,FAST,USE_FLOAT_MUL,NeedFunctionPrototypes=1,NDEBUG)" | |
| 35 $! CC_OPT = "/INC=[/INC=[-.utl]] /DEF=(SASR,USE_FLOAT_MUL,NeedFunctionPrototypes=1,NDEBUG)" | |
| 36 $! CC_OPT = "/INC=[]/INC=[-.utl] /DEF=(VMS,SASR,USE_FLOAT_MUL,NeedFunctionPrototypes=1,NDEBUG)" | |
| 37 $! CC_OPT = "/INC=[]/INC=[-.utl] /STANDARD=portable /DEF=(VMS,SASR,USE_FLOAT_MUL,NeedFunctionPrototypes=1,NDEBUG)" | |
| 38 $! LIBS = ",SYS$LIBRARY:VAXCRTL/LIB" | |
| 39 $! --> if you want to use GCC, uncomment the CC and LIBS lines and one of | |
| 40 $! the CC_OPT below | |
| 41 $! CC = "gcc" | |
| 42 $! CC_OPT = "/INC=[]/INC=[-.utl] /DEF=(VMS,SASR,USE_FLOAT_MUL,NeedFunctionPrototypes=1,NDEBUG)" | |
| 43 $! CC_OPT = "/INC=[]/INC=[-.utl] /DEF=(SASR,USE_FLOAT_MUL,NeedFunctionPrototypes=1,NDEBUG)" | |
| 44 $! LIBS = ",GNU_CC:[000000]GCCLIB/LIB,SYS$LIBRARY:VAXCRTL/LIB" | |
| 45 | |
| 46 $! goto here | |
| 47 $! | |
| 48 $ 'CC' 'CC_OPT' rpedemo.c | |
| 49 $ 'CC' 'CC_OPT' rpeltp.c | |
| 50 $ 'CC' 'CC_OPT' add.c | |
| 51 $ 'CC' 'CC_OPT' code.c | |
| 52 $ 'CC' 'CC_OPT' debug.c | |
| 53 $ 'CC' 'CC_OPT' decode.c | |
| 54 $ 'CC' 'CC_OPT' long_ter.c | |
| 55 $ 'CC' 'CC_OPT' lpc.c | |
| 56 $ 'CC' 'CC_OPT' preproce.c | |
| 57 $ 'CC' 'CC_OPT' rpe.c | |
| 58 $ 'CC' 'CC_OPT' gsm_dest.c | |
| 59 $ 'CC' 'CC_OPT' gsm_deco.c | |
| 60 $ 'CC' 'CC_OPT' gsm_enco.c | |
| 61 $ 'CC' 'CC_OPT' gsm_expl.c | |
| 62 $ 'CC' 'CC_OPT' gsm_impl.c | |
| 63 $ 'CC' 'CC_OPT' gsm_crea.c | |
| 64 $ 'CC' 'CC_OPT' gsm_prin.c | |
| 65 $ 'CC' 'CC_OPT' gsm_opti.c | |
| 66 $ 'CC' 'CC_OPT' short_te.c | |
| 67 $ 'CC' 'CC_OPT' table.c | |
| 68 $! | |
| 69 $ 'CC' 'CC_OPT' g711.c | |
| 70 $ | |
| 71 $here: | |
| 72 $link rpedemo.obj,rpeltp.obj,add.obj,code.obj,debug.obj,decode.obj,- | |
| 73 long_ter.obj,lpc.obj,preproce.obj,rpe.obj,gsm_dest.obj,gsm_deco.obj,- | |
| 74 gsm_enco.obj,gsm_expl.obj,gsm_impl.obj,gsm_crea.obj,- | |
| 75 gsm_prin.obj,gsm_opti.obj,short_te.obj,table.obj,g711.obj'LIBS' | |
| 76 $ |
