# Generated automatically from Makefile.in by configure.
#
#  Generic makefile for the ImageMagick X11 stubs library for computers that do
#  not have xmkmf.
#
#  Copyright 1996 E. I. du Pont de Nemours and Company
#
#  Permission to use, copy, modify, distribute, and sell this software and
#  its documentation for any purpose is hereby granted without fee,
#  provided that the above Copyright notice appear in all copies and that
#  both that Copyright notice and this permission notice appear in
#  supporting documentation, and that the name of E. I. du Pont de Nemours
#  and Company not be used in advertising or publicity pertaining to
#  distribution of the software without specific, written prior
#  permission.  E. I. du Pont de Nemours and Company makes no representations
#  about the suitability of this software for any purpose.  It is provided
#  "as is" without express or implied warranty.
#
#  E. I. du Pont de Nemours and Company disclaims all warranties with regard
#  to this software, including all implied warranties of merchantability
#  and fitness, in no event shall E. I. du Pont de Nemours and Company be
#  liable for any special, indirect or consequential damages or any
#  damages whatsoever resulting from loss of use, data or profits, whether
#  in an action of contract, negligence or other tortious action, arising
#  out of or in connection with the use or performance of this software.
#

SHELL = /bin/sh

AR = ar
CC = cc
DEFS = -I../magick -I../xlib  
INSTALL_DATA = ${INSTALL} -m 644
RANLIB = ranlib

CDEBUGFLAGS= $(DEFS)

LOCALLIB=/usr/local/lib
LOCALINC=/usr/local/include

CFLAGS= $(CDEBUGFLAGS) $(DEFINES)

StubsObjects= X11_stubs.o 

all: libX11_stubs.a

libX11_stubs.a: $(StubsObjects)
	rm -f libX11_stubs.a
	$(AR) cru libX11_stubs.a $(StubsObjects)
	$(RANLIB) libX11_stubs.a

install: libX11_stubs.a
	$(INSTALL_DATA) libX11_stubs.a $(LOCALLIB)/libX11_stubs.a

clean: 
	rm -f *.o libX11_stubs.a config.cache config.status config.log core

X11_stubs.o:  X11_stubs.c X11/Xlib.h
