Skip to content
Snippets Groups Projects
Commit 40bca6d9 authored by Simon Rose's avatar Simon Rose
Browse files

Initial build test

parent beb1342a
No related branches found
No related tags found
No related merge requests found
.PHONY: default
default: test
.PHONY: test
test: check_env
${MAKE} -C wrapper init
${MAKE} -C wrapper clean
${MAKE} -C wrapper patch
${MAKE} -C wrapper cellinstall
.PHONY: check_env
check_env: guard-EPICS_BASE guard-E3_REQUIRE_VERSION
@#$(or $(wildcard ${EPICS_BASE}/require/${E3_REQUIRE_VERSION}/bin/setE3Env.bash), $(error setE3Env.bash not found. Please check your version of base and require.))
guard-%:
@#$(or ${$*}, $(error $* is not set))
TOP:=$(CURDIR)
E3_REQUIRE_LOCATION := $(EPICS_BASE)/require/$(E3_REQUIRE_VERSION)
REQUIRE_CONFIG := $(E3_REQUIRE_LOCATION)/configure
# To configure the modules
EPICS_MODULE_NAME:=build
E3_MODULE_VERSION:=0.0.0
E3_MODULE_NAME:=$(EPICS_MODULE_NAME)
E3_MODULE_SRC_PATH:=$(EPICS_MODULE_NAME)
E3_MODULE_MAKEFILE:=$(EPICS_MODULE_NAME).Makefile
include $(REQUIRE_CONFIG)/CONFIG
include $(REQUIRE_CONFIG)/RULES_SITEMODS
ifeq ($(strip $(E3_REQUIRE_VERSION)),3.4.1)
db: conf
$(QUIET) $(E3_MODULE_MAKE_CMDS) db
endif
hdrs:
where_am_I := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
include $(E3_REQUIRE_TOOLS)/driver.makefile
db:
.PHONY: db
\ No newline at end of file
record(ai, "TEST") {
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment