# # alpha_linux_2.0_glibc.mk - make variables and rules specific to Linux 2.0 # and glibc-2.0 # Linux = 1 AlphaProcessor = 1 # # Include general unix things # include $(THIS_IMPORT_TREE)/mk/unix.mk # # Standard programs # AR = ar cq CPP = /lib/cpp CXX = /usr/bin/cxx CXXMAKEDEPEND = $(TOP)/$(BINDIR)/omkdepend -D__cplusplus -D__DECCXX CXXDEBUGFLAGS = -O2 CXXLINK = $(CXX) CXXLINKOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) -call_shared \ $(patsubst %,-Wl$(comma)-rpath$(comma)%,$(IMPORT_LIBRARY_DIRS)) CXXOPTIONS = -Wall -Wno-unused -ptr $(TOP)/cxx_respository DecCxxMajorVersion = 6 DecCxxMinorVersion = 3 #Compaq C++ compiler for AlphaLinux CC = /usr/bin/gcc CMAKEDEPEND = $(TOP)/$(BINDIR)/omkdepend -D__GNUC__ CDEBUGFLAGS = -O CLINK = $(CC) CLINKOPTIONS = $(CDEBUGFLAGS) $(COPTIONS) \ $(patsubst %,-Wl$(comma)-rpath$(comma)%,$(IMPORT_LIBRARY_DIRS)) INSTALL = install -c IMPORT_CPPFLAGS += -D__alpha__ -D__linux__ -D__OSVERSION__=2 # # CORBA stuff # omniORB2GatekeeperImplementation = OMNIORB2_TCPWRAPGK CorbaImplementation = OMNIORB2 # # OMNI thread stuff # ThreadSystem = Posix OMNITHREAD_POSIX_CPPFLAGS = -DNoNanoSleep OMNITHREAD_CPPFLAGS = -D_REENTRANT OMNITHREAD_LIB = $(patsubst %,$(LibSearchPattern),omnithread) ifndef UseMITthreads OMNITHREAD_POSIX_CPPFLAGS += -DPthreadDraftVersion=10 OMNITHREAD_LIB += -lpthread else OMNITHREAD_POSIX_CPPFLAGS += -DPthreadDraftVersion=8 OMNITHREAD_CPPFLAGS += -D_MIT_POSIX_THREADS OMNITHREAD_LIB += -lpthreads endif lib_depend := $(patsubst %,$(LibPattern),omnithread) OMNITHREAD_LIB_DEPEND := $(GENERATE_LIB_DEPEND) # Default location of the omniORB2 configuration file [falls back to this if # the environment variable OMNIORB_CONFIG is not set] : OMNIORB_CONFIG_DEFAULT_LOCATION = /etc/omniORB.cfg # Default directory for the omniNames log files. OMNINAMES_LOG_DEFAULT_LOCATION = /var/omninames