diff --git a/src/perl/Makefile b/src/perl/Makefile index 162b243e1..e89b948dc 100644 --- a/src/perl/Makefile +++ b/src/perl/Makefile @@ -37,11 +37,7 @@ ifeq ($(T_A),$(EPICS_HOST_ARCH)) # No cross-builds (wrong Perl!) ifeq ($(findstring $(OS_CLASS),WIN32 cygwin32),) # Doesn't build on WIN32 LOADABLE_LIBRARY_HOST = Cap5 - PERL_SCRIPTS += cainfo.pl - PERL_SCRIPTS += caput.pl - PERL_SCRIPTS += caget.pl PERL_SCRIPTS += capr.pl - PERL_SCRIPTS += camonitor.pl PERL_MODULES += CA.pm PERL_MODULES += $(PERL_ARCHPATH)/$(LOADABLE_SHRLIB_PREFIX)Cap5$(LOADABLE_SHRLIB_SUFFIX) diff --git a/src/template/Makefile b/src/template/Makefile index a3376fe9a..913d92bf4 100644 --- a/src/template/Makefile +++ b/src/template/Makefile @@ -8,4 +8,10 @@ TEMPLATES += top/caClientApp/Makefile TEMPLATES += top/caClientApp/caExample.c TEMPLATES += top/caClientApp/caMonitor.c +TEMPLATES += top/caPerlApp/Makefile +TEMPLATES += top/caPerlApp/cainfo.pl +TEMPLATES += top/caPerlApp/caget.pl +TEMPLATES += top/caPerlApp/caput.pl +TEMPLATES += top/caPerlApp/camonitor.pl + include $(TOP)/configure/RULES diff --git a/src/template/top/caPerlApp/Makefile b/src/template/top/caPerlApp/Makefile new file mode 100644 index 000000000..57de9ae58 --- /dev/null +++ b/src/template/top/caPerlApp/Makefile @@ -0,0 +1,15 @@ +TOP=.. + +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +PERL_SCRIPTS += cainfo.pl +PERL_SCRIPTS += caput.pl +PERL_SCRIPTS += caget.pl +PERL_SCRIPTS += camonitor.pl + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/src/perl/caget.pl b/src/template/top/caPerlApp/caget.pl similarity index 100% rename from src/perl/caget.pl rename to src/template/top/caPerlApp/caget.pl diff --git a/src/perl/cainfo.pl b/src/template/top/caPerlApp/cainfo.pl similarity index 100% rename from src/perl/cainfo.pl rename to src/template/top/caPerlApp/cainfo.pl diff --git a/src/perl/camonitor.pl b/src/template/top/caPerlApp/camonitor.pl similarity index 100% rename from src/perl/camonitor.pl rename to src/template/top/caPerlApp/camonitor.pl diff --git a/src/perl/caput.pl b/src/template/top/caPerlApp/caput.pl similarity index 100% rename from src/perl/caput.pl rename to src/template/top/caPerlApp/caput.pl