# COPYRIGHT
#
# This file is part of Mustajuuri.
#
# Author: Tommi Ilmonen, 1999-2000.
#
# Mustajuuri is licensed under GNU Lesser General Public License
# (LGPL). The LGPL text can be founs in file "LGPL" that is
# distributed with this source package. The Mustajuuri way to
# interpret LGPL can be found in file "MUSTAJUURI_LICENSE" that is
# distributed with the mustajuuri source code.  
#

#
# Load compile time parameters
#

include $(MUSTAJUURI_PATH)/src/Makeconf

CUSTOMFLAGS   := $(DEBUGFLAGS)
# CUSTOMFLAGS   := $(RELEASEFLAGS)

#
# Local variables
# 

# Own Includes & defines:


LIBRARY       = qawl

PROGRAM       = foo

HDRS	      = qawl_view.h \
		qawl_preview_calculator.h \
		qawl_preview_test.h \
		qawl_preview_test2.h \
		qawl_file_cache.h \
		qawl_renderer.h

SRCS	      = qawl_view.C \
		qawl_view_moc.C \
		qawl_preview_calculator.C \
		qawl_preview_calculator_moc.C \
		qawl_preview_test.C \
		qawl_preview_test_moc.C \
		qawl_preview_test2.C \
		qawl_preview_test2_moc.C \
		qawl_file_cache.C \
		qawl_renderer.C

OBJS	      = qawl_view.o \
		qawl_view_moc.o \
		qawl_preview_calculator.o \
		qawl_preview_calculator_moc.o \
		qawl_preview_test.o \
		qawl_preview_test_moc.o \
		qawl_preview_test2.o \
		qawl_preview_test2_moc.o \
		qawl_file_cache.o \
		qawl_renderer.o




MAINSRC = main.C

MAINOBJ = main.o

LIBS          = $(QT) \
		$(THREAD) \
		$(AUDIO) \
		$(DMEDIA) \
		$(DIVAIO) \
		$(DIVABASE) \
		$(DL) \
                $(MATH)

ifeq ($(strip $(HAVE_GL_H)),1)

  HDRS += qawl_gl_renderer.h

  SRCS += qawl_gl_renderer.C

  OBJS += qawl_gl_renderer.o

  LIBS += $(LIBGL)

endif

all: dlib dbin

include $(MUSTAJUURI_PATH)/src/Makelibs

