# platform_qnx_rtp_gcc.GNU,v 1.11 2003/08/09 04:43:51 dhinton Exp # QNX/RTP hosted, using gcc-2.95.2 inline = 1 debug = 1 optimize = 1 exceptions = 1 ifeq ($(exceptions),1) CCFLAGS += -fexceptions LDFLAGS += -fexceptions else CCLAGS += -fno-exceptions LDLAGS += -fno-exceptions endif # ! exceptions CC = gcc CXX = g++ DCFLAGS += -gstabs CFLAGS += -pipe -W -Wall -Wpointer-arith DLD = $(CXX) LD = $(CXX) LIBS += -lsocket -lstdc++ -lm OCFLAGS += -O3 PIC = -fPIC AR = ar ARFLAGS = ruv #RANLIB = ranlib SOFLAGS += $(CPPFLAGS) -shared SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< PRELIB = @true # Test for template instantiation, add to SOFLAGS if SONAME set, # add -E to LDFLAGS if using GNU ld # include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)