skel
This commit is contained in:
29
configure/CONFIG
Normal file
29
configure/CONFIG
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# CONFIG - Load build configuration data
|
||||||
|
#
|
||||||
|
# Do not make changes to this file!
|
||||||
|
|
||||||
|
# Allow user to override where the build rules come from
|
||||||
|
RULES = $(EPICS_BASE)
|
||||||
|
|
||||||
|
# RELEASE files point to other application tops
|
||||||
|
include $(TOP)/configure/RELEASE
|
||||||
|
-include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).Common
|
||||||
|
ifdef T_A
|
||||||
|
-include $(TOP)/configure/RELEASE.Common.$(T_A)
|
||||||
|
-include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
|
||||||
|
endif
|
||||||
|
|
||||||
|
CONFIG = $(RULES)/configure
|
||||||
|
include $(CONFIG)/CONFIG
|
||||||
|
|
||||||
|
# Override the Base definition:
|
||||||
|
INSTALL_LOCATION = $(TOP)
|
||||||
|
|
||||||
|
# CONFIG_SITE files contain other build configuration settings
|
||||||
|
include $(TOP)/configure/CONFIG_SITE
|
||||||
|
-include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).Common
|
||||||
|
ifdef T_A
|
||||||
|
-include $(TOP)/configure/CONFIG_SITE.Common.$(T_A)
|
||||||
|
-include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
|
||||||
|
endif
|
||||||
|
|
36
configure/CONFIG_SITE
Normal file
36
configure/CONFIG_SITE
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# CONFIG_SITE
|
||||||
|
|
||||||
|
# Make any application-specific changes to the EPICS build
|
||||||
|
# configuration variables in this file.
|
||||||
|
#
|
||||||
|
# Host/target specific settings can be specified in files named
|
||||||
|
# CONFIG_SITE.$(EPICS_HOST_ARCH).Common
|
||||||
|
# CONFIG_SITE.Common.$(T_A)
|
||||||
|
# CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
|
||||||
|
|
||||||
|
# CHECK_RELEASE controls the consistency checking of the support
|
||||||
|
# applications pointed to by the RELEASE* files.
|
||||||
|
# Normally CHECK_RELEASE should be set to YES.
|
||||||
|
# Set CHECK_RELEASE to NO to disable checking completely.
|
||||||
|
# Set CHECK_RELEASE to WARN to perform consistency checking but
|
||||||
|
# continue building even if conflicts are found.
|
||||||
|
CHECK_RELEASE = YES
|
||||||
|
|
||||||
|
# Set this when you only want to compile this application
|
||||||
|
# for a subset of the cross-compiled target architectures
|
||||||
|
# that Base is built for.
|
||||||
|
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-ppc32
|
||||||
|
|
||||||
|
# To install files into a location other than $(TOP) define
|
||||||
|
# INSTALL_LOCATION here.
|
||||||
|
#INSTALL_LOCATION=</absolute/path/to/install/top>
|
||||||
|
|
||||||
|
# Set this when the IOC and build host use different paths
|
||||||
|
# to the install location. This may be needed to boot from
|
||||||
|
# a Microsoft FTP server say, or on some NFS configurations.
|
||||||
|
#IOCS_APPL_TOP = </IOC's/absolute/path/to/install/top>
|
||||||
|
|
||||||
|
# For application debugging purposes, override the HOST_OPT and/
|
||||||
|
# or CROSS_OPT settings from base/configure/CONFIG_SITE
|
||||||
|
#HOST_OPT = NO
|
||||||
|
#CROSS_OPT = NO
|
8
configure/Makefile
Normal file
8
configure/Makefile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
TOP=..
|
||||||
|
|
||||||
|
include $(TOP)/configure/CONFIG
|
||||||
|
|
||||||
|
TARGETS = $(CONFIG_TARGETS)
|
||||||
|
CONFIGS += $(subst ../,,$(wildcard $(CONFIG_INSTALLS)))
|
||||||
|
|
||||||
|
include $(TOP)/configure/RULES
|
23
configure/RELEASE
Normal file
23
configure/RELEASE
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# RELEASE - Location of external support modules
|
||||||
|
#
|
||||||
|
# IF YOU MAKE ANY CHANGES to this file you must subsequently
|
||||||
|
# do a "gnumake rebuild" in this application's top level
|
||||||
|
# directory.
|
||||||
|
#
|
||||||
|
# The build process does not check dependencies against files
|
||||||
|
# that are outside this application, thus you should do a
|
||||||
|
# "gnumake rebuild" in the top level directory after EPICS_BASE
|
||||||
|
# or any other external module pointed to below is rebuilt.
|
||||||
|
#
|
||||||
|
# Host- or target-specific settings can be given in files named
|
||||||
|
# RELEASE.$(EPICS_HOST_ARCH).Common
|
||||||
|
# RELEASE.Common.$(T_A)
|
||||||
|
# RELEASE.$(EPICS_HOST_ARCH).$(T_A)
|
||||||
|
#
|
||||||
|
# This file should ONLY define paths to other support modules,
|
||||||
|
# or include statements that pull in similar RELEASE files.
|
||||||
|
# Build settings that are NOT module paths should appear in a
|
||||||
|
# CONFIG_SITE file.
|
||||||
|
|
||||||
|
-include $(TOP)/../RELEASE.local
|
||||||
|
-include $(TOP)/configure/RELEASE.local
|
6
configure/RULES
Normal file
6
configure/RULES
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# RULES
|
||||||
|
|
||||||
|
include $(CONFIG)/RULES
|
||||||
|
|
||||||
|
# Library should be rebuilt because LIBOBJS may have changed.
|
||||||
|
$(LIBNAME): ../Makefile
|
2
configure/RULES.ioc
Normal file
2
configure/RULES.ioc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#RULES.ioc
|
||||||
|
include $(CONFIG)/RULES.ioc
|
2
configure/RULES_DIRS
Normal file
2
configure/RULES_DIRS
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#RULES_DIRS
|
||||||
|
include $(CONFIG)/RULES_DIRS
|
3
configure/RULES_TOP
Normal file
3
configure/RULES_TOP
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#RULES_TOP
|
||||||
|
include $(CONFIG)/RULES_TOP
|
||||||
|
|
21
p2pApp/Makefile
Normal file
21
p2pApp/Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
TOP=..
|
||||||
|
|
||||||
|
include $(TOP)/configure/CONFIG
|
||||||
|
#----------------------------------------
|
||||||
|
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||||
|
#=============================
|
||||||
|
|
||||||
|
PROD_HOST = p2p
|
||||||
|
|
||||||
|
|
||||||
|
p2p_SRCS +=
|
||||||
|
|
||||||
|
#p2p_LIBS += xxx
|
||||||
|
p2p_LIBS += $(EPICS_BASE_HOST_LIBS)
|
||||||
|
|
||||||
|
#===========================
|
||||||
|
|
||||||
|
include $(TOP)/configure/RULES
|
||||||
|
#----------------------------------------
|
||||||
|
# ADD RULES AFTER THIS LINE
|
||||||
|
|
Reference in New Issue
Block a user