[binutils, ARM, 4/16] BF insns infrastructure with array of relocs in struct arm_it
[binutils-gdb.git] / libiberty / configure.com
blob030182914f74de464969f3c60e99f444f7ed95c3
1 $!
2 $! This file configures the libiberty library for use with openVMS.
3 $!
4 $! We do not use the configure script, since we do not have /bin/sh
5 $! to execute it.
6 $!
7 $! Written by Tristan Gingold (gingold@adacore.com)
8 $!
9 $!
11 $ copy config.h-vms config.h
13 $ write sys$output "Generate libiberty build.com"
15 $ create build.com
16 $DECK
17 $ FILES="getopt,obstack,xexit,xmalloc,hex,getopt1,cplus-dem,cp-demangle,"+-
18     "cp-demint,asprintf,vasprintf,mkstemps,concat,getruntime,getpagesize,"+-
19     "getpwd,xstrerror,xmemdup,xstrdup,xatexit,choose-temp,fnmatch,objalloc,"+-
20     "safe-ctype,hashtab,lbasename,argv,lrealpath,make-temp-file,"+-
21     "stpcpy,unlink-if-ordinary"
22 $ OPT="/noopt/debug/warnings=disable=(missingreturn)"
23 $ CFLAGS=OPT + "/include=([],[-.include])/name=(as_is,shortened)" +-
24  "/define=(HAVE_CONFIG_H=1)" +-
25  "/prefix=(all,exc=(""getopt"",""optarg"",""optopt"",""optind"",""opterr""))"
26 $ write sys$output "CFLAGS=",CFLAGS
27 $ NUM = 0
28 $ LOOP:
29 $   F = F$ELEMENT(NUM,",",FILES)
30 $   IF F.EQS."," THEN GOTO END
31 $   write sys$output "Compiling ", F, ".c"
32 $   cc 'CFLAGS 'F.c
33 $   NUM = NUM + 1
34 $   GOTO LOOP
35 $ END:
36 $ purge
37 $ lib/create libiberty 'FILES
38 $EOD