#-------------------------------------------------------------------# #-- Makefile for Performer/src/pguide/libpf/C++ directory --# #-------------------------------------------------------------------# #-- RCS version information --# #-- $Revision: 1.18 $ --# #-- $Date: 2002/12/07 22:12:12 $ --# #-------------------------------------------------------------------# ifndef PFROOT PFROOT = $(ROOT) endif # needed for motif.c PFDOMOTIF ?= 1 #if $(PFDOMOTIF) NEED_MOTIF_LIBS = 1 #endif # Needed for video program (siriusvtex.c dmvtex.c) #PFDOVIDEO ?= 1 #if $(PFDOVIDEO) #NEED_VIDEO_LIBS = 1 #endif include $(PFROOT)/usr/share/Performer/src/pfmakedefs.gmk # C++ programs must use CC as linker LINKERF=$(CXXF) .BEGIN: @if [ $(PFDOMOTIF) = "1" ]; then \ echo "Linking with motif libraries. setenv PFDOMOTIF 0 to turn off."; \ else \ echo "Not linking with motif libraries can't build motif.c. setenv PFDOMOTIF 1 to enable."; \ fi LCXXDEFS = -fwritable-strings -fno-for-scope #-- targets are the executables TARGETS = \ simple OBJECTS = $(TARGETS:=.o) \ culldl.o include $(PFROOT)/usr/share/Performer/src/pfmakerules.gmk