## This file is part of Moonlight Creator
##   Copyright (C) 1996-1998  Stephane Rehel
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

############################################################################
# ML
# tools/Makefile
#
# Stephane Rehel, Stephane.Rehel@imag.fr
# October 19th, 1995
# Revision: November 23rd, 1995
#
############################################################################

TOPDIR=..
SUBDIRS=thread zlib xdr file 3D
LIBRARY=tools

SRCS= CommonMath.C Vector2.C Vector.C \
 Matrix3x3.C HVector.C Matrix4x4.C Transform.C Quaternion.C \
 IVector2.C IVector3.C \
 MLInteger.C IntegerArray.C \
 OString.C OStringHashTable.C MLString.C Chrono.C \
 Spectrum.C Color.C Color8.C HSVColor.C HLSColor.C \
 ListFiles.C \
 MLPath.C MLFilename.C MLFileEntry.C MLPathList.C MLCommandLine.C \
 Randy.C poly2tri.C IArray.C EArray.C \
 Box.C Box2.C \
 BoundingSphere.C BoundingSphereBuilder.C \
 BoundingCone.C BoundingCylinder.C \
 BoundingHalfPlane.C \
 MLIOProgress.C debugf.C \
 MLGammaCorrection.C \
 MLConfig.C MLConfigReader.C MLConfigWriter.C \
 MLDynamicLibrary.C \
 MLSocketClient.C MLSocketServer.C MLSocketConnection.C \
 MLLog.C MLLogListener.C MLLogPrinter.C

# ImageFile.C PPMFile.C

include $(TOPDIR)/Makenames

ifneq ($(WINDOWS),yes)
SRCS+=SharedMemory.C
endif

LIBRARY_BASE_LIBS=$(ZLIB_LDFLAGS) $(PTHREADS_LIBRARY) $(LIBDL) -lm
LIBRARY_DEP_LA_LIBS=

all: compile-all build-library

include $(MAKERULES)

############################################################################
#
# tools/Makefile end
#
############################################################################
