From: <wda...@us...> - 2006-11-01 19:34:30
|
Revision: 32 http://svn.sourceforge.net/oorexx/?rev=32&view=rev Author: wdashley Date: 2006-11-01 11:33:17 -0800 (Wed, 01 Nov 2006) Log Message: ----------- ArtifactId: None Comment: Makefile changes for rexxapi. Modified Paths: -------------- interpreter/trunk/rexxapi/Makefile.am Added Paths: ----------- interpreter/trunk/rexxapi/platform/Makefile.am interpreter/trunk/rexxapi/platform/unix/Makefile.am interpreter/trunk/rexxapi/platform/unix/Makefile.win Removed Paths: ------------- interpreter/trunk/rexxapi/Makefile.win Modified: interpreter/trunk/rexxapi/Makefile.am =================================================================== --- interpreter/trunk/rexxapi/Makefile.am 2006-11-01 19:27:58 UTC (rev 31) +++ interpreter/trunk/rexxapi/Makefile.am 2006-11-01 19:33:17 UTC (rev 32) @@ -38,107 +38,7 @@ MAINTAINERCLEANFILES = Makefile.in -# get version details from our external file -include $(top_srcdir)/oorexx.ver +SUBDIRS = platform +DIST_SUBDIRS = platform -INCLUDES = @OOREXX_INCLUDES@ \ - -I$(top_srcdir)/rexxapi \ - -I$(top_srcdir)/rexxapi/api \ - -I$(top_srcdir)/rexxapi/api/platform/unix \ - -I$(top_srcdir)/rexxapi/daemon \ - -I$(top_srcdir)/rexxapi/daemon/platform/unix \ - -I$(top_srcdir)/shared \ - -I$(top_srcdir)/shared/unix - -#################### librexxapi.la ######################### - -pkglib_LTLIBRARIES = librexxapi.la - -# -# Sources for librexxapi.la -# -librexxapi_la_SOURCES = Encodings.hpp \ - ServiceException.hpp \ - ServiceMessage.cpp \ - ServiceMessage.hpp \ - api/ClientMessage.cpp \ - api/ClientMessage.hpp \ - api/LocalAPIContext.cpp \ - api/LocalAPIContext.hpp \ - api/LocalAPIManager.cpp \ - api/LocalAPIManager.hpp \ - api/LocalAPISubsystem.hpp \ - api/LocalMacroSpaceManager.cpp \ - api/LocalMacroSpaceManager.hpp \ - api/LocalQueueManager.cpp \ - api/LocalQueueManager.hpp \ - api/LocalRegistrationManager.cpp \ - api/LocalRegistrationManager.hpp \ - api/MacroSpaceApi.cpp \ - api/QueuesAPI.cpp \ - api/RegistrationAPI.cpp \ - api/RexxAPI.h \ - api/RexxLegacyAPI.cpp \ - api/RexxLegacyAPI.hpp \ - api/platform/unix/SysLocalAPIManager.cpp \ - api/platform/unix/SysLocalAPIManager.hpp - -# -# C++ compiler flags for librexxapi.la sources -# -librexxapi_la_CXXFLAGS = -DORX_VER=$(MAJOR) -DORX_REL=$(MINOR) \ - -DORX_MOD=$(MOD_LVL) - -# -# linker flags for librexxapi.la objects -# -librexxapi_la_LDFLAGS = -version-info @OOREXX_LIB_VERSION@ -no-undefined \ - @OOREXX_LIBS@ - -# -# additional libraries for librexxapi.la objects -# -librexxapi_la_LIBADD = -lrxshared - - -#################### rxapi ######################### - -bin_PROGRAMS = rxapi - -# -# Sources for rxapi -# -rxapi_SOURCES = Encodings.hpp \ - ServiceException.hpp \ - ServiceMessage.cpp \ - ServiceMessage.hpp \ - daemon/APIServer.cpp \ - daemon/APIServer.hpp \ - daemon/APIServerInstance.cpp \ - daemon/APIServerInstance.hpp \ - daemon/MacroSpaceManager.cpp \ - daemon/MacroSpaceManager.hpp \ - daemon/QueueManager.cpp \ - daemon/QueueManager.hpp \ - daemon/RegistrationManager.cpp \ - daemon/RegistrationManager.hpp \ - daemon/platform/unix/APIService.cpp - -# -# C++ compiler flags for rxapi sources -# -rxapi_CXXFLAGS = -DORX_VER=$(MAJOR) -DORX_REL=$(MINOR) \ - -DORX_MOD=$(MOD_LVL) - -# -# additional libraries for rxapi objects -# -rxapi_LDADD = -lrxshared -lrexxapi @OOREXX_LIBS@ - -# -# linker flags for rxapi objects -# -rxapi_LDFLAGS = - - Deleted: interpreter/trunk/rexxapi/Makefile.win =================================================================== --- interpreter/trunk/rexxapi/Makefile.win 2006-11-01 19:27:58 UTC (rev 31) +++ interpreter/trunk/rexxapi/Makefile.win 2006-11-01 19:33:17 UTC (rev 32) @@ -1,230 +0,0 @@ -#---------------------------------------------------------------------------- -# -# Copyright (c) 2005-2006 Rexx Language Association. All rights reserved. -# -# This program and the accompanying materials are made available under -# the terms of the Common Public License v1.0 which accompanies this -# distribution. A copy is also available at the following address: -# http://www.ibm.com/developerworks/oss/CPLv1.0.htm -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the distribution. -# -# Neither the name of Rexx Language Association nor the names -# of its contributors may be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, -# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -#---------------------------------------------------------------------------- - - -# This is a part of the ooRexx Windows build - - -!include $(top_srcdir)\Nmake.inc - -INCLUDES = $(OOREXXINC) \ - /I$(top_srcdir)\kernel\messages \ - /I$(top_srcdir)\rexxapi \ - /I$(top_srcdir)\rexxapi\api \ - /I$(top_srcdir)\rexxapi\api\platform\windows \ - /I$(top_srcdir)\rexxapi\daemon \ - /I$(top_srcdir)\rexxapi\daemon\platform\windows - -DLLOBJS = LocalAPIContext.obj SysLocalAPIManager.obj LocalAPIManager.obj LocalMacroSpaceManager.obj \ - LocalQueueManager.obj LocalRegistrationManager.obj MacroSpaceApi.obj \ - QueuesAPI.obj RegistrationAPI.obj RexxLegacyAPI.obj SysLegacyAPI.obj ClientMessage.obj - -EXEOBJS = APIServer.obj APIService.obj APIServerInstance.obj MacroSpaceManager.obj QueueManager.obj \ - RegistrationManager.obj - -COMMONOBJS = ServiceMessage.obj - -SHAREDLIB = $(top_srcdir)\shared\windows\rxshared.lib - -SHAREDDLLVER = $(top_srcdir)\shared\windows\verinfo_dll.res -SHAREDEXEVER = $(top_srcdir)\shared\windows\verinfo_exe.res - -#################### build rexxapi.dll and rxapi.exe ########################## - -all: rexxapi.dll rexxapi.lib rxapi.exe - -rexxapi.dll rexxapi.lib: $(DLLOBJS) $(COMMONOBJS) $(SHAREDLIB) $(SHAREDVER) \ - api\platform\windows\rexxapi.def - $(LD) /DLL $(LFLAGS) $(DLLOBJS) $(COMMONOBJS) $(SHAREDLIB) \ - $(WINLIBS) $(SHAREDDLLVER) /SUBSYSTEM:WINDOWS \ - /DEF:api\platform\windows\rexxapi.def /OUT:rexxapi.dll - -rxapi.exe: $(EXEOBJS) $(COMMONOBJS) $(SHAREDLIB) rexxapi.lib $(SHAREDEXEVER) - $(LD) $(LFLAGS) $(EXEOBJS) $(COMMONOBJS) $(SHAREDLIB) rexxapi.lib \ - $(WINLIBS) $(SHAREDEXEVER) /SUBSYSTEM:WINDOWS /DELAYLOAD:advapi32.dll \ - /OUT:rxapi.exe - -APIServer.obj: daemon\APIServer.cpp \ - daemon\APIServer.hpp \ - daemon\APIServerInstance.hpp \ - ServiceMessage.hpp \ - ServiceException.hpp \ - daemon\MacroSpaceManager.hpp \ - daemon\RegistrationManager.hpp \ - daemon\QueueManager.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) daemon\APIServer.cpp /o $@ - -APIServerInstance.obj: daemon\APIServerInstance.cpp \ - daemon\APIServer.hpp \ - daemon\APIServerInstance.hpp \ - ServiceMessage.hpp \ - ServiceException.hpp \ - daemon\MacroSpaceManager.hpp \ - daemon\RegistrationManager.hpp \ - daemon\QueueManager.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) daemon\APIServerInstance.cpp /o $@ - -APIService.obj: daemon\platform\windows\APIService.cpp \ - daemon\APIServer.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) daemon\platform\windows\APIService.cpp /o $@ - -ServiceMessage.obj: ServiceMessage.cpp \ - ServiceMessage.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) ServiceMessage.cpp /o $@ - -ClientMessage.obj: api\ClientMessage.cpp \ - ServiceMessage.hpp \ - api\ClientMessage.hpp \ - api\LocalAPIManager.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\ClientMessage.cpp /o $@ - -LocalAPIContext.obj: api\LocalAPIContext.cpp \ - api\LocalAPIContext.hpp \ - ServiceException.hpp \ - api\LocalAPIManager.hpp \ - ServiceMessage.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\LocalAPIContext.cpp /o $@ - -LocalAPIManager.obj: api\LocalAPIManager.cpp \ - api\LocalAPIManager.hpp \ - ServiceMessage.hpp \ - api\ClientMessage.hpp \ - api\platform\windows\SysLocalAPIManager.hpp \ - api\LocalRegistrationManager.hpp \ - api\LocalQueueManager.hpp \ - api\LocalMacroSpaceManager.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\LocalAPIManager.cpp /o $@ - -SysLocalAPIManager.obj: api\platform\windows\SysLocalAPIManager.cpp \ - api\platform\windows\SysLocalAPIManager.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\platform\windows\SysLocalAPIManager.cpp /o $@ - -LocalMacroSpaceManager.obj: api\LocalMacroSpaceManager.cpp \ - api\LocalMacroSpaceManager.hpp \ - api\LocalAPIManager.hpp \ - api\LocalAPISubsystem.hpp \ - ServiceMessage.hpp \ - api\ClientMessage.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\LocalMacroSpaceManager.cpp /o $@ - -LocalQueueManager.obj: api\LocalQueueManager.cpp \ - api\LocalQueueManager.hpp \ - Encodings.hpp \ - api\LocalAPIManager.hpp \ - api\LocalAPISubsystem.hpp \ - ServiceMessage.hpp \ - api\ClientMessage.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\LocalQueueManager.cpp /o $@ - -LocalRegistrationManager.obj: api\LocalRegistrationManager.cpp \ - api\LocalRegistrationManager.hpp \ - api\LocalAPIManager.hpp \ - ServiceMessage.hpp \ - api\ClientMessage.hpp \ - api\LocalAPISubsystem.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\LocalRegistrationManager.cpp /o $@ - -MacroSpaceApi.obj: api\MacroSpaceApi.cpp \ - api\LocalMacroSpaceManager.hpp \ - api\LocalAPIManager.hpp \ - api\LocalAPIContext.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\MacroSpaceApi.cpp /o $@ - -MacroSpaceManager.obj: daemon\MacroSpaceManager.cpp \ - daemon\MacroSpaceManager.hpp \ - ServiceMessage.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) daemon\MacroSpaceManager.cpp /o $@ - -QueueManager.obj: daemon\QueueManager.cpp \ - daemon\QueueManager.hpp \ - ServiceMessage.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) daemon\QueueManager.cpp /o $@ - -QueuesAPI.obj: api\QueuesAPI.cpp \ - api\LocalAPIManager.hpp \ - api\LocalQueueManager.hpp \ - api\LocalAPIContext.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\QueuesAPI.cpp /o $@ - -RegistrationAPI.obj: api\RegistrationAPI.cpp \ - api\LocalAPIManager.hpp \ - api\LocalRegistrationManager.hpp \ - api\LocalAPIContext.hpp \ - api\RexxLegacyAPI.hpp \ - ServiceMessage.hpp \ - api\ClientMessage.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\RegistrationAPI.cpp /o $@ - -RegistrationManager.obj: daemon\RegistrationManager.cpp \ - daemon\RegistrationManager.hpp \ - ServiceMessage.hpp \ - ServiceException.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) daemon\RegistrationManager.cpp /o $@ - -RexxLegacyAPI.obj: api\RexxLegacyAPI.cpp \ - api\RexxLegacyAPI.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\RexxLegacyAPI.cpp /o $@ - -SysLegacyAPI.obj: api\platform\windows\SysLegacyAPI.cpp \ - api\RexxLegacyAPI.hpp \ - $(COMMONHEADERS) - $(CC) $(CFLAGS) api\platform\windows\SysLegacyAPI.cpp /o $@ - - -#################### clean ######################### - -clean: - del $(CLEAN) - Copied: interpreter/trunk/rexxapi/platform/Makefile.am (from rev 31, interpreter/trunk/rexxapi/Makefile.am) =================================================================== --- interpreter/trunk/rexxapi/platform/Makefile.am (rev 0) +++ interpreter/trunk/rexxapi/platform/Makefile.am 2006-11-01 19:33:17 UTC (rev 32) @@ -0,0 +1,44 @@ +#---------------------------------------------------------------------------- +# +# Copyright (c) 2005-2006 Rexx Language Association. All rights reserved. +# +# This program and the accompanying materials are made available under +# the terms of the Common Public License v1.0 which accompanies this +# distribution. A copy is also available at the following address: +# http://www.ibm.com/developerworks/oss/CPLv1.0.htm +# +# Redistribution and use in source and binary forms, with or +# without modification, are permitted provided that the following +# conditions are met: +# +# Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the distribution. +# +# Neither the name of Rexx Language Association nor the names +# of its contributors may be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +#---------------------------------------------------------------------------- + + +MAINTAINERCLEANFILES = Makefile.in + +SUBDIRS = unix +DIST_SUBDIRS = unix windows + + Copied: interpreter/trunk/rexxapi/platform/unix/Makefile.am (from rev 31, interpreter/trunk/rexxapi/Makefile.am) =================================================================== --- interpreter/trunk/rexxapi/platform/unix/Makefile.am (rev 0) +++ interpreter/trunk/rexxapi/platform/unix/Makefile.am 2006-11-01 19:33:17 UTC (rev 32) @@ -0,0 +1,144 @@ +#---------------------------------------------------------------------------- +# +# Copyright (c) 2005-2006 Rexx Language Association. All rights reserved. +# +# This program and the accompanying materials are made available under +# the terms of the Common Public License v1.0 which accompanies this +# distribution. A copy is also available at the following address: +# http://www.ibm.com/developerworks/oss/CPLv1.0.htm +# +# Redistribution and use in source and binary forms, with or +# without modification, are permitted provided that the following +# conditions are met: +# +# Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the distribution. +# +# Neither the name of Rexx Language Association nor the names +# of its contributors may be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +#---------------------------------------------------------------------------- + + +MAINTAINERCLEANFILES = Makefile.in + +# get version details from our external file +include $(top_srcdir)/oorexx.ver + +INCLUDES = @OOREXX_INCLUDES@ \ + -I$(top_srcdir)/rexxapi \ + -I$(top_srcdir)/rexxapi/api \ + -I$(top_srcdir)/rexxapi/api/platform/unix \ + -I$(top_srcdir)/rexxapi/daemon \ + -I$(top_srcdir)/rexxapi/daemon/platform/unix \ + -I$(top_srcdir)/shared \ + -I$(top_srcdir)/shared/unix + + +#################### librexxapi.la ######################### + +pkglib_LTLIBRARIES = librexxapi.la + +# +# Sources for librexxapi.la +# +librexxapi_la_SOURCES = Encodings.hpp \ + ServiceException.hpp \ + ServiceMessage.cpp \ + ServiceMessage.hpp \ + api/ClientMessage.cpp \ + api/ClientMessage.hpp \ + api/LocalAPIContext.cpp \ + api/LocalAPIContext.hpp \ + api/LocalAPIManager.cpp \ + api/LocalAPIManager.hpp \ + api/LocalAPISubsystem.hpp \ + api/LocalMacroSpaceManager.cpp \ + api/LocalMacroSpaceManager.hpp \ + api/LocalQueueManager.cpp \ + api/LocalQueueManager.hpp \ + api/LocalRegistrationManager.cpp \ + api/LocalRegistrationManager.hpp \ + api/MacroSpaceApi.cpp \ + api/QueuesAPI.cpp \ + api/RegistrationAPI.cpp \ + api/RexxAPI.h \ + api/RexxLegacyAPI.cpp \ + api/RexxLegacyAPI.hpp \ + api/platform/unix/SysLocalAPIManager.cpp \ + api/platform/unix/SysLocalAPIManager.hpp + +# +# C++ compiler flags for librexxapi.la sources +# +librexxapi_la_CXXFLAGS = -DORX_VER=$(MAJOR) -DORX_REL=$(MINOR) \ + -DORX_MOD=$(MOD_LVL) + +# +# linker flags for librexxapi.la objects +# +librexxapi_la_LDFLAGS = -version-info @OOREXX_LIB_VERSION@ -no-undefined \ + @OOREXX_LIBS@ + +# +# additional libraries for librexxapi.la objects +# +librexxapi_la_LIBADD = -lrxshared + + +#################### rxapi ######################### + +bin_PROGRAMS = rxapi + +# +# Sources for rxapi +# +rxapi_SOURCES = Encodings.hpp \ + ServiceException.hpp \ + ServiceMessage.cpp \ + ServiceMessage.hpp \ + daemon/APIServer.cpp \ + daemon/APIServer.hpp \ + daemon/APIServerInstance.cpp \ + daemon/APIServerInstance.hpp \ + daemon/MacroSpaceManager.cpp \ + daemon/MacroSpaceManager.hpp \ + daemon/QueueManager.cpp \ + daemon/QueueManager.hpp \ + daemon/RegistrationManager.cpp \ + daemon/RegistrationManager.hpp \ + daemon/platform/unix/APIService.cpp + +# +# C++ compiler flags for rxapi sources +# +rxapi_CXXFLAGS = -DORX_VER=$(MAJOR) -DORX_REL=$(MINOR) \ + -DORX_MOD=$(MOD_LVL) + +# +# additional libraries for rxapi objects +# +rxapi_LDADD = -lrxshared -lrexxapi @OOREXX_LIBS@ + +# +# linker flags for rxapi objects +# +rxapi_LDFLAGS = + + Copied: interpreter/trunk/rexxapi/platform/unix/Makefile.win (from rev 31, interpreter/trunk/rexxapi/Makefile.win) =================================================================== --- interpreter/trunk/rexxapi/platform/unix/Makefile.win (rev 0) +++ interpreter/trunk/rexxapi/platform/unix/Makefile.win 2006-11-01 19:33:17 UTC (rev 32) @@ -0,0 +1,230 @@ +#---------------------------------------------------------------------------- +# +# Copyright (c) 2005-2006 Rexx Language Association. All rights reserved. +# +# This program and the accompanying materials are made available under +# the terms of the Common Public License v1.0 which accompanies this +# distribution. A copy is also available at the following address: +# http://www.ibm.com/developerworks/oss/CPLv1.0.htm +# +# Redistribution and use in source and binary forms, with or +# without modification, are permitted provided that the following +# conditions are met: +# +# Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the distribution. +# +# Neither the name of Rexx Language Association nor the names +# of its contributors may be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +#---------------------------------------------------------------------------- + + +# This is a part of the ooRexx Windows build + + +!include $(top_srcdir)\Nmake.inc + +INCLUDES = $(OOREXXINC) \ + /I$(top_srcdir)\kernel\messages \ + /I$(top_srcdir)\rexxapi \ + /I$(top_srcdir)\rexxapi\api \ + /I$(top_srcdir)\rexxapi\api\platform\windows \ + /I$(top_srcdir)\rexxapi\daemon \ + /I$(top_srcdir)\rexxapi\daemon\platform\windows + +DLLOBJS = LocalAPIContext.obj SysLocalAPIManager.obj LocalAPIManager.obj LocalMacroSpaceManager.obj \ + LocalQueueManager.obj LocalRegistrationManager.obj MacroSpaceApi.obj \ + QueuesAPI.obj RegistrationAPI.obj RexxLegacyAPI.obj SysLegacyAPI.obj ClientMessage.obj + +EXEOBJS = APIServer.obj APIService.obj APIServerInstance.obj MacroSpaceManager.obj QueueManager.obj \ + RegistrationManager.obj + +COMMONOBJS = ServiceMessage.obj + +SHAREDLIB = $(top_srcdir)\shared\windows\rxshared.lib + +SHAREDDLLVER = $(top_srcdir)\shared\windows\verinfo_dll.res +SHAREDEXEVER = $(top_srcdir)\shared\windows\verinfo_exe.res + +#################### build rexxapi.dll and rxapi.exe ########################## + +all: rexxapi.dll rexxapi.lib rxapi.exe + +rexxapi.dll rexxapi.lib: $(DLLOBJS) $(COMMONOBJS) $(SHAREDLIB) $(SHAREDVER) \ + api\platform\windows\rexxapi.def + $(LD) /DLL $(LFLAGS) $(DLLOBJS) $(COMMONOBJS) $(SHAREDLIB) \ + $(WINLIBS) $(SHAREDDLLVER) /SUBSYSTEM:WINDOWS \ + /DEF:api\platform\windows\rexxapi.def /OUT:rexxapi.dll + +rxapi.exe: $(EXEOBJS) $(COMMONOBJS) $(SHAREDLIB) rexxapi.lib $(SHAREDEXEVER) + $(LD) $(LFLAGS) $(EXEOBJS) $(COMMONOBJS) $(SHAREDLIB) rexxapi.lib \ + $(WINLIBS) $(SHAREDEXEVER) /SUBSYSTEM:WINDOWS /DELAYLOAD:advapi32.dll \ + /OUT:rxapi.exe + +APIServer.obj: daemon\APIServer.cpp \ + daemon\APIServer.hpp \ + daemon\APIServerInstance.hpp \ + ServiceMessage.hpp \ + ServiceException.hpp \ + daemon\MacroSpaceManager.hpp \ + daemon\RegistrationManager.hpp \ + daemon\QueueManager.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) daemon\APIServer.cpp /o $@ + +APIServerInstance.obj: daemon\APIServerInstance.cpp \ + daemon\APIServer.hpp \ + daemon\APIServerInstance.hpp \ + ServiceMessage.hpp \ + ServiceException.hpp \ + daemon\MacroSpaceManager.hpp \ + daemon\RegistrationManager.hpp \ + daemon\QueueManager.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) daemon\APIServerInstance.cpp /o $@ + +APIService.obj: daemon\platform\windows\APIService.cpp \ + daemon\APIServer.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) daemon\platform\windows\APIService.cpp /o $@ + +ServiceMessage.obj: ServiceMessage.cpp \ + ServiceMessage.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) ServiceMessage.cpp /o $@ + +ClientMessage.obj: api\ClientMessage.cpp \ + ServiceMessage.hpp \ + api\ClientMessage.hpp \ + api\LocalAPIManager.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\ClientMessage.cpp /o $@ + +LocalAPIContext.obj: api\LocalAPIContext.cpp \ + api\LocalAPIContext.hpp \ + ServiceException.hpp \ + api\LocalAPIManager.hpp \ + ServiceMessage.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\LocalAPIContext.cpp /o $@ + +LocalAPIManager.obj: api\LocalAPIManager.cpp \ + api\LocalAPIManager.hpp \ + ServiceMessage.hpp \ + api\ClientMessage.hpp \ + api\platform\windows\SysLocalAPIManager.hpp \ + api\LocalRegistrationManager.hpp \ + api\LocalQueueManager.hpp \ + api\LocalMacroSpaceManager.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\LocalAPIManager.cpp /o $@ + +SysLocalAPIManager.obj: api\platform\windows\SysLocalAPIManager.cpp \ + api\platform\windows\SysLocalAPIManager.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\platform\windows\SysLocalAPIManager.cpp /o $@ + +LocalMacroSpaceManager.obj: api\LocalMacroSpaceManager.cpp \ + api\LocalMacroSpaceManager.hpp \ + api\LocalAPIManager.hpp \ + api\LocalAPISubsystem.hpp \ + ServiceMessage.hpp \ + api\ClientMessage.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\LocalMacroSpaceManager.cpp /o $@ + +LocalQueueManager.obj: api\LocalQueueManager.cpp \ + api\LocalQueueManager.hpp \ + Encodings.hpp \ + api\LocalAPIManager.hpp \ + api\LocalAPISubsystem.hpp \ + ServiceMessage.hpp \ + api\ClientMessage.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\LocalQueueManager.cpp /o $@ + +LocalRegistrationManager.obj: api\LocalRegistrationManager.cpp \ + api\LocalRegistrationManager.hpp \ + api\LocalAPIManager.hpp \ + ServiceMessage.hpp \ + api\ClientMessage.hpp \ + api\LocalAPISubsystem.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\LocalRegistrationManager.cpp /o $@ + +MacroSpaceApi.obj: api\MacroSpaceApi.cpp \ + api\LocalMacroSpaceManager.hpp \ + api\LocalAPIManager.hpp \ + api\LocalAPIContext.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\MacroSpaceApi.cpp /o $@ + +MacroSpaceManager.obj: daemon\MacroSpaceManager.cpp \ + daemon\MacroSpaceManager.hpp \ + ServiceMessage.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) daemon\MacroSpaceManager.cpp /o $@ + +QueueManager.obj: daemon\QueueManager.cpp \ + daemon\QueueManager.hpp \ + ServiceMessage.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) daemon\QueueManager.cpp /o $@ + +QueuesAPI.obj: api\QueuesAPI.cpp \ + api\LocalAPIManager.hpp \ + api\LocalQueueManager.hpp \ + api\LocalAPIContext.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\QueuesAPI.cpp /o $@ + +RegistrationAPI.obj: api\RegistrationAPI.cpp \ + api\LocalAPIManager.hpp \ + api\LocalRegistrationManager.hpp \ + api\LocalAPIContext.hpp \ + api\RexxLegacyAPI.hpp \ + ServiceMessage.hpp \ + api\ClientMessage.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\RegistrationAPI.cpp /o $@ + +RegistrationManager.obj: daemon\RegistrationManager.cpp \ + daemon\RegistrationManager.hpp \ + ServiceMessage.hpp \ + ServiceException.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) daemon\RegistrationManager.cpp /o $@ + +RexxLegacyAPI.obj: api\RexxLegacyAPI.cpp \ + api\RexxLegacyAPI.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\RexxLegacyAPI.cpp /o $@ + +SysLegacyAPI.obj: api\platform\windows\SysLegacyAPI.cpp \ + api\RexxLegacyAPI.hpp \ + $(COMMONHEADERS) + $(CC) $(CFLAGS) api\platform\windows\SysLegacyAPI.cpp /o $@ + + +#################### clean ######################### + +clean: + del $(CLEAN) + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |