
# Set the top of the tree
TOP             = ../..
include $(TOP)/util/include/make.preamble

# The executable to build and the objects associated with it
BIN             = $(NULL)
OBJECTS 	= $(NULL)

# The library to build and the objects associated with it
# Library names is platform specific.  Default is Windows.
LIBTARG         = opengl32
LDINITFUNC	= $(NULL)

#  - -  I R I X  - - 
ifeq ($(OSTYPE), Irix)
LIBTARG		= ogltrace
LDINITFUNC	= DllMain
endif

#  - -  W I N D O W S  (cygnus shell) - - 
ifeq ($(OSTYPE), Cygnus)
LIBTARG		= opengl32
LDINITFUNC	= $(NULL)

endif

#  - -  L i n u x  - - 
ifeq ($(OSTYPE), Linux)
LIBTARG		= GL
LDINITFUNC	= DllMain
endif


LIBOBJECTS 	= \
		  dll.o \
		  ogltrace.o \
		  state.o \
                  wgltrace.o \
                  xgltrace.o \
		  $(NULL)

# Header files to install
HEADERS         = $(NULL)

# Build it
include $(TOP)/util/include/make.tmpl

# Don't copy the library
COPYLIBS = $(NULL)
