From 83fac35dcbf9eb987953411ba8c0f7728c62e108 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Thu, 15 Dec 2005 20:25:24 +0000 Subject: [PATCH] Changes for WIN32 --- motorExApp/WithAsyn/Makefile | 12 +++++++++++- motorExApp/WithMPF/Makefile | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/motorExApp/WithAsyn/Makefile b/motorExApp/WithAsyn/Makefile index 1f563728..0d39d440 100644 --- a/motorExApp/WithAsyn/Makefile +++ b/motorExApp/WithAsyn/Makefile @@ -6,13 +6,23 @@ TOP = ../.. include $(TOP)/configure/CONFIG -DBD += WithMPF.dbd +ifeq ($(OS_CLASS), vxWorks) DBD += WithMPFVx.dbd +endif +ifeq ($(OS_CLASS), WIN32) +DBD += WithMPFWin32.dbd +else +DBD += WithMPF.dbd +endif PROD_IOC_DEFAULT = WithMPF PROD_IOC_vxWorks = WithMPFVx +ifeq ($(OS_CLASS), WIN32) +WithMPF_SRCS += WithMPFWin32_registerRecordDeviceDriver.cpp +else WithMPF_SRCS += WithMPF_registerRecordDeviceDriver.cpp +endif WithMPFVx_SRCS += WithMPFVx_registerRecordDeviceDriver.cpp WithMPF_SRCS_DEFAULT += WithMPFMain.cpp diff --git a/motorExApp/WithMPF/Makefile b/motorExApp/WithMPF/Makefile index 1f563728..0d39d440 100644 --- a/motorExApp/WithMPF/Makefile +++ b/motorExApp/WithMPF/Makefile @@ -6,13 +6,23 @@ TOP = ../.. include $(TOP)/configure/CONFIG -DBD += WithMPF.dbd +ifeq ($(OS_CLASS), vxWorks) DBD += WithMPFVx.dbd +endif +ifeq ($(OS_CLASS), WIN32) +DBD += WithMPFWin32.dbd +else +DBD += WithMPF.dbd +endif PROD_IOC_DEFAULT = WithMPF PROD_IOC_vxWorks = WithMPFVx +ifeq ($(OS_CLASS), WIN32) +WithMPF_SRCS += WithMPFWin32_registerRecordDeviceDriver.cpp +else WithMPF_SRCS += WithMPF_registerRecordDeviceDriver.cpp +endif WithMPFVx_SRCS += WithMPFVx_registerRecordDeviceDriver.cpp WithMPF_SRCS_DEFAULT += WithMPFMain.cpp