# 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)

# CUSTOMFLAGS += -DMJ_WITH_KARPLUS_STRONG=1

#
# Local variables
# 

# Own Includes & defines:


LIBRARY       = mjsynth

PROGRAM       = foo

HDRS	      = mj_module_synth.h \
		mj_synth_midi.h \
		mj_audio_sample.h \
		mj_noise_voice.h \
		mj_ks_voice.h \
		mj_additive_voice.h \
		mj_sample_voice.h \
		mj_granular_voice.h \
		mj_input_voice.h \
		mj_stk_voice.h \
		mj_stk_shakers.h \
		mj_synth_voice.h

SRCS	      = mj_module_synth.C \
		mj_synth_midi.C \
		mj_audio_sample.C \
		mj_noise_voice.C \
		mj_ks_voice.C \
		mj_additive_voice.C \
		mj_sample_voice.C \
		mj_granular_voice.C \
		mj_input_voice.C \
		mj_stk_voice.C \
		mj_stk_shakers.C \
		mj_synth_export.C

OBJS	      = mj_module_synth.o \
		mj_synth_midi.o \
		mj_audio_sample.o \
		mj_noise_voice.o \
		mj_ks_voice.o \
		mj_additive_voice.o \
		mj_sample_voice.o \
		mj_granular_voice.o \
		mj_input_voice.o \
		mj_stk_voice.o \
		mj_stk_shakers.o \
		mj_synth_export.o


LIBS          = $(MJBASE) \
		$(MJDSP) \
		$(MJSTK) \
		$(DIVAIO) \
		$(DIVABASE) \
		$(QT) \
		$(THREAD) \
		$(AUDIO) \
		$(MIDI) \
		$(DMEDIA) \
		$(DL) \
                -lm

all: dlib plugin 

include $(MUSTAJUURI_PATH)/src/Makelibs
