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

$(PLATFORM)/$(DPLUGIN): $(PLATFORM)/$(SPLUGIN)
		@echo "Creating $(PLATFORM)/$(DPLUGIN) ..."
		@-rm -f $(PLATFORM)/$(DPLUGIN) $(PLATFORM)/so_locations
		@cd $(PLATFORM); $(LD) $(LDFLAGS) $(DLIBS) $(LIBS) -shared -all $(SPLUGIN) -o $(DPLUGIN); 
		@cd ..
		@cp -f $(PLATFORM)/$(DPLUGIN) $(PLUGINTARGET)/
