Changes for win32 build.

This commit is contained in:
Janet B. Anderson
2000-02-29 22:31:21 +00:00
parent a9955ee419
commit 870a75d0ae
6 changed files with 62 additions and 7 deletions

View File

@@ -5,11 +5,13 @@ include $(TOP)/configure/CONFIG
#YACCOPT := -l
#LEXOPT := -L
INC += dbLoadTemplate.h
LIBSRCS += dbLoadTemplate.c
LIBRARY_IOC = dbtoolsIoc
dbtoolsIoc_DLL_LIBS = dbStaticIoc Com
dbtoolsIoc_DLL_LIBS = asIoc dbStaticIoc Com
HTMLS += dbLoadTemplate.html

View File

@@ -0,0 +1,23 @@
/* dbLoadTemplate.h */
/*****************************************************************
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.
**********************************************************************/
#ifndef INCdbLoadTemplateh
#define INCdbLoadTemplateh
#include "shareLib.h"
epicsShareFunc int epicsShareAPI dbLoadTemplate(char* sub_file);
#endif /*INCdbLoadTemplateh*/

View File

@@ -44,11 +44,13 @@
#include "getopt.h"
#endif
int dbLoadRecords(char* pfilename, char* pattern);
#define epicsExportSharedSymbols
#include "dbLoadTemplate.h"
static int line_num;
static int yyerror();
int dbLoadTemplate(char* sub_file);
int dbLoadRecords(char* pfilename, char* pattern);
#define VAR_MAX_VAR_STRING 5000
#define VAR_MAX_VARS 100
@@ -269,7 +271,7 @@ static int yyerror(char* str)
static int is_not_inited = 1;
int dbLoadTemplate(char* sub_file)
int epicsShareAPI dbLoadTemplate(char* sub_file)
{
FILE *fp;
int ind;

View File

@@ -2,6 +2,8 @@
TOP=../..
include $(TOP)/configure/CONFIG
INC += epicsRelease.h
LIBSRCS += epicsRelease.c
LIBRARY_IOC = miscIoc

View File

@@ -1,5 +1,8 @@
/* $Id$
* $Log$
* Revision 1.10 1999/07/17 00:43:30 jhill
* include build date
*
* Revision 1.9 1998/11/23 23:51:04 jhill
* fixed warning
*
@@ -30,12 +33,15 @@
#include <stdlib.h>
#include <stdio.h>
#include <epicsVersion.h>
#include "epicsVersion.h"
#define epicsExportSharedSymbols
#include "epicsRelease.h"
char *epicsRelease= "@(#)EPICS IOC CORE built on " __DATE__;
char *epicsRelease1 = epicsReleaseVersion;
int coreRelease()
int epicsShareAPI coreRelease()
{
printf ("############################################################################\n");
printf ("### %s\n", epicsRelease);

20
src/misc/epicsRelease.h Normal file
View File

@@ -0,0 +1,20 @@
/* epicsRelease.h */
/*****************************************************************
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.
**********************************************************************/
#ifndef INCepicsReleaseh
#define INCepicsReleaseh
#include "shareLib.h"
epicsShareFunc int epicsShareAPI coreRelease(void);
#endif /*INCepicsReleaseh*/