###################################################################### 
#
# Unix Makefile for building the dynamically loaded lib libmagick.dl
# 
###################################################################### 


###################################################################### 
# Unix Specific Variables
###################################################################### 

OBJ    = o
IFLAGS = -I../..

# The following list of libraries used in compiling libmagick.dl is
# based on RedHat 9.0. If you system does not have a certain library
# then remove it from the list. If your system has any other libraries 
# required for ImageMagick, then add it to the list.
# e.g.: if your system does not have nsl then remove -lnsl
# e.g.: if your system has liblcms then add -llcms

MAGICK_LFLAGS =  ../../magick/.libs/libMagick.a -lfreetype -ltiff -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lxml2 -lz -lpthread -lm ../../ltdl/.libs/libltdl.a
 
WAND_LFLAGS = ../../wand/.libs/libWand.a $(MAGICK_LFLAGS)

###################################################################### 
# Include Make.inc
###################################################################### 

include Make.inc
