#This file is based on the makefiles in $BDI_PEOPLESHOP/psert_examples/pf_examples. #Some alterations have been made: # -Some Performer related stuff has been moved so that Performer can be compiled separately # --Wl,-rpath,{LIBRARY} has been added for each dll so LD_LIBRARYN32_PATH variable is no longer needed. # -jpeglib.a has been removed because it interfered with importing Performer 3dstudio files with jpeg textures BDI_ROOT = $(BDI_PEOPLESHOP) SHELL=/bin/sh STYLE=n32 ISET=mips3 LIBBITSUF=32 LDWOFF=-Wl,-woff,85 -Wl,-woff,134 OSNAME=irix6 HAPTEK_DIR = $(BDI_ROOT)/3rdparty/haptek/haptek_19991020 HAPTEK_INCLUDE_DIR = $(HAPTEK_DIR)/irix/include HAPTEK_LIBS = \ $(HAPTEK_DIR)/irix/include/hapapi.a #Interferes with loading 3dstudio files with jpg textures. # $(HAPTEK_DIR)/irix/include/jpeglib.a # Set default GL version GL=ogl GLLIB=-lGLU -lGL # Set Performer version PR=$(PFROOT)/usr/include/Performer/pr.h PF_MAJOR=`grep PF_MAJOR_VERSION $(PR) | awk '{print $$3}'` PF_MINOR=`grep PF_MINOR_VERSION $(PR) | awk '{print $$3}'` PF_VERS=$(PF_MAJOR)$(PF_MINOR) PERL5_EMBED_DIR = $(BDI_ROOT)/3rdparty/perl/perl-5.00503-irix PERL5_EMBED_INCLUDE_DIR = $(PERL5_EMBED_DIR)/lib/5.00503/IP30-irix/CORE PERL5_EMBED_LIBS = \ -L$(PERL5_EMBED_DIR)/lib/5.00503/IP30-irix/CORE \ -L$(PERL5_EMBED_DIR)/lib/5.00503/IP30-irix/auto/DynaLoader \ -lDynaLoader \ -lperl # # This Makefile is set up for dynamic linking. # BDI_LIBS = \ -L$(BDI_ROOT)/lib$(LIBBITSUF) \ -Wl,-rpath,$(BDI_ROOT)/lib$(LIBBITSUF) \ -L$(BDI_ROOT)/lib/irix/$(ISET)_$(STYLE)_dso \ -Wl,-rpath,$(BDI_ROOT)/lib/irix/$(ISET)_$(STYLE)_dso \ -L$(BDI_ROOT)/lib/irix/$(ISET)_$(STYLE) \ -Wl,-rpath,$(BDI_ROOT)/lib/irix/$(ISET)_$(STYLE) \ -lpeopleshop_perl \ -lpeopleshop \ -lpeopleshop_pf$(PF_VERS)_$(GL) \ -lbdiexface_pf$(PF_VERS)_$(GL) \ -lpeopleshop_util \ $(BDI_HAPTEK_LIBS) \ -lbdiperl \ -ldiguy \ -ldiguy_pf$(PF_VERS)_$(GL) \ -ldiguy_util CFLAGS_PPL = -$(STYLE) -I$(BDI_ROOT)/include PPL_LIBS = $(LDWOFF) \ $(BDI_LIBS) \ $(HAPTEK_LIBS) \ $(PERL5_EMBED_LIBS)