# According to Bryon G. Rigg , this file # should allow ACE to be built on Linux. CC = gcc CXX = g++ CFLAGS += $(DCFLAGS) -w -O2 -fno-strict-prototypes CCFLAGS += $(CFLAGS) -fno-implicit-templates DCFLAGS += -g DLD = $(CXX) LD = $(CXX) LIBS += -ldl PIC = -fPIC AR = ar ARFLAGS = ruv RANLIB = ranlib SOFLAGS = $(CPPFLAGS) -shared SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ status=$$?; exit $$status)