From 931fdc6545d1db41f9180759e534399c3a0640bc Mon Sep 17 00:00:00 2001
From: Tim Mooney <mooney@aps.anl.gov>
Date: Wed, 8 Jun 2016 12:56:13 -0500
Subject: [PATCH] Don't include devVxStats.dbd.  devIocStats.dbd is preferred.

---
 xxxApp/src/Makefile | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/xxxApp/src/Makefile b/xxxApp/src/Makefile
index 6681636..63ddcfa 100644
--- a/xxxApp/src/Makefile
+++ b/xxxApp/src/Makefile
@@ -29,6 +29,11 @@ PROD_IOC = xxx
 DBD += xxx_Common.dbd
 xxx_Common_DBD += base.dbd
 
+#ifdef TDS3000
+#	xxx_Common_DBD += devTDS3000.dbd
+#	xxx_Common_LIBS := devTDS3000 $(xxx_Common_LIBS)
+#endif
+
 #ifdef CAPUTLOG
 #	xxx_Common_DBD += caPutLog.dbd
 #	xxx_Common_LIBS := caPutLog $(xxx_Common_LIBS)
@@ -155,6 +160,11 @@ ifdef VAC
 	xxx_Common_LIBS := vac $(xxx_Common_LIBS)
 endif
 
+#ifdef FLY
+#	xxx_Common_DBD += flySupport.dbd
+#	xxx_Common_LIBS := fly $(xxx_Common_LIBS)
+#endif
+
 xxx_Common_LIBS := $(xxx_Common_LIBS) $(EPICS_BASE_IOC_LIBS)
 
 ##################################################################
@@ -188,9 +198,11 @@ ifeq (win32-x86,$(findstring win32-x86, $(T_A)))
 		-include $(ADCORE)/ADApp/commonDriverMakefile
 		iocxxxWin32_DBD += ADSupport.dbd NDPluginSupport.dbd
 		xxx_LIBS_WIN32 += $(AD_LIBS)
-		# To add the simDetector uncomment the following lines
-		iocxxxLinux_DBD += simDetectorSupport.dbd
-		xxx_LIBS_WIN32 += simDetector
+		ifdef ADEXAMPLE
+			# To add the simDetector uncomment the following lines
+			iocxxxLinux_DBD += simDetectorSupport.dbd
+			xxx_LIBS_WIN32 += simDetector
+		endif
 	endif
 endif
 
@@ -330,9 +342,11 @@ ifeq (vxWorks,$(findstring vxWorks, $(T_A)))
 		xxx_LIBS_vxWorks += oms DeltaTau
 	endif
 
-	ifdef DEVIOCSTATS
-		iocxxxVX_DBD += devVxStats.dbd
-	endif
+#	ifdef FLY
+#		iocxxxVX_DBD += flyVXSupport.dbd
+#		xxx_LIBS_vxWorks += fly
+#	endif
+
 endif
 
 ifneq (,$(findstring linux, $(T_A)))
@@ -424,6 +438,10 @@ xxx_LIBS_cygwin32 += $(xxx_Common_LIBS)
 xxx_LIBS_WIN32    += $(xxx_Common_LIBS)
 xxx_LIBS_Darwin   += $(xxx_Common_LIBS)
 
+# Here's how to print out all gnumake variables
+#$(foreach v, $(.VARIABLES), $(info $(v) = $($(v))))
+# print out just one variable
+#$(info SUPPORT = $(SUPPORT))
 
 #===========================
 
-- 
GitLab