* lp-anj7/expanded-rules: Generate module version files with new RULES_EXPAND facilities Extend RULES_EXPAND to add more features More generator doc updates Document <library>_API = <stem> for Makefiles Convert epicsShareAPI to epicsStdCall in modules/ca Update generator script Modify rules to allow multiple API.h libraries to be built Convert modules/ca to use LIBCA_API instead of epicsShare Try out a representative sample of APIs from multiple libraries Add build rules to generate and install *API.h header files Add script to generate *API.h headers
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
#*************************************************************************
|
|
# Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne
|
|
# National Laboratory.
|
|
# Copyright (c) 2002 The Regents of the University of California, as
|
|
# Operator of Los Alamos National Laboratory.
|
|
# EPICS BASE is distributed subject to a Software License Agreement found
|
|
# in file LICENSE that is included with this distribution.
|
|
#*************************************************************************
|
|
IOCDIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
|
|
TOP = ../../../..
|
|
|
|
include $(TOP)/configure/CONFIG
|
|
|
|
USR_CPPFLAGS += -DUSE_TYPED_RSET -DUSE_TYPED_DSET
|
|
|
|
# Shared library ABI version.
|
|
SHRLIB_VERSION = $(EPICS_DATABASE_MAJOR_VERSION).$(EPICS_DATABASE_MINOR_VERSION).$(EPICS_DATABASE_MAINTENANCE_VERSION)
|
|
|
|
API_HEADER = dbCoreAPI.h
|
|
dbCore_API = dbCore
|
|
|
|
LIBRARY_IOC += dbCore
|
|
dbCore_LIBS += ca Com
|
|
dbCore_SYS_LIBS_WIN32 += ws2_32
|
|
|
|
dbCore_RCS += dbCore.rc
|
|
|
|
EXPAND_COMMON += databaseVersion.h@
|
|
|
|
EXPAND_ME += EPICS_DATABASE_MAJOR_VERSION
|
|
EXPAND_ME += EPICS_DATABASE_MINOR_VERSION
|
|
EXPAND_ME += EPICS_DATABASE_MAINTENANCE_VERSION
|
|
EXPAND_ME += EPICS_DATABASE_DEVELOPMENT_FLAG
|
|
|
|
INC += databaseVersion.h
|
|
|
|
PROD_LIBS = Com
|
|
|
|
include $(IOCDIR)/as/Makefile
|
|
include $(IOCDIR)/bpt/Makefile
|
|
include $(IOCDIR)/db/Makefile
|
|
include $(IOCDIR)/dbStatic/Makefile
|
|
include $(IOCDIR)/dbtemplate/Makefile
|
|
include $(IOCDIR)/misc/Makefile
|
|
include $(IOCDIR)/registry/Makefile
|
|
include $(IOCDIR)/rsrv/Makefile
|
|
|
|
GENVERSION = epicsVCS.h
|
|
GENVERSIONMACRO = EPICS_VCS_VERSION
|
|
|
|
include $(TOP)/configure/RULES
|
|
|
|
include $(IOCDIR)/dbStatic/RULES
|
|
include $(IOCDIR)/bpt/RULES
|
|
include $(IOCDIR)/db/RULES
|
|
include $(IOCDIR)/dbtemplate/RULES
|
|
|
|
epicsRelease$(DEP): $(COMMON_DIR)/$(GENVERSION)
|