From 5854523daf328e58680740148bab68cabeb278ac Mon Sep 17 00:00:00 2001
From: timmmooney <mooney@aps.anl.gov>
Date: Fri, 7 Oct 2011 16:41:40 +0000
Subject: [PATCH] areaDetector for cygwin, ifneq syntax

---
 xxxApp/src/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/xxxApp/src/Makefile b/xxxApp/src/Makefile
index 3ec0681..07d1f5b 100644
--- a/xxxApp/src/Makefile
+++ b/xxxApp/src/Makefile
@@ -73,6 +73,11 @@ endif
 ifeq ($(EPICS_HOST_ARCH), cygwin-x86)
 	DBD  += iocxxxCygwin.dbd
 	iocxxxCygwin_DBD += xxxCommonInclude.dbd
+	# for simDetector
+	iocxxxCygwin_DBD += ADSupport.dbd  NDFileNetCDF.dbd
+	xxx_LIBS_cygwin32 += ADBase NDPlugin netCDF
+	iocxxxCygwin_DBD += simDetectorSupport.dbd commonDriverSupport.dbd
+	xxx_LIBS_cygwin32 += simDetector
 
 	# If you want to build parallel port or USB interfaces to Saturn and/or xMAP DXP
 	# then uncomment the following six lines
@@ -132,7 +137,7 @@ endif
 	endif
 endif
 
-ifneq ("",$(findstring linux, $(T_A)))
+ifneq (,$(findstring linux, $(T_A)))
 	DBD  += iocxxxLinux.dbd
 	iocxxxLinux_DBD += xxxCommonInclude.dbd
 	iocxxxLinux_DBD += ADSupport.dbd  NDFileNetCDF.dbd
-- 
GitLab