new way to build
This commit is contained in:
+18
-3
@@ -1,7 +1,22 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
INC += cvtTable.h
|
||||
|
||||
makeBpt_SRCS += makeBpt.c
|
||||
PROD += makeBpt
|
||||
|
||||
MENUS += menuConvert.h
|
||||
|
||||
bptLibrary_SRCS += cvtBpt.c
|
||||
|
||||
LIB_IOC = bptLibrary
|
||||
|
||||
BPTS += bptTypeJdegC.dbd
|
||||
BPTS += bptTypeJdegF.dbd
|
||||
BPTS += bptTypeKdegC.dbd
|
||||
BPTS += bptTypeKdegF.dbd
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
$(BPTS): $(INSTALL_PROD)
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
INC := cvtTable.h
|
||||
|
||||
SRCS := makeBpt.c
|
||||
PROD := makeBpt
|
||||
|
||||
MENUS += menuConvert.h
|
||||
|
||||
BPTS += bptTypeJdegC.dbd
|
||||
BPTS += bptTypeJdegF.dbd
|
||||
BPTS += bptTypeKdegC.dbd
|
||||
BPTS += bptTypeKdegF.dbd
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
$(BPTS): $(INSTALL_PROD)
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
MENUS += menuConvert.h
|
||||
|
||||
BPTS += bptTypeJdegC.dbd
|
||||
BPTS += bptTypeJdegF.dbd
|
||||
BPTS += bptTypeKdegC.dbd
|
||||
BPTS += bptTypeKdegF.dbd
|
||||
|
||||
bptLibrary_SRCS = cvtBpt.c
|
||||
|
||||
LIBRARY = bptLibrary
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
INC += resourceLib.h
|
||||
INC += tsDLList.h
|
||||
INC += tsSLList.h
|
||||
INC += tsMinMax.h
|
||||
INC += tsBTree.h
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
INC += resourceLib.h
|
||||
INC += tsDLList.h
|
||||
INC += tsSLList.h
|
||||
INC += tsMinMax.h
|
||||
INC += tsBTree.h
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
+64
-3
@@ -1,7 +1,68 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
# includes to install from this sub-project
|
||||
#
|
||||
INC += callback.h
|
||||
INC += dbLock.h
|
||||
INC += dbAccess.h
|
||||
INC += dbConvert.h
|
||||
INC += dbEvent.h
|
||||
INC += dbScan.h
|
||||
INC += db_access.h
|
||||
INC += dbAddr.h
|
||||
INC += db_field_log.h
|
||||
INC += initHooks.h
|
||||
INC += recSup.h
|
||||
INC += taskwd.h
|
||||
INC += recGbl.h
|
||||
INC += dbBkpt.h
|
||||
|
||||
MENUS += menuAlarmSevr.h
|
||||
MENUS += menuAlarmStat.h
|
||||
MENUS += menuArrType.h
|
||||
MENUS += menuCompress.h
|
||||
MENUS += menuFtype.h
|
||||
MENUS += menuIvoa.h
|
||||
MENUS += menuLinr.h
|
||||
MENUS += menuOmsl.h
|
||||
MENUS += menuPriority.h
|
||||
MENUS += menuScan.h
|
||||
MENUS += menuYesNo.h
|
||||
|
||||
RECTYPES += dbCommon.h
|
||||
USER_DBDFLAGS += -I ..
|
||||
|
||||
DBDINSTALL += dbCommonRecord.dbd
|
||||
DBDINSTALL += menuGlobal.dbd
|
||||
|
||||
SRCS += dbLock.c
|
||||
SRCS += dbAccess.c
|
||||
SRCS += dbBkpt.c
|
||||
SRCS += dbConvert.c
|
||||
SRCS += dbFastLinkConv.c
|
||||
SRCS += dbNotify.c
|
||||
SRCS += iocInit.c
|
||||
SRCS += dbScan.c
|
||||
SRCS += dbEvent.c
|
||||
SRCS += dbTest.c
|
||||
SRCS += db_access.c
|
||||
SRCS += db_test.c
|
||||
SRCS += recGbl.c
|
||||
SRCS += callback.c
|
||||
SRCS += taskwd.c
|
||||
SRCS += dbCa.c
|
||||
SRCS += initHooks.c
|
||||
SRCS += dbcar.c
|
||||
|
||||
|
||||
LIBRARY = dbLib
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
$(LIBOBJS_HOST): dbCommon.h
|
||||
|
||||
dbCommon.h: ../dbCommonRecord.dbd ../dbCommon.dbd
|
||||
$(RM) $@
|
||||
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToRecordtypeH$(EXE) \
|
||||
$(USER_DBDFLAGS) $<
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
# includes to install from this sub-project
|
||||
#
|
||||
INC += callback.h
|
||||
INC += dbLock.h
|
||||
INC += dbAccess.h
|
||||
INC += dbConvert.h
|
||||
INC += dbEvent.h
|
||||
INC += dbScan.h
|
||||
INC += db_access.h
|
||||
INC += dbAddr.h
|
||||
INC += db_field_log.h
|
||||
INC += initHooks.h
|
||||
INC += recSup.h
|
||||
INC += taskwd.h
|
||||
INC += recGbl.h
|
||||
INC += dbBkpt.h
|
||||
|
||||
MENUS += menuAlarmSevr.h
|
||||
MENUS += menuAlarmStat.h
|
||||
MENUS += menuArrType.h
|
||||
MENUS += menuCompress.h
|
||||
MENUS += menuFtype.h
|
||||
MENUS += menuIvoa.h
|
||||
MENUS += menuLinr.h
|
||||
MENUS += menuOmsl.h
|
||||
MENUS += menuPriority.h
|
||||
MENUS += menuScan.h
|
||||
MENUS += menuYesNo.h
|
||||
|
||||
RECTYPES += dbCommon.h
|
||||
USER_DBDFLAGS += -I ..
|
||||
|
||||
DBDINSTALL += dbCommonRecord.dbd
|
||||
DBDINSTALL += menuGlobal.dbd
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
dbCommon.h: ../dbCommonRecord.dbd ../dbCommon.dbd
|
||||
$(RM) $@
|
||||
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToRecordtypeH$(EXE) \
|
||||
$(USER_DBDFLAGS) $<
|
||||
@@ -1,35 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
|
||||
dbLib_SRCS = \
|
||||
dbLock.c\
|
||||
dbAccess.c\
|
||||
dbBkpt.c\
|
||||
dbConvert.c\
|
||||
dbFastLinkConv.c\
|
||||
dbNotify.c \
|
||||
iocInit.c\
|
||||
dbScan.c\
|
||||
dbEvent.c\
|
||||
dbTest.c\
|
||||
db_access.c\
|
||||
db_test.c\
|
||||
recGbl.c\
|
||||
callback.c\
|
||||
taskwd.c\
|
||||
dbCa.c \
|
||||
initHooks.c \
|
||||
dbcar.c
|
||||
|
||||
|
||||
LIBRARY = dbLib
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
dbCommon.h: ../dbCommonRecord.dbd ../dbCommon.dbd
|
||||
$(RM) $@
|
||||
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToRecordtypeH$(EXE) \
|
||||
$(USER_DBDFLAGS) $<
|
||||
+4
-1
@@ -14,6 +14,9 @@ of this distribution.
|
||||
/* Modification Log:
|
||||
* -----------------
|
||||
* $Log$
|
||||
* Revision 1.12 2000/01/04 20:26:16 mrk
|
||||
* replace osiClock calls with tsStamp calls
|
||||
*
|
||||
* Revision 1.11 1999/12/14 22:01:33 mrk
|
||||
* changes for osiSem changes
|
||||
*
|
||||
@@ -807,7 +810,7 @@ int dbBkpt(struct dbCommon *precord)
|
||||
*/
|
||||
semMutexGive(bkpt_stack_sem);
|
||||
dbScanUnlock(precord);
|
||||
threadSuspend(pnode->taskid);
|
||||
threadSuspend(0);
|
||||
dbScanLock(precord);
|
||||
semMutexMustTake(bkpt_stack_sem);
|
||||
}
|
||||
|
||||
+43
-2
@@ -1,6 +1,47 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
# includes to install from this sub-project
|
||||
#
|
||||
INC += alarm.h
|
||||
INC += alarmString.h
|
||||
INC += dbBase.h
|
||||
INC += dbFldTypes.h
|
||||
INC += dbStaticLib.h
|
||||
INC += link.h
|
||||
INC += special.h
|
||||
INC += guigroup.h
|
||||
|
||||
# Sources to compile & put into lib:
|
||||
#
|
||||
LIBSRCS += dbStaticLib.c
|
||||
LIBSRCS += dbYacc.c
|
||||
LIBSRCS += dbPvdLib.c
|
||||
Db_SRCS += dbStaticNoRun.c
|
||||
dbStatic_SRCS += dbStaticRun.c
|
||||
|
||||
|
||||
# Library to build:
|
||||
#
|
||||
LIB_HOST += Db
|
||||
LIB_IOC += dbStatic
|
||||
|
||||
# Products to build:
|
||||
#
|
||||
PROD = dbReadTest dbExpand dbToMenuH dbToRecordtypeH
|
||||
|
||||
# libs needed by PROD:
|
||||
#
|
||||
PROD_LIBS := Db Com
|
||||
Db_DIR=.
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
# Extra rule since dbLexRoutines.c is included in dbYacc.c
|
||||
dbYacc$(OBJ): dbLex.c ../dbLexRoutines.c
|
||||
|
||||
clean::
|
||||
@$(RM) dbLex.c dbYacc.c
|
||||
|
||||
# EOF Makefile.Host for base/src/dbStatic
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
# includes to install from this sub-project
|
||||
#
|
||||
INC += alarm.h alarmString.h dbBase.h dbFldTypes.h
|
||||
INC += dbStaticLib.h link.h special.h guigroup.h
|
||||
|
||||
# Sources to compile & put into lib:
|
||||
#
|
||||
Db_SRCS := dbStaticLib.c dbYacc.c dbPvdLib.c dbStaticNoRun.c
|
||||
|
||||
# Library to build:
|
||||
#
|
||||
LIBRARY := Db
|
||||
|
||||
# Products to build:
|
||||
#
|
||||
PROD = dbReadTest dbExpand dbToMenuH dbToRecordtypeH
|
||||
|
||||
# libs needed by PROD:
|
||||
#
|
||||
PROD_LIBS := Db Com
|
||||
Db_DIR=.
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
# Extra rule since dbLexRoutines.c is included in dbYacc.c
|
||||
dbYacc$(OBJ): dbLex.c ../dbLexRoutines.c
|
||||
|
||||
clean::
|
||||
@$(RM) dbLex.c dbYacc.c
|
||||
|
||||
# EOF Makefile.Host for base/src/dbStatic
|
||||
@@ -1,22 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
dbStaticLib_SRCS = \
|
||||
dbYacc.c\
|
||||
dbPvdLib.c\
|
||||
dbStaticRun.c\
|
||||
dbStaticLib.c
|
||||
|
||||
LIBRARY = dbStaticLib
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
# Extra rule since dbLexRoutines.c is included in dbYacc.c
|
||||
dbYacc$(OBJ): dbLex.c ../dbLexRoutines.c
|
||||
|
||||
clean::
|
||||
@$(RM) dbLex.c dbYacc.c
|
||||
|
||||
# EOF Makefile.Host for base/src/dbStatic
|
||||
+18
-2
@@ -1,6 +1,22 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
YACCOPT := -l
|
||||
LEXOPT := -L
|
||||
|
||||
dbSubs_SRCS += dbLoadTemplate.c
|
||||
|
||||
LIBRARY = dbSubs
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
#
|
||||
# These lex sources are included in some C sources,
|
||||
# so they have to be created in time:
|
||||
#
|
||||
dbLoadTemplate$(OBJ): dbLoadTemplate_lex.c
|
||||
|
||||
clean::
|
||||
@$(RM) dbLoadTemplate_lex.c dbLoadTemplate.c
|
||||
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
YACCOPT := -l
|
||||
LEXOPT := -L
|
||||
|
||||
dbSubs_SRCS += dbLoadTemplate.c
|
||||
|
||||
LIBRARY = dbSubs
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
#
|
||||
# These lex sources are included in some C sources,
|
||||
# so they have to be created in time:
|
||||
#
|
||||
dbLoadTemplate$(OBJ): dbLoadTemplate_lex.c
|
||||
|
||||
clean::
|
||||
@$(RM) dbLoadTemplate_lex.c dbLoadTemplate.c
|
||||
|
||||
+31
-2
@@ -1,6 +1,35 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
INC += dbDefs.h
|
||||
INC += epicsTypes.h
|
||||
INC += epicsVersion.h
|
||||
INC += gsd_sync_defs.h
|
||||
INC += shareLib.h
|
||||
#INC += createSoftLinks.sh
|
||||
#INC += osiMutexNOOP.h
|
||||
INC += unixFileName.h
|
||||
|
||||
INC += devSup.h
|
||||
INC += drvSup.h
|
||||
INC += caeventmask.h
|
||||
INC += asLib.h
|
||||
INC += registryDeviceSupport.h
|
||||
INC += registryDriverSupport.h
|
||||
INC += registryRecordType.h
|
||||
INC += cadef.h
|
||||
INC += caerr.h
|
||||
INC += asDbLib.h
|
||||
|
||||
|
||||
INC += osiFileName.h
|
||||
INC += osiSock.h
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
# This seems to be handled wrong by gnumake:
|
||||
# epicsVersion.h is rebuild in any case,
|
||||
# no matter what date ...CONFIG_BASE_VERSION has
|
||||
epicsVersion.h: $(TOP)/configure/CONFIG_BASE_VERSION
|
||||
$(PERL) ../makeEpicsVersion.pl $(TOP)/configure/CONFIG_BASE_VERSION
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
INC += dbDefs.h
|
||||
INC += epicsTypes.h
|
||||
INC += epicsVersion.h
|
||||
INC += gsd_sync_defs.h
|
||||
INC += shareLib.h
|
||||
#INC += createSoftLinks.sh
|
||||
#INC += osiMutexNOOP.h
|
||||
INC += unixFileName.h
|
||||
|
||||
INC += devSup.h
|
||||
INC += drvSup.h
|
||||
INC += caeventmask.h
|
||||
INC += asLib.h
|
||||
INC += registryDeviceSupport.h
|
||||
INC += registryDriverSupport.h
|
||||
INC += registryRecordType.h
|
||||
INC += cadef.h
|
||||
INC += caerr.h
|
||||
INC += asDbLib.h
|
||||
|
||||
|
||||
INC += osiFileName.h
|
||||
INC += osiSock.h
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
# This seems to be handled wrong by gnumake:
|
||||
# epicsVersion.h is rebuild in any case,
|
||||
# no matter what date ...CONFIG_BASE_VERSION has
|
||||
epicsVersion.h: $(TOP)/configure/CONFIG_BASE_VERSION
|
||||
$(PERL) ../makeEpicsVersion.pl $(TOP)/configure/CONFIG_BASE_VERSION
|
||||
|
||||
install: $(INSTALL_INCLUDE)/epicsVersion.h
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
INC += osiFileName.h
|
||||
INC += osiSock.h
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
@@ -1,7 +1,62 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
TEMPLATES_DIR = makeBaseApp
|
||||
|
||||
TEMPLATES += top/Makefile
|
||||
TEMPLATES += top/configure/CONFIG
|
||||
TEMPLATES += top/configure/CONFIG_APP
|
||||
TEMPLATES += top/configure/RELEASE
|
||||
TEMPLATES += top/configure/RULES.Db
|
||||
TEMPLATES += top/configure/RULES_ARCHS
|
||||
TEMPLATES += top/configure/RULES_BUILD
|
||||
TEMPLATES += top/configure/RULES_DIRS
|
||||
TEMPLATES += top/configure/RULES_TOP
|
||||
TEMPLATES += top/configure/RULES.ioc
|
||||
TEMPLATES += top/configure/RULES.iocBoot
|
||||
TEMPLATES += top/configure/RULES.registerRecordDeviceDriver
|
||||
|
||||
TEMPLATES += top/configure/Makefile
|
||||
TEMPLATES += top/configure/makeConfigAppInclude.pl
|
||||
TEMPLATES += top/configure/makeDbDepends.pl
|
||||
TEMPLATES += top/configure/makeIocCdCommands.pl
|
||||
TEMPLATES += top/configure/replaceVAR.pl
|
||||
|
||||
TEMPLATES += top/exampleApp/Makefile
|
||||
TEMPLATES += top/exampleApp/Db/Makefile
|
||||
TEMPLATES += top/exampleApp/Db/Makefile.Host
|
||||
TEMPLATES += top/exampleApp/Db/dbExample1.db
|
||||
TEMPLATES += top/exampleApp/Db/dbExample2.db
|
||||
TEMPLATES += top/exampleApp/src/Makefile
|
||||
TEMPLATES += top/exampleApp/src/Makefile.Host
|
||||
TEMPLATES += top/exampleApp/src/Makefile.Ioc
|
||||
TEMPLATES += top/exampleApp/src/base.dbd
|
||||
TEMPLATES += top/exampleApp/src/baseLIBOBJS
|
||||
TEMPLATES += top/exampleApp/src/caExample.c
|
||||
TEMPLATES += top/exampleApp/src/devXxxSoft.c
|
||||
TEMPLATES += top/exampleApp/src/exampleInclude.dbd
|
||||
TEMPLATES += top/exampleApp/src/sncExample.st
|
||||
TEMPLATES += top/exampleApp/src/xxxRecord.c
|
||||
TEMPLATES += top/exampleApp/src/xxxRecord.dbd
|
||||
|
||||
TEMPLATES += top/exampleBoot/Makefile
|
||||
TEMPLATES += top/exampleBoot/nfsCommands
|
||||
TEMPLATES += top/exampleBoot/ioc/Makefile
|
||||
TEMPLATES += top/exampleBoot/ioc/st.cmd
|
||||
|
||||
TEMPLATES += top/simpleApp/Makefile
|
||||
TEMPLATES += top/simpleApp/Db/Makefile
|
||||
TEMPLATES += top/simpleApp/src/Makefile
|
||||
TEMPLATES += top/simpleApp/src/Makefile.Host
|
||||
TEMPLATES += top/simpleApp/src/Makefile.Ioc
|
||||
|
||||
TEMPLATES += top/simpleBoot/Makefile
|
||||
TEMPLATES += top/simpleBoot/nfsCommands
|
||||
TEMPLATES += top/simpleBoot/ioc/Makefile
|
||||
TEMPLATES += top/simpleBoot/ioc/st.cmd
|
||||
|
||||
SCRIPTS += makeBaseApp.pl
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
TEMPLATES_DIR = makeBaseApp
|
||||
|
||||
TEMPLATES += top/Makefile
|
||||
TEMPLATES += top/configure/CONFIG
|
||||
TEMPLATES += top/configure/CONFIG_APP
|
||||
TEMPLATES += top/configure/RELEASE
|
||||
TEMPLATES += top/configure/RULES.Db
|
||||
TEMPLATES += top/configure/RULES_ARCHS
|
||||
TEMPLATES += top/configure/RULES_BUILD
|
||||
TEMPLATES += top/configure/RULES_DIRS
|
||||
TEMPLATES += top/configure/RULES_TOP
|
||||
TEMPLATES += top/configure/RULES.ioc
|
||||
TEMPLATES += top/configure/RULES.iocBoot
|
||||
TEMPLATES += top/configure/RULES.registerRecordDeviceDriver
|
||||
|
||||
TEMPLATES += top/configure/Makefile
|
||||
TEMPLATES += top/configure/makeConfigAppInclude.pl
|
||||
TEMPLATES += top/configure/makeDbDepends.pl
|
||||
TEMPLATES += top/configure/makeIocCdCommands.pl
|
||||
TEMPLATES += top/configure/replaceVAR.pl
|
||||
|
||||
TEMPLATES += top/exampleApp/Makefile
|
||||
TEMPLATES += top/exampleApp/Db/Makefile
|
||||
TEMPLATES += top/exampleApp/Db/Makefile.Host
|
||||
TEMPLATES += top/exampleApp/Db/dbExample1.db
|
||||
TEMPLATES += top/exampleApp/Db/dbExample2.db
|
||||
TEMPLATES += top/exampleApp/src/Makefile
|
||||
TEMPLATES += top/exampleApp/src/Makefile.Host
|
||||
TEMPLATES += top/exampleApp/src/Makefile.Ioc
|
||||
TEMPLATES += top/exampleApp/src/base.dbd
|
||||
TEMPLATES += top/exampleApp/src/baseLIBOBJS
|
||||
TEMPLATES += top/exampleApp/src/caExample.c
|
||||
TEMPLATES += top/exampleApp/src/devXxxSoft.c
|
||||
TEMPLATES += top/exampleApp/src/exampleInclude.dbd
|
||||
TEMPLATES += top/exampleApp/src/sncExample.st
|
||||
TEMPLATES += top/exampleApp/src/xxxRecord.c
|
||||
TEMPLATES += top/exampleApp/src/xxxRecord.dbd
|
||||
|
||||
TEMPLATES += top/exampleBoot/Makefile
|
||||
TEMPLATES += top/exampleBoot/nfsCommands
|
||||
TEMPLATES += top/exampleBoot/ioc/Makefile
|
||||
TEMPLATES += top/exampleBoot/ioc/st.cmd
|
||||
|
||||
TEMPLATES += top/simpleApp/Makefile
|
||||
TEMPLATES += top/simpleApp/Db/Makefile
|
||||
TEMPLATES += top/simpleApp/src/Makefile
|
||||
TEMPLATES += top/simpleApp/src/Makefile.Host
|
||||
TEMPLATES += top/simpleApp/src/Makefile.Ioc
|
||||
|
||||
TEMPLATES += top/simpleBoot/Makefile
|
||||
TEMPLATES += top/simpleBoot/nfsCommands
|
||||
TEMPLATES += top/simpleBoot/ioc/Makefile
|
||||
TEMPLATES += top/simpleBoot/ioc/st.cmd
|
||||
|
||||
SCRIPTS += makeBaseApp.pl
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
+3
-2
@@ -1,8 +1,9 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
LIBRARY = miscLib
|
||||
|
||||
miscLib_SRCS = epicsRelease.c
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
LIBRARY = miscLib
|
||||
|
||||
miscLib_SRCS = epicsRelease.c
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
|
||||
+24
-2
@@ -1,6 +1,28 @@
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
# includes to install from this sub-project
|
||||
#
|
||||
|
||||
INC += registry.h
|
||||
|
||||
# general contents of library on all platforms
|
||||
#
|
||||
# system specific lines in RULES.Host figure out
|
||||
# 1) what object names (.o, .obj,...) to build
|
||||
# 2) where to find the sources: ., ./os/<ARCH_CLASS>, ./os/generic, ...
|
||||
#
|
||||
|
||||
SCRIPTS += registerRecordDeviceDriver.pl
|
||||
|
||||
registryLibrary_SRCS += registry.c
|
||||
registryLibrary_SRCS += registryRecordType.c
|
||||
registryLibrary_SRCS += registryDeviceSupport.c
|
||||
registryLibrary_SRCS += registryDriverSupport.c
|
||||
|
||||
PROD = registerRecordDeviceDriver.o
|
||||
|
||||
LIBRARY = registryLibrary
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
TOP=../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
# includes to install from this sub-project
|
||||
#
|
||||
|
||||
INC += registry.h
|
||||
|
||||
# general contents of library on all platforms
|
||||
#
|
||||
# system specific lines in RULES.Host figure out
|
||||
# 1) what object names (.o, .obj,...) to build
|
||||
# 2) where to find the sources: ., ./os/<ARCH_CLASS>, ./os/generic, ...
|
||||
#
|
||||
|
||||
SCRIPTS += registerRecordDeviceDriver.pl
|
||||
|
||||
registryLibrary_SRCS += registry.c
|
||||
registryLibrary_SRCS += registryRecordType.c
|
||||
registryLibrary_SRCS += registryDeviceSupport.c
|
||||
registryLibrary_SRCS += registryDriverSupport.c
|
||||
|
||||
PROD = registerRecordDeviceDriver.o
|
||||
|
||||
LIBRARY = registryLibrary
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
+9
-2
@@ -1,7 +1,14 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
USR_INCLUDES = -I../../ca
|
||||
USR_CFLAGS += -UUNIX -DiocCore
|
||||
|
||||
rsrvLib_SRCS = \
|
||||
caserverio.c caservertask.c camsgtask.c camessage.c \
|
||||
rsrv_init.c cast_server.c online_notify.c globalsource.c
|
||||
|
||||
LIBRARY = rsrvLib
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
USR_INCLUDES = -I../../ca
|
||||
USR_CFLAGS += -UUNIX -DiocCore
|
||||
|
||||
rsrvLib_SRCS = \
|
||||
caserverio.c caservertask.c camsgtask.c camessage.c \
|
||||
rsrv_init.c cast_server.c online_notify.c globalsource.c
|
||||
|
||||
LIBRARY = rsrvLib
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
@@ -1,6 +1,22 @@
|
||||
|
||||
TOP=../../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
HOST_WARN=NO
|
||||
USR_CFLAGS = -D_NO_PROTO
|
||||
|
||||
SRCS += closure.c
|
||||
SRCS += error.c
|
||||
SRCS += lalr.c
|
||||
SRCS += lr0.c
|
||||
SRCS += main.c
|
||||
SRCS += mkpar.c
|
||||
SRCS += output.c
|
||||
SRCS += reader.c
|
||||
SRCS += skeleton.c
|
||||
SRCS += symtab.c
|
||||
SRCS += verbose.c
|
||||
SRCS += warshall.c
|
||||
|
||||
PROD = antelope
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
|
||||
TOP=../../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
HOST_WARN=NO
|
||||
|
||||
USR_CFLAGS = -D_NO_PROTO
|
||||
|
||||
SRCS= closure.c error.c lalr.c lr0.c main.c \
|
||||
mkpar.c output.c reader.c skeleton.c \
|
||||
symtab.c verbose.c warshall.c
|
||||
|
||||
PROD = antelope
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
@@ -1,6 +1,43 @@
|
||||
|
||||
TOP=../../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
HOST_WARN=NO
|
||||
|
||||
YACC = $(EYACC)
|
||||
YACCOPT = -l -d
|
||||
|
||||
SKELETON_FILE=include/flex.skel.static
|
||||
|
||||
# ARCH_CLASS hp700 needs special flags,
|
||||
# everything else uses DEFAULT:
|
||||
#
|
||||
USR_CFLAGS_DEFAULT := -DUSG
|
||||
USR_CFLAGS_hp700 := -DSCO_UNIX
|
||||
|
||||
# This applies to all arch.classes:
|
||||
#
|
||||
USR_CFLAGS = -DDEFAULT_SKELETON_FILE=\"$(SKELETON_FILE)\"
|
||||
|
||||
INC += flex.skel.static
|
||||
|
||||
# main.c is included in parse.c
|
||||
#
|
||||
SRCS += ccl.c
|
||||
SRCS += dfa.c
|
||||
SRCS += ecs.c
|
||||
SRCS += gen.c
|
||||
SRCS += misc.c
|
||||
SRCS += nfa.c
|
||||
SRCS += sym.c
|
||||
SRCS += tblcmp.c
|
||||
SRCS += parse.c
|
||||
|
||||
PROD = e_flex
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
clean::
|
||||
$(RM) parse.c parse.h
|
||||
|
||||
# EOF Makefile.Host for base/src/toolsComm/flex
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
|
||||
TOP=../../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
HOST_WARN=NO
|
||||
|
||||
YACC = $(EYACC)
|
||||
YACCOPT = -l -d
|
||||
|
||||
SKELETON_FILE=include/flex.skel.static
|
||||
|
||||
# ARCH_CLASS hp700 needs special flags,
|
||||
# everything else uses DEFAULT:
|
||||
#
|
||||
USR_CFLAGS_DEFAULT := -DUSG
|
||||
USR_CFLAGS_hp700 := -DSCO_UNIX
|
||||
|
||||
# This applies to all arch.classes:
|
||||
#
|
||||
USR_CFLAGS = -DDEFAULT_SKELETON_FILE=\"$(SKELETON_FILE)\"
|
||||
|
||||
INC += flex.skel.static
|
||||
|
||||
# main.c is included in parse.c
|
||||
#
|
||||
SRCS := ccl.c dfa.c ecs.c gen.c misc.c nfa.c sym.c tblcmp.c parse.c
|
||||
|
||||
PROD = e_flex
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
clean::
|
||||
$(RM) parse.c parse.h
|
||||
|
||||
# EOF Makefile.Host for base/src/toolsComm/flex
|
||||
+28
-2
@@ -1,6 +1,32 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
CMPLR = STRICT
|
||||
|
||||
# DEFAULT Unix needs lib m, every system needs libs ca & Com:
|
||||
SYS_PROD_LIBS_DEFAULT := m
|
||||
SYS_PROD_LIBS_WIN32 := -nil-
|
||||
PROD_LIBS := ca Com
|
||||
#
|
||||
# Added winmm user32 for the non-dll build
|
||||
#
|
||||
SRCS_Host += ca_test_main.c
|
||||
SYS_PROD_LIBS_WIN32 := ws2_32 advapi32 user32
|
||||
PROD_DEFAULT = ca_test iocLogServer startCArepeater
|
||||
PROD_WIN32 = ca_test iocLogServer
|
||||
PRODIOC_vxWorks = ca_test.o
|
||||
|
||||
ca_test_SRCS = ca_test.c
|
||||
TARGETS = ca_test.o
|
||||
|
||||
SCRIPTS_solaris := S99logServer S99caRepeater
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
S99%: ../rc2.%
|
||||
@/usr/bin/sed -e s%:EPICS:%`chdir $(TOP); /usr/bin/pwd`% \
|
||||
-e s%:INSTALL_BIN:%`chdir $(INSTALL_BIN); /usr/bin/pwd`% \
|
||||
$< >$@
|
||||
|
||||
# EOF Makefile.Host for base/src/util
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
CMPLR = STRICT
|
||||
|
||||
# DEFAULT Unix needs lib m, every system needs libs ca & Com:
|
||||
SYS_PROD_LIBS_DEFAULT := m
|
||||
SYS_PROD_LIBS_WIN32 := -nil-
|
||||
PROD_LIBS := ca Com
|
||||
#
|
||||
# Added winmm user32 for the non-dll build
|
||||
#
|
||||
SYS_PROD_LIBS_WIN32 := ws2_32 advapi32 user32
|
||||
PROD_DEFAULT = ca_test iocLogServer startCArepeater
|
||||
PROD_WIN32 = ca_test iocLogServer
|
||||
PRODIOC_vxWorks = ca_test.o
|
||||
|
||||
SCRIPTS_solaris := S99logServer S99caRepeater
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
S99%: ../rc2.%
|
||||
@/usr/bin/sed -e s%:EPICS:%`chdir $(TOP); /usr/bin/pwd`% \
|
||||
-e s%:INSTALL_BIN:%`chdir $(INSTALL_BIN); /usr/bin/pwd`% \
|
||||
$< >$@
|
||||
|
||||
# EOF Makefile.Host for base/src/util
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
ca_test_SRCS = ca_test.c
|
||||
TARGETS = ca_test.o
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
|
||||
@@ -67,55 +67,6 @@ LOCAL void print_returned(chtype type, const void *pbuffer, unsigned count);
|
||||
|
||||
static unsigned long outstanding;
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
* main
|
||||
*
|
||||
* parse command line arguments
|
||||
*/
|
||||
#ifndef vxWorks
|
||||
int main(
|
||||
int argc,
|
||||
char **argv
|
||||
)
|
||||
{
|
||||
|
||||
/*
|
||||
* print error and return if arguments are invalid
|
||||
*/
|
||||
if(argc < 2 || argc > 3){
|
||||
printf("usage: ca_test channel_name <\"put value\">\n");
|
||||
printf("the following arguments were received\n");
|
||||
while(argc>0) {
|
||||
printf("%s\n",argv[0]);
|
||||
argv++; argc--;
|
||||
}
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* check for supplied value
|
||||
*/
|
||||
if(argc == 2){
|
||||
return ca_test(argv[1], NULL);
|
||||
}
|
||||
else if(argc == 3){
|
||||
char *pt;
|
||||
|
||||
/* strip leading and trailing quotes*/
|
||||
if(argv[2][1]=='"') argv[2]++;
|
||||
if( (pt=strchr(argv[2],'"')) ) *pt = 0;
|
||||
return ca_test(argv[1], argv[2]);
|
||||
}
|
||||
else{
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* ca_test
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/* @(#)ca_test.k $Id$
|
||||
* Author: Jeff Hill
|
||||
* Date: 21JAN2000
|
||||
*
|
||||
* Experimental Physics and Industrial Control System (EPICS)
|
||||
*
|
||||
* Copyright 1991, the Regents of the University of California,
|
||||
* and the University of Chicago Board of Governors.
|
||||
*
|
||||
* This software was produced under U.S. Government contracts:
|
||||
* (W-7405-ENG-36) at the Los Alamos National Laboratory,
|
||||
* and (W-31-109-ENG-38) at Argonne National Laboratory.
|
||||
*
|
||||
* Initial development by:
|
||||
* The Controls and Automation Group (AT-8)
|
||||
* Ground Test Accelerator
|
||||
* Accelerator Technology Division
|
||||
* Los Alamos National Laboratory
|
||||
*
|
||||
* Co-developed with
|
||||
* The Controls and Computing Group
|
||||
* Accelerator Systems Division
|
||||
* Advanced Photon Source
|
||||
* Argonne National Laboratory
|
||||
*
|
||||
* Modification Log:
|
||||
* -----------------
|
||||
* .01 21JAN2000 mrk split main from ca_test.c
|
||||
*/
|
||||
int ca_test(char *pname, char *pvalue);
|
||||
@@ -0,0 +1,70 @@
|
||||
/* @(#)ca_test_main.c $Id$
|
||||
* Author: Jeff Hill
|
||||
* Date: 21JAN2000
|
||||
*
|
||||
* Experimental Physics and Industrial Control System (EPICS)
|
||||
*
|
||||
* Copyright 1991, the Regents of the University of California,
|
||||
* and the University of Chicago Board of Governors.
|
||||
*
|
||||
* This software was produced under U.S. Government contracts:
|
||||
* (W-7405-ENG-36) at the Los Alamos National Laboratory,
|
||||
* and (W-31-109-ENG-38) at Argonne National Laboratory.
|
||||
*
|
||||
* Initial development by:
|
||||
* The Controls and Automation Group (AT-8)
|
||||
* Ground Test Accelerator
|
||||
* Accelerator Technology Division
|
||||
* Los Alamos National Laboratory
|
||||
*
|
||||
* Co-developed with
|
||||
* The Controls and Computing Group
|
||||
* Accelerator Systems Division
|
||||
* Advanced Photon Source
|
||||
* Argonne National Laboratory
|
||||
*
|
||||
* Modification Log:
|
||||
* -----------------
|
||||
* .01 21JAN2000 mrk split main from ca_test
|
||||
*/
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "ca_test.h"
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
/*
|
||||
* print error and return if arguments are invalid
|
||||
*/
|
||||
if(argc < 2 || argc > 3){
|
||||
printf("usage: ca_test channel_name <\"put value\">\n");
|
||||
printf("the following arguments were received\n");
|
||||
while(argc>0) {
|
||||
printf("%s\n",argv[0]);
|
||||
argv++; argc--;
|
||||
}
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* check for supplied value
|
||||
*/
|
||||
if(argc == 2){
|
||||
return ca_test(argv[1], NULL);
|
||||
}
|
||||
else if(argc == 3){
|
||||
char *pt;
|
||||
|
||||
/* strip leading and trailing quotes*/
|
||||
if(argv[2][1]=='"') argv[2]++;
|
||||
if( (pt=strchr(argv[2],'"')) ) *pt = 0;
|
||||
return ca_test(argv[1], argv[2]);
|
||||
}
|
||||
else{
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user