CC = @CC@
OBJEXT = @OBJEXT@

SHELL=/bin/sh

@SET_MAKE@

prefix=@prefix@
exec_prefix=@exec_prefix@
srcdir=@srcdir@
bindir=@bindir@
libdir=@libdir@
mandir=@mandir@
includedir = @includedir@
PERL = @PERL@

VPATH = @srcdir@

ifeq ($(EPATH_DYLIB),1)
WVPICFLAGS = -fno-common -DPIC
else
WVPICFLAGS = 
endif

CFLAGS = -I.. -I$(srcdir) -I$(srcdir)/.. @DEFS@ @CPPFLAGS@ @CFLAGS@ @PNG_CFLAGS@ @ZLIB_CFLAGS@ $(WVPICFLAGS)

SHELL = /bin/sh

.SUFFIXES: .C .$(OBJEXT)

MAGICKOBJECTS =	\
	magick.$(OBJEXT) \
	image.$(OBJEXT) \
	blob.$(OBJEXT) \
	colors.$(OBJEXT) \
	error.$(OBJEXT) \
	transform.$(OBJEXT) \
	compress.$(OBJEXT) \
	memory.$(OBJEXT) \
	utility.$(OBJEXT) \
	png.$(OBJEXT) \
	bmp.$(OBJEXT) \
	signature.$(OBJEXT)


all: $(MAGICKOBJECTS)

%.$(OBJEXT): $(srcdir)/%.c 
	$(CC) $(CFLAGS) -c $(srcdir)/$*.c 

clean:
	rm -rf *.$(OBJEXT) core a.$(OBJEXT)ut *.a

distclean: 
	rm -rf config.cache config.status config.log Makefile config.h *.a *.$(OBJEXT) core out* .pure

realclean: distclean

#  DO  NOT  DELETE THIS LINE -- make depend depends on it.
