test/context_internal_test.c: don't initialize as a separate test
[openssl.git] / util / local_shlib.com.in
1 ${-
2   our %names = ( map { platform->sharedname($_) =>
3                            $bldtop.platform->sharedlib($_) }
4                  @{$unified_info{install}->{libraries}} );
5   "" -}
6 $       ! Create a local environment with the shared library logical names
7 $       ! properly set.  Undo this with unlocal_shlib.com
8 $
9 $       OPENSSL_NAMES := OPENSSL_NAMES_'F$GETJPI("","PID")'
10 $       CREATE/NAME_TABLE/PARENT_TABLE=LNM$PROCESS_DIRECTORY 'OPENSSL_NAMES'
11 $       DEFINE/TABLE='OPENSSL_NAMES' OSSL_FLAG YES
12 $
13 $       NAMES := {- join(",", keys %names); -}
14 {-
15   join("\n", map { "\$       __$_ = \"".$names{$_}."\"" } sort keys %names);
16 -}      
17 $       I = 0
18 $       LOOP:
19 $           E = F$ELEMENT(I,",",NAMES)
20 $           I = I + 1
21 $           IF E .EQS. "," THEN GOTO ENDLOOP
22 $           EV = __'E'
23 $           OLDV = F$TRNLNM(E,"LNM$PROCESS")
24 $           IF OLDV .NES. "" THEN DEFINE/TABLE='OPENSSL_NAMES' 'E' 'OLDV'
25 $           DEFINE 'E' 'EV'
26 $           GOTO LOOP
27 $       ENDLOOP: