From cb0d89705b3de63b7d6e26353ab2164ec03589fd Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 25 Aug 2009 07:25:55 +0000 Subject: [PATCH] Define EXE_DIR earlier. Make sure S_SOCKET also gets compiled with _POSIX_C_SOURCE defined. Submitted by Zoltan Arpadffy --- apps/makeapps.com | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/makeapps.com b/apps/makeapps.com index 5bfe311ca2..b96c4a1c66 100644 --- a/apps/makeapps.com +++ b/apps/makeapps.com @@ -6,6 +6,7 @@ $! A-Com Computing, Inc. $! byer@mail.all-net.net $! $! Changes by Richard Levitte +$! Zoltan Arpadffy $! $! This command files compiles and creates all the various different $! "application" programs for the different types of encryption for OpenSSL. @@ -150,7 +151,7 @@ $ IF COMPILER .EQS. "VAXC" THEN - $! $! Setup exceptional compilations $! -$ COMPILEWITH_CC2 = ",S_SERVER,S_CLIENT," +$ COMPILEWITH_CC2 = ",S_SOCKET,S_SERVER,S_CLIENT," $! $ PHASE := LIB $! @@ -168,6 +169,10 @@ $! Make The Application File Name $! $ CURRENT_APP = F$EDIT(F$ELEMENT(APP_COUNTER,",",PROGRAMS),"TRIM") $! +$! Create The Executable File Name. +$! +$ EXE_FILE = EXE_DIR + CURRENT_APP + ".EXE" +$! $! Check To See If We Are At The End Of The File List. $! $ IF (CURRENT_APP.EQS.",") @@ -231,10 +236,6 @@ $! $! Create The Object File Name. $! $ OBJECT_FILE = OBJ_DIR + FILE_NAME + ".OBJ" -$! -$! Create The Executable File Name. -$! -$ EXE_FILE = EXE_DIR + FILE_NAME + ".EXE" $ ON WARNING THEN GOTO NEXT_LIB $! $! Check To See If The File We Want To Compile Actually Exists. -- 2.40.0