Fixed pfb loader so that it works for both Linux and IRix with dynamic

libraries, and provides support to load (almost) all that Performer loads.
This commit is contained in:
Don BURNS
2001-10-23 22:59:54 +00:00
parent a4e26d447b
commit 6316d19df8
5 changed files with 103 additions and 31 deletions

View File

@@ -6,29 +6,23 @@ OBJS = $(C++FILES:.cpp=.o) $(CFILES:.c=.o) $(YACCFILES:.y=.o) $(LEXFILES:.l=.o)
DEPFILES = $(OBJS:.o=.d)
C++ = g++
YFLAGS = -d
C++ = g++
YFLAGS = -d
LCINCS += -I/usr/X11R6/include
LC++INCS += ${LCINCS}
CFLAGS = -O2 -W -Wall $(LCINCS)
CFLAGS = -O2 -W -Wall $(LCINCS)
#CFLAGS = -g -W -Wall $(LCINCS)
C++FLAGS = ${CFLAGS}
CPPFLAGS = ${CFLAGS}
C++FLAGS = ${CFLAGS}
CPPFLAGS = ${CFLAGS}
LDFLAGS = -O2 -W -Wall -L/usr/X11R6/lib
#LDFLAGS = -g -W -Wall -L/usr/X11R6/lib
DYNAMICLIBRARYLIB = -ldl
PFLIBS = \
/usr/lib/Performer/Static/libpfdb/libpfpfb.a\
/usr/lib/Performer/Static/libpfdu.a\
/usr/lib/Performer/Static/libpfutil.a\
/usr/lib/Performer/Static/libpf.a\
PFLOADERPATH = /usr/lib/libpfdb
GLUTLIB = -lglut
#
# TARGET_DIRS are directories that would not exist on the system except
# for the presence of OpenSceneGraph. 'make instclean' removes these

View File

@@ -34,7 +34,7 @@ $(MAKEDEPEND) : $(C++FILES) $(CFILES)
$(C++) $(C++FLAGS) -c $*.cpp -o $*.o
%.o : %.c
$(C++) $(C++FLAGS) -c $*.c -o $*.o
$(CC) $(C++FLAGS) -c $*.c -o $*.o
docs:
[ "$(TARGET_BASENAME)" != "" ] && \