cdev-1.7.2n

This commit is contained in:
2022-12-13 12:44:04 +01:00
commit b3b88fc333
1357 changed files with 338883 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
SHOBJ=YES
include $(CDEV)/include/makeinclude/Makefile.linux
+189
View File
@@ -0,0 +1,189 @@
TARGET = WINNT
OS_MAJOR = 4
OS_MINOR = 0
OS_VERSION_DEF = /D "_OS_MAJOR_=$(OS_MAJOR)" /D "_OS_MINOR_=$(OS_MINOR)"
!IF "$(DEBUG)" == ""
TARGETDIR = $(TARGET)-$(OS_MAJOR).$(OS_MINOR)
!ELSE
TARGETDIR = $(TARGET)-$(OS_MAJOR).$(OS_MINOR)-DEBUG
!ENDIF
CDEVVERSION = 1.7.2
CDEVINCLUDES = /I $(CDEV)\include
CDEVLIB = $(CDEV)\lib\$(TARGETDIR)
CDEVBIN = $(CDEV)\bin\$(TARGETDIR)
!IF "$(BINDIR)" == ""
BINDIR = $(CDEVBIN)
!ENDIF
!IF "$(LIBDIR)" == ""
LIBDIR = $(CDEVLIB)
!ENDIF
!IF "$(CDEVSHOBJ)" == ""
CDEVSHOBJ = $(CDEVLIB)
!ENDIF
!IF "$(SHOBJ)" == "NO"
OBJDIR = .obj\$(TARGETDIR)
!ELSE
SHOBJ = YES
OBJDIR = .shobj\$(TARGETDIR)
!ENDIF
CC = cl
CXX = cl
LIB32 = link
LINK = link
CC_ALL_EXE = /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /Fo".exec\$(TARGETDIR)/"\
$(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) /TC /c
CXX_ALL_EXE = /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /Fo".exec\$(TARGETDIR)/"\
$(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) /TP /c
CXX_DEBUG_EXE = /MDd /Z7 /Od /D "_DEBUG" /GZ
CXX_RELEASE_EXE = /MD /O2 /D "NDEBUG"
LINK_ALL_EXE = kernel32.lib user32.lib gdi32.lib winspool.lib \
comdlg32.lib advapi32.lib shell32.lib ole32.lib \
oleaut32.lib uuid.lib odbc32.lib odbccp32.lib \
ws2_32.lib /nologo /subsystem:console /pdb:NONE
LINK_DEBUG_EXE = /debug
LINK_RELEASE_EXE =
CC_ALL_LIB = /nologo /D "WIN32" /D "_MBCS" /D "_LIB" /Fo"$(OBJDIR)/"\
$(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) /TC /c
CXX_ALL_LIB = /nologo /D "WIN32" /D "_MBCS" /D "_LIB" /Fo"$(OBJDIR)/"\
$(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) /TP /c
CXX_DEBUG_LIB = /MDd /Z7 /Od /D "_DEBUG" /GZ
CXX_RELEASE_LIB = /MD /O2 /D "NDEBUG"
LINK_ALL_LIB = -lib /nologo
LINK_DEBUG_LIB =
LINK_RELEASE_LIB =
CC_ALL_DLL = /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /Fo"$(OBJDIR)/"\
$(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) /TC /c
CXX_ALL_DLL = /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /Fo"$(OBJDIR)/"\
$(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) /TP /c
CXX_DEBUG_DLL = /MDd /Z7 /Od /D "_DEBUG" /GZ
CXX_RELEASE_DLL = /MD /O2 /D "NDEBUG"
LINK_ALL_DLL = kernel32.lib user32.lib gdi32.lib winspool.lib \
comdlg32.lib advapi32.lib shell32.lib ole32.lib \
oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib \
/nologo /dll /pdb:NONE
LINK_DEBUG_DLL = /debug
LINK_RELEASE_DLL =
!IF "$(DEBUG)" != ""
CC_EXE_FLAGS = $(CC_ALL_EXE) $(CXX_DEBUG_EXE)
CC_LIB_FLAGS = $(CC_ALL_LIB) $(CXX_DEBUG_LIB)
CC_DLL_FLAGS = $(CC_ALL_DLL) $(CXX_DEBUG_DLL)
CXX_EXE_FLAGS = $(CXX_ALL_EXE) $(CXX_DEBUG_EXE)
CXX_LIB_FLAGS = $(CXX_ALL_LIB) $(CXX_DEBUG_LIB)
CXX_DLL_FLAGS = $(CXX_ALL_DLL) $(CXX_DEBUG_DLL)
LINK_EXE_FLAGS = $(LINK_ALL_EXE) $(LINK_DEBUG_EXE)
LINK_LIB_FLAGS = $(LINK_ALL_LIB) $(LINK_DEBUG_LIB)
LINK_DLL_FLAGS = $(LINK_ALL_DLL) $(LINK_DEBUG_DLL)
!ELSE
CC_EXE_FLAGS = $(CC_ALL_EXE) $(CXX_RELEASE_EXE)
CC_LIB_FLAGS = $(CC_ALL_LIB) $(CXX_RELEASE_LIB)
CC_DLL_FLAGS = $(CC_ALL_DLL) $(CXX_RELEASE_DLL)
CXX_EXE_FLAGS = $(CXX_ALL_EXE) $(CXX_RELEASE_EXE)
CXX_LIB_FLAGS = $(CXX_ALL_LIB) $(CXX_RELEASE_LIB)
CXX_DLL_FLAGS = $(CXX_ALL_DLL) $(CXX_RELEASE_DLL)
LINK_EXE_FLAGS = $(LINK_ALL_EXE) $(LINK_RELEASE_EXE)
LINK_LIB_FLAGS = $(LINK_ALL_LIB) $(LINK_RELEASE_LIB)
LINK_DLL_FLAGS = $(LINK_ALL_DLL) $(LINK_RELEASE_DLL)
!ENDIF
!IF "$(HAIL)" != "NO"
HAILTARGET = hail
!ENDIF
!IF "$(FAIRWELL)" != "NO"
BYETARGET = fairwell
!ENDIF
# ******************************************************************************
# * Master rules for building cdevGenericServer objects
# ******************************************************************************
all : $(HAILTARGET) targets $(BYETARGET)
hail:
@echo ----------------------------------------------------------------
@echo Building $(APPNAME) for Target: $(TARGETDIR)
@echo ----------------------------------------------------------------
fairwell:
@echo ----------------------------------------------------------------
@echo Finished Building $(APPNAME) for Target: $(TARGETDIR)
@echo ----------------------------------------------------------------
clean:
!IF "$(HAIL)" != "NO"
@echo =^> Cleaning $(APPNAME) for Target: $(TARGETDIR)
!ENDIF
-@for %x in (.obj\$(TARGET)-$(OS_MAJOR).$(OS_MINOR)-DEBUG \
.obj\$(TARGET)-$(OS_MAJOR).$(OS_MINOR) \
.shobj\$(TARGET)-$(OS_MAJOR).$(OS_MINOR)-DEBUG \
.shobj\$(TARGET)-$(OS_MAJOR).$(OS_MINOR) \
.exec\$(TARGET)-$(OS_MAJOR).$(OS_MINOR)-DEBUG \
.exec\$(TARGET)-$(OS_MAJOR).$(OS_MINOR)) DO \
@if exist %x rmdir /s /q %x
-@for %x in ($(BINARIES) $(TARGETS)) DO @if exist %x erase %x
!IF "$(FAIRWELL)" != "NO"
@echo ^<= Done...
!ENDIF
purge:
!IF "$(HAIL)" != "NO"
@echo =^> Purging $(APPNAME) for Target: $(TARGETDIR)
!ENDIF
-@for %x in (.shobj .obj .exec) DO @if exist %x rmdir /s /q %x
-@for %x in ($(BINARIES) $(TARGETS) $(TEMPLINKS)) DO @if exist %x erase %x
!IF "$(FAIRWELL)" != "NO"
@echo ^<= Done...
!ENDIF
.cc{.obj\$(TARGETDIR)}.obj::
@echo =^> Compiling $<
-@if not exist .obj\$(TARGETDIR) mkdir .obj\$(TARGETDIR)
-@if not exist $(BINDIR) mkdir $(BINDIR)
-@if not exist $(LIBDIR) mkdir $(LIBDIR)
@$(CXX) $(CXX_LIB_FLAGS) $<
.cc{.shobj\$(TARGETDIR)}.obj::
@echo =^> Compiling $<
-@if not exist .shobj\$(TARGETDIR) mkdir .shobj\$(TARGETDIR)
-@if not exist $(BINDIR) mkdir $(BINDIR)
-@if not exist $(LIBDIR) mkdir $(LIBDIR)
@$(CXX) $(CXX_DLL_FLAGS) $<
.cc{.exec\$(TARGETDIR)}.obj::
@echo =^> Compiling $<
-@if not exist .exec\$(TARGETDIR) mkdir .exec\$(TARGETDIR)
-@if not exist $(BINDIR) mkdir $(BINDIR)
-@if not exist $(LIBDIR) mkdir $(LIBDIR)
@$(CXX) $(CXX_EXE_FLAGS) $<
.c{.obj\$(TARGETDIR)}.obj::
@echo =^> Compiling $<
-@if not exist .obj\$(TARGETDIR) mkdir .obj\$(TARGETDIR)
-@if not exist $(BINDIR) mkdir $(BINDIR)
-@if not exist $(LIBDIR) mkdir $(LIBDIR)
@$(CC) $(CC_LIB_FLAGS) $<
.c{.shobj\$(TARGETDIR)}.obj::
@echo =^> Compiling $<
-@if not exist .shobj\$(TARGETDIR) mkdir .shobj\$(TARGETDIR)
-@if not exist $(BINDIR) mkdir $(BINDIR)
-@if not exist $(LIBDIR) mkdir $(LIBDIR)
@$(CC) $(CC_DLL_FLAGS) $<
.c{.exec\$(TARGETDIR)}.obj::
@echo =^> Compiling $<
-@if not exist .exec\$(TARGETDIR) mkdir .exec\$(TARGETDIR)
-@if not exist $(BINDIR) mkdir $(BINDIR)
-@if not exist $(LIBDIR) mkdir $(LIBDIR)
@$(CC) $(CC_EXE_FLAGS) $<
+55
View File
@@ -0,0 +1,55 @@
# ******************************************************************************
# * Makefile.hpux : This is the platform specific Makefile for HPUX.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = aix
OS_MAJOR := $(shell uname -v)
OS_MAJOR_NUM := $(shell awk 'BEGIN {VAL=$(OS_MAJOR); print VAL; exit; }')
OS_MINOR := $(shell uname -r)
OS_MINOR_NUM := $(shell awk 'BEGIN {VAL=$(OS_MINOR); print VAL; exit; }')
OS_VERSION_DEF := -D_OS_MAJOR_=$(OS_MAJOR_NUM) -D_OS_MINOR_=$(OS_MINOR_NUM)
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * All CDEV and service libaries required by archived applications
# ******************************************************************************
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
endif
CXX = xlC
CC = xlC
CXXFLAGS = $(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) \
$(BASEINCLUDES) $(OS_VERSION_DEF) $(DEBUGFLAG) -DAIX -qNOro
CFLAGS = $(CCEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) \
$(BASEINCLUDES) $(OS_VERSION_DEF) $(DEBUGFLAG) -DAIX -qNOro
LDFLAGS =
AR = ar
ARFLAGS = ruv
RANLIB = true
OSLIBS = -L/lib -lm
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = @echo "Shared objects not supported on AIX"
COMPILE.c = $(CC) -c $(CFLAGS) $^ -o $@
COMPILE.c.so = @echo "Shared objects not supported on AIX"
LINK.cc = $(CXX) $(CXXFLAGS)
LINK.a = $(AR) $(ARFLAGS)
+9
View File
@@ -0,0 +1,9 @@
# ***********************************************************************
# * Makefile.archive *
# * The ARCHIVELIBS variable should contain a complete list of *
# * all libraries that will be needed by an ARCHIVE cdev program. *
# * The variable should contain the path specification and the *
# * name of the library in the format that is required by your *
# * platform's linker. *
# ***********************************************************************
ARCHIVELIBS = -L$(CDEVLIB) -lcaService
+94
View File
@@ -0,0 +1,94 @@
# ******************************************************************************
# * Makefile.common : This is the community makefile for the CDEV distribution.
# * It contains the definitions that are common for all
# * Makefiles in this distribution.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# * CDEVVERSION : The version of cdev being used
# * TARGET : The name of the target platform
# * OS_MAJOR : The major version number of the target OS
# ******************************************************************************
ifdef OS_MAJOR
TARGETDIR = $(TARGET)-$(OS_MAJOR).$(OS_MINOR)
else
TARGETDIR = $(TARGET)
endif
CDEVINCLUDES = -I$(CDEV)/include
CDEVLIB = $(CDEV)/lib/$(TARGETDIR)
CDEVBIN = $(CDEV)/bin/$(TARGETDIR)
# ******************************************************************************
# * Set the CDEV Version if it has not been specified.
# ******************************************************************************
ifeq ($(CDEVVERSION), )
CDEVVERSION = 1.7.2
endif
# ******************************************************************************
# * Set the CDEV shared object directory to a default location if not specified.
# ******************************************************************************
ifeq ($(CDEVSHOBJ), )
CDEVSHOBJ = $(CDEVLIB)
endif
# ******************************************************************************
# * Set the object directory appropriately to the SHOBJ flag (default YES)
# ******************************************************************************
ifeq ($(SHOBJ), YES)
OBJDIR = .shobj/$(TARGETDIR)
else
SHOBJ = NO
OBJDIR = .obj/$(TARGETDIR)
endif
# ******************************************************************************
# * Rule for compiling archive C++ files.
# ******************************************************************************
.obj/$(TARGETDIR)/%.o : %.cc
@rm -f $@
@echo "=> $(CXX) -c $(^F) -o $(@F)"
@mkdir -p .obj/$(TARGETDIR)
@$(COMPILE.cc)
# ******************************************************************************
# * Rule for compiling shared C++ files.
# ******************************************************************************
.shobj/$(TARGETDIR)/%.o : %.cc
@rm -f $@
@echo "=> $(CXX) -c $(^F) -o $(@F)"
@mkdir -p .shobj/$(TARGETDIR)
@$(COMPILE.cc.so)
# ******************************************************************************
# * Generic rules for makefiles.
# ******************************************************************************
all: hail targets fairwell
hail:
@echo
@echo ----------------------------------------------------------------
@echo Building $(APPNAME) for Target: $(TARGET)
@echo ----------------------------------------------------------------
fairwell:
@echo ----------------------------------------------------------------
@echo Finished Building $(APPNAME) for Target: $(TARGET)
@echo ----------------------------------------------------------------
@echo
clean:
@echo "=> Cleaning $(APPNAME) on $(TARGETDIR)"
@rm -rf .o .a core .obj/$(TARGETDIR) .shobj/$(TARGETDIR) .exec/$(TARGETDIR) *.?.? TC.Cache $(BINARIES) $(TARGETS) ./ptrepository
@echo "<= Done...\n"
purge:
@echo "=> Purging $(APPNAME)"
@rm -rf .shobj .obj .exec $(BINARIES) $(TARGETS) $(TEMPLINKS) .o .a core *.?.? TC.Cache ./ptrepository
@echo "<= Done...\n"
+74
View File
@@ -0,0 +1,74 @@
# ******************************************************************************
# * Makefile.hpux : This is the platform specific Makefile for HPUX.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = hpux
OS_MAJOR := $(shell uname -r | awk -F "." '{print $$2; exit}')
OS_MAJOR_NUM := $(shell awk 'BEGIN {VAL=$(OS_MAJOR); print VAL; exit; }')
OS_MINOR := $(shell uname -r | awk -F "." '{print $$3; exit}')
OS_MINOR_NUM := $(shell awk 'BEGIN {VAL=$(OS_MINOR); print VAL; exit; }')
OS_VERSION_DEF := -D_OS_MAJOR_=$(OS_MAJOR_NUM) -D_OS_MINOR_=$(OS_MINOR_NUM)
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Due to a change in the operating system, the CXX compiler for HP-UX may
# * be different depending on which platform is used.
# ******************************************************************************
ifeq ($(OS_MAJOR), 09)
CXX := /usr/bin/CC
HPCXX_FLAGS := -Aa -pta -ptb
HPCXX_SHLIB_PATH := -Wl,+s
else
CXX := /opt/aCC/bin/aCC
HPCXX_FLAGS := +W302,392,469,495,655,829
HPCXX_SHLIB_PATH := -Wl,+s
ifeq ($(OS_MAJOR).$(OS_MINOR), 10.10)
HP_FLAGS = -Dvolatile=""
endif
endif
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
else
DEBUGFLAG = +O2
endif
CXXFLAGS = -z $(HPCXX_FLAGS) $(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) \
$(OS_VERSION_DEF) $(DEBUGFLAG) $(HP_FLAGS)
PIC = +z
OSLIBS = -L/lib -lm
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) -c $(CXXFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -rf $@; echo "=> $(CXX) -o $(@F) $(^F)";$(CXX) $(CXXFLAGS) $(HPCXX_SHLIB_PATH) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
+60
View File
@@ -0,0 +1,60 @@
# ******************************************************************************
# * Makefile.hpux-cl: This is the platform specific Makefile for HPUX using
# * the CenterLine C++ compiler.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = hpux-cl
SHOBJ = NO
OS_MAJOR := $(shell uname -r | awk -F "." '{print $$2; exit}')
OS_MAJOR_NUM := $(shell awk 'BEGIN {VAL=$(OS_MAJOR); print VAL; exit; }')
OS_MINOR := $(shell uname -r | awk -F "." '{print $$3; exit}')
OS_MINOR_NUM := $(shell awk 'BEGIN {VAL=$(OS_MINOR); print VAL; exit; }')
OS_VERSION_DEF := -D_OS_MAJOR_=$(OS_MAJOR_NUM) -D_OS_MINOR_=$(OS_MINOR_NUM)
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
ifeq ($(OS_MAJOR_NUM), 10)
HP_FLAGS = -Dvolatile=""
endif
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
endif
CXX = /usr/csite4/CenterLine/bin/CC
CXXFLAGS = -z -pta -D__CENTERLINE__ $(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) \
$(OS_VERSION_DEF) $(DEBUGFLAG) $(HP_FLAGS)
PIC =
OSLIBS = -lm
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications. The developer
# * is required to add the list of service specific libraries.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = echo "Shared Object Compilation is NOT Supported by CenterLine"
LINK.cc = rm -rf $@; echo "=> $(CXX) -o $(@F) $(^F)";$(PROOF) $(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
+2
View File
@@ -0,0 +1,2 @@
SHOBJ=YES
include $(CDEV)/include/makeinclude/Makefile.hpux-cl
+2
View File
@@ -0,0 +1,2 @@
SHOBJ=YES
include $(CDEV)/include/makeinclude/Makefile.hpux
+47
View File
@@ -0,0 +1,47 @@
# ******************************************************************************
# * Makefile.hpux : This is the platform specific Makefile for HPUX.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = SGI
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
endif
CXX = CC
CXXFLAGS = $(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) $(DEBUGFLAG)
PIC = -DSHM
OSLIBS = -lm
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) -c $(CXXFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -rf $@; echo "=> $(CXX) -o $(@F) $(^F)";$(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
+2
View File
@@ -0,0 +1,2 @@
SHOBJ=YES
include $(CDEV)/include/makeinclude/Makefile.irix5
+61
View File
@@ -0,0 +1,61 @@
# ******************************************************************************
# * Makefile.Linux : This is the platform specific Makefile for Linux.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = Linux
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
else
DEBUGFLAG = -O2
endif
CXX = g++
CC = gcc
CXXFLAGS = -DLinux -DCDEV_HAS_UNDERSCORE_FDBITS -fno-for-scope $(DEBUGFLAG) $(CXXEXTRA) $(CXXINCLUDES) \
$(CDEVINCLUDES)
CFLAGS = -DLinux -DCDEV_HAS_UNDERSCORE_FDBITS $(DEBUGFLAG) $(CEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES)
PIC = -fpic
OSLIBS = -lm -ldl
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications. The developer
# * is required to add the list of service specific libraries.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
#CDEVLIBS = -Xlinker -rpath -Xlinker $(CDEVLIB) -L$(CDEVLIB) -lcdev
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) $(CXXFLAGS) $(PIC) -c -o $@ $^
COMPILE.c = $(CC) -c $(CFLAGS) $^ -o $@
COMPILE.c.so = $(CC) -c $(CFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -f $@; $(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
@@ -0,0 +1,55 @@
# ******************************************************************************
# * Makefile.Linux : This is the platform specific Makefile for Linux.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = Linux
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
else
DEBUGFLAG = -O2
endif
CXX = g++
CC = gcc
CXXFLAGS = -DLinux -DCDEV_HAS_64BIT_LONGS -fno-for-scope $(DEBUGFLAG) $(CXXEXTRA) $(CXXINCLUDES) \
$(CDEVINCLUDES)
CFLAGS = -DLinux -DCDEV_HAS_64BIT_LONGS $(DEBUGFLAG) $(CEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES)
PIC = -fpic
OSLIBS = -lm -ldl
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications. The developer
# * is required to add the list of service specific libraries.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
CDEVLIBS = -Xlinker -rpath -Xlinker $(CDEVLIB) -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) $(CXXFLAGS) $(PIC) -c -o $@ $^
COMPILE.c = $(CC) -c $(CFLAGS) $^ -o $@
COMPILE.c.so = $(CC) -c $(CFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -f $@; $(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
@@ -0,0 +1,56 @@
# ******************************************************************************
# * Makefile.Linux : This is the platform specific Makefile for Linux.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = Linux
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
else
DEBUGFLAG = -O2
endif
CXX = g++
CC = gcc
CXXFLAGS = -DLinux -fno-for-scope $(DEBUGFLAG) $(CXXEXTRA) $(CXXINCLUDES) \
$(CDEVINCLUDES)
CFLAGS = -DLinux $(DEBUGFLAG) $(CEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES)
PIC = -fpic
OSLIBS = -lm -ldl
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications. The developer
# * is required to add the list of service specific libraries.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
#CDEVLIBS = -Xlinker -rpath -Xlinker $(CDEVLIB) -L$(CDEVLIB) -lcdev
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) $(CXXFLAGS) $(PIC) -c -o $@ $^
COMPILE.c = $(CC) -c $(CFLAGS) $^ -o $@
COMPILE.c.so = $(CC) -c $(CFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -f $@; $(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
@@ -0,0 +1,55 @@
# ******************************************************************************
# * Makefile.Linux : This is the platform specific Makefile for Linux.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = Linux
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
else
DEBUGFLAG = -O2
endif
CXX = g++
CC = gcc
CXXFLAGS = -DLinux -DCDEV_HAS_UNDERSCORE_FDBITS -DCDEV_HAS_64BIT_LONGS -fno-for-scope $(DEBUGFLAG) $(CXXEXTRA) $(CXXINCLUDES) \
$(CDEVINCLUDES)
CFLAGS = -DLinux -DCDEV_HAS_UNDERSCORE_FDBITS -DCDEV_HAS_64BIT_LONGS $(DEBUGFLAG) $(CEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES)
PIC = -fpic
OSLIBS = -lm -ldl
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications. The developer
# * is required to add the list of service specific libraries.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
CDEVLIBS = -Xlinker -rpath -Xlinker $(CDEVLIB) -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) $(CXXFLAGS) $(PIC) -c -o $@ $^
COMPILE.c = $(CC) -c $(CFLAGS) $^ -o $@
COMPILE.c.so = $(CC) -c $(CFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -f $@; $(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
@@ -0,0 +1,61 @@
# ******************************************************************************
# * Makefile.Linux : This is the platform specific Makefile for Linux.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = Linux
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
else
DEBUGFLAG = -O2
endif
CXX = g++
CC = gcc
CXXFLAGS = -DLinux -DCDEV_HAS_UNDERSCORE_FDBITS -fno-for-scope $(DEBUGFLAG) $(CXXEXTRA) $(CXXINCLUDES) \
$(CDEVINCLUDES)
CFLAGS = -DLinux -DCDEV_HAS_UNDERSCORE_FDBITS $(DEBUGFLAG) $(CEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES)
PIC = -fpic
OSLIBS = -lm -ldl
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications. The developer
# * is required to add the list of service specific libraries.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
#CDEVLIBS = -Xlinker -rpath -Xlinker $(CDEVLIB) -L$(CDEVLIB) -lcdev
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) $(CXXFLAGS) $(PIC) -c -o $@ $^
COMPILE.c = $(CC) -c $(CFLAGS) $^ -o $@
COMPILE.c.so = $(CC) -c $(CFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -f $@; $(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
@@ -0,0 +1,61 @@
# ******************************************************************************
# * Makefile.Linux : This is the platform specific Makefile for Linux.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = Linux
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
else
DEBUGFLAG = -O2
endif
CXX = g++
CC = gcc
CXXFLAGS = -DLinux -DCDEV_HAS_UNDERSCORE_FDBITS -fno-for-scope $(DEBUGFLAG) $(CXXEXTRA) $(CXXINCLUDES) \
$(CDEVINCLUDES)
CFLAGS = -DLinux -DCDEV_HAS_UNDERSCORE_FDBITS $(DEBUGFLAG) $(CEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES)
PIC = -fpic
OSLIBS = -lm -ldl
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications. The developer
# * is required to add the list of service specific libraries.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
#CDEVLIBS = -Xlinker -rpath -Xlinker $(CDEVLIB) -L$(CDEVLIB) -lcdev
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) $(CXXFLAGS) $(PIC) -c -o $@ $^
COMPILE.c = $(CC) -c $(CFLAGS) $^ -o $@
COMPILE.c.so = $(CC) -c $(CFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -f $@; $(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
+2
View File
@@ -0,0 +1,2 @@
SHOBJ=YES
include $(CDEV)/include/makeinclude/Makefile.linux
+47
View File
@@ -0,0 +1,47 @@
# ******************************************************************************
# * Makefile.hpux : This is the platform specific Makefile for HPUX.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = solaris
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
endif
CXX = CC
CXXFLAGS = $(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) $(DEBUGFLAG) -Dsolaris -DSYSV -DSVR4
PIC = -Kpic
OSLIBS = -lsocket -lnsl -lm
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
CDEVLIBS = -R$(CDEVLIB) -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) -c $(CXXFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -rf $@; echo "=> $(CXX) -o $(@F) $(^F)";$(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
+47
View File
@@ -0,0 +1,47 @@
# ******************************************************************************
# * Makefile.hpux : This is the platform specific Makefile for HPUX.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = solaris-gnu
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
endif
CXX = g++
CXXFLAGS = $(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) $(DEBUGFLAG)
PIC = -fpic
OSLIBS = -lsocket -lnsl -lm
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) -c $(CXXFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -rf $@; echo "=> $(CXX) -o $(@F) $(^F)";$(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
@@ -0,0 +1,2 @@
SHOBJ=YES
include $(CDEV)/include/makeinclude/Makefile.solaris-gcc
+2
View File
@@ -0,0 +1,2 @@
SHOBJ=YES
include $(CDEV)/include/makeinclude/Makefile.solaris
+47
View File
@@ -0,0 +1,47 @@
# ******************************************************************************
# * Makefile.hpux : This is the platform specific Makefile for HPUX.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = SunOs-gnu
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
endif
CXX = g++
CXXFLAGS = $(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) $(DEBUGFLAG)
PIC = -fpic
OSLIBS = -lm
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = $(CXX) -c $(CXXFLAGS) $(PIC) $^ -o $@
LINK.cc = rm -rf $@; echo "=> $(CXX) -o $(@F) $(^F)";$(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)
@@ -0,0 +1,2 @@
SHOBJ=YES
include $(CDEV)/include/makeinclude/Makefile.sunos4-gcc
+47
View File
@@ -0,0 +1,47 @@
# ******************************************************************************
# * Makefile.hpux : This is the platform specific Makefile for HPUX.
# *
# * Externals : This Makefile relies on the developer defining the
# * following external definitions...
# *
# * CDEV : The base directory of the CDEV distribution
# ******************************************************************************
TARGET = ULTRIX
include $(CDEV)/include/makeinclude/Makefile.common
include $(CDEV)/include/makeinclude/Makefile.archive
# ******************************************************************************
# * Platform specific compile and link options.
# ******************************************************************************
# ******************************************************************************
# * Only define the DEBUGFLAG if DEBUG has been specified by the caller.
# ******************************************************************************
ifdef DEBUG
DEBUGFLAG = -g
endif
CXX = g++
CXXFLAGS = $(CXXEXTRA) $(CXXINCLUDES) $(CDEVINCLUDES) $(OS_VERSION_DEF) $(DEBUGFLAG)
PIC =
OSLIBS = -lm
# ******************************************************************************
# * These definitions define the names and locations of libraries that are
# * required by CDEV for a shared and archive applications.
# ******************************************************************************
ifeq ($(SHOBJ), NO)
CDEVLIBS = $(CDEVLIB)/libcdev.a $(ARCHIVELIBS)
else
CDEVLIBS = -L$(CDEVLIB) -lcdev
endif
# ******************************************************************************
# * Platform specific compile and link macros.
# ******************************************************************************
COMPILE.cc = $(CXX) -c $(CXXFLAGS) $^ -o $@
COMPILE.cc.so = @echo "Shared Object Compilation is NOT Supported on ULTRIX"
LINK.cc = rm -rf $@; echo "=> $(CXX) -o $(@F) $(^F)";$(CXX) $(CXXFLAGS) $(CXXEXTRA) $^ -o $@ $(CDEVLIBS) $(OSLIBS)