From 0966f06cb9efe69db599c6385b38c67c457f69ee Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 13 Sep 2001 19:34:38 +0000 Subject: [PATCH] dbMakeDBDDepends replaced by mkmf.pl. --- src/dbStatic/Makefile | 2 - src/dbStatic/dbMakeDBDDepends.c | 81 --------------------------------- 2 files changed, 83 deletions(-) delete mode 100644 src/dbStatic/dbMakeDBDDepends.c diff --git a/src/dbStatic/Makefile b/src/dbStatic/Makefile index 311914933..7567b8d00 100644 --- a/src/dbStatic/Makefile +++ b/src/dbStatic/Makefile @@ -33,12 +33,10 @@ dbStaticIoc_DLL_LIBS = Com PROD_LIBS := dbStaticHost Com dbStaticHost_DIR=. PROD_HOST = dbReadTest dbExpand dbToMenuH dbToRecordtypeH -PROD_HOST += dbMakeDBDDepends dbReadTest_SRCS = dbReadTest.c dbExpand_SRCS = dbExpand.c dbToMenuH_SRCS = dbToMenuH.c dbToRecordtypeH_SRCS = dbToRecordtypeH.c -dbMakeDBDDepends_SRCS = dbMakeDBDDepends.c dbStaticHost_RCS_WIN32 = dbStaticHost.rc dbStaticIoc_RCS_WIN32 = dbStaticIoc.rc diff --git a/src/dbStatic/dbMakeDBDDepends.c b/src/dbStatic/dbMakeDBDDepends.c deleted file mode 100644 index 9a739cc9d..000000000 --- a/src/dbStatic/dbMakeDBDDepends.c +++ /dev/null @@ -1,81 +0,0 @@ -/* makeDbdDepends.c */ -/***************************************************************** - COPYRIGHT NOTIFICATION -***************************************************************** - -(C) COPYRIGHT 1993 UNIVERSITY OF CHICAGO - -This software was developed under a United States Government license -described on the COPYRIGHT_UniversityOfChicago file included as part -of this distribution. -**********************************************************************/ - -#include -#include -#include -#include "errMdef.h" -#include "errlog.h" - -#include "dbStaticLib.h" -#include "dbStaticPvt.h" -#include "osiFileName.h" - -epicsShareExtern char *makeDbdDepends; - -DBBASE *pdbbase = NULL; - -int main(int argc,char **argv) -{ - int i; - int strip; - char *path = NULL; - char *sub = NULL; - int pathLength = 0; - int subLength = 0; - char **pstr; - char *psep; - int *len; - long status; - static char *pathSep = OSI_PATH_LIST_SEPARATOR; - static char *subSep = ","; - - /*Look for options*/ - if(argc<2) { - printf("usage: makeDbdDepends -Idir -Smacsub target.dbd input.dbd \n"); - exit(0); - } - while((strncmp(argv[1],"-I",2)==0)||(strncmp(argv[1],"-S",2)==0)|| - (strncmp(argv[1],"-g",2)==0)) { - if(strncmp(argv[1],"-I",2)==0) { - pstr = &path; - psep = pathSep; - len = &pathLength; - } else { - pstr = ⊂ - psep = subSep; - len = &subLength; - } - if(strlen(argv[1])==2) { - dbCatString(pstr,len,argv[2],psep); - strip = 2; - } else { - dbCatString(pstr,len,argv[1]+2,psep); - strip = 1; - } - argc -= strip; - for(i=1; i