Another oops, this contains the SNC rules...
Warning, cannot access the index:
_darcs/index: opening of '_darcs/index' failed: permission denied (Permission denied)
diff -rN -u old-branch-2-0/configure/RULES_BUILD new-branch-2-0/configure/RULES_BUILD
--- old-branch-2-0/configure/RULES_BUILD 1970-01-01 01:00:00.000000000 +0100
+++ new-branch-2-0/configure/RULES_BUILD 2022-09-26 04:20:15.237941548 +0200
@@ -0,0 +1,69 @@
+# $Id: RULES_BUILD,v 1.16 2006-03-29 23:28:09 anj Exp $
+#
+# State notation language (snc) rules
+# Each <name>.st (or <name>.stt) produces <name>.c
+
+
+#--------------------------------------------------
+# snc flags
+
+TARGET_SNCFLAGS = $($(basename $@)_SNCFLAGS) $($(basename $@)_SNCFLAGS_$(OS_CLASS))
+
+# addons - concat os specific sequencer flags
+ifneq ($(strip $(SNCFLAGS_$(OS_CLASS))),)
+SNCFLAGS += $(subst -nil-,,$(SNCFLAGS_$(OS_CLASS)))
+else
+ifdef SNCFLAGS_DEFAULT
+SNCFLAGS += $(SNCFLAGS_DEFAULT)
+endif
+endif
+
+#--------------------------------------------------
+# vpath
+
+vpath %.st $(USR_VPATH) $(ALL_SRC_DIRS)
+vpath %.stt $(USR_VPATH) $(ALL_SRC_DIRS)
+
+#--------------------------------------------------
+# depends rule needs .c files
+
+SNC_SRC_FILES = $(basename $(notdir $(filter %.st %.stt,$(SRC_FILES))))
+SNC_CSRC_FILES = $(addsuffix .c,$(SNC_SRC_FILES))
+HDEPENDS_FILES_YES += $(addsuffix $(DEP),$(basename $(SNC_CSRC_FILES)))
+
+#--------------------------------------------------
+# snc executable
+
+
+ifdef RULES_TOP
+ # EPICS base R3.14.7 and later
+ SNC:=$(RULES_TOP)/bin/$(EPICS_HOST_ARCH)/snc$(HOSTEXE)
+else
+ # EPICS base R3.14.6 and earlier
+ ifndef SNC
+ SNC = $(SNCSEQ_HOST_BIN)/snc$(HOSTEXE)
+ endif
+endif
+
+
+#--------------------------------------------------
+# Rules
+
+%.i: ../%.st
+ @echo "preprocessing $<"
+ @$(RM) $@
+ $(PREPROCESS.cpp)
+
+%.c: %.i
+ @echo "converting $<"
+ $(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $< -o $(@F).tmp
+ $(MV) $(@F).tmp $@
+
+%.c: ../%.stt
+ @echo "converting $< "
+ $(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $< -o $(@F).tmp
+ $(MV) $(@F).tmp $@
+
+clean::
+ @$(RM) $(SNC_CSRC_FILES)
+
patch 1bedb9ade882009810b34b1f94db16a810fb8bae
Author: Andrew Johnson <anj@aps.anl.gov>
Date: Thu Mar 30 01:28:09 CEST 2006
* Another oops, this contains the SNC rules..