# Generated automatically from Makefile.in by configure.
# test/graphics/Makefile.in	-*- Makefile -*-

# ./Make.common.in	 -*- Makefile -*-

# LSM date, release date (man pages), version number
DATE="23 January 1997"#
LSMDATE=23JAN97#
VERSION=2.20#
VERNAME=rxvt-$(VERSION)#
# MAINT=An orphaned piece of software as of 22 Jan 1997.# current maintainer
MAINT="mj olesen <olesen@me.queensu.ca> \
but thesis first!/will someone else volunteer?"
# current maintainer
srcdir = .

SHELL = /bin/sh

# This variable makes it possible to move the installation root to another
# directory. This is useful when you're creating a binary distribution
# If empty, normal root will be used.
# You can run eg. 'make install DESTDIR=/packages/rxvt-xx' to accomplish
# that.
# DESTDIR = /usr/local/X11/$(VERNAME)

# Installation target directories & other installation stuff
prefix = /usr/local
exec_prefix = ${prefix}
binprefix =
manprefix =
bindir = ${exec_prefix}/bin
mandir = ${prefix}/man/man1
manext = 1

# Tools & program stuff
CC = gcc
CPP = gcc -E
RM = /bin/rm
RMF = /bin/rm -f
CP = /bin/cp
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = /usr/bin/install -c -s -m 755
INSTALL_DATA = /usr/bin/install -c -m 644

# Flags & libs
# add -DBINDIR=\""$(bindir)/"\" to CPPFLAGS, if we need to spawn a program

CFLAGS = -O
CPPFLAGS =  #-DHAVE_LIBXPM
LDFLAGS = 
DEFS = -DHAVE_CONFIG_H
LIBS = 

# X Include directory
XINC =  -I/usr/X11R6/include #-I/usr/local/include

# extra libraries needed by X on some systems, X library location
# -lIm and -lXext are necessary for Imlib support. if you dont want Imlib
# support make sure these are removed and you don't define IMLIB in feature.h

XLIB =  -L/usr/X11R6/lib  -lSM -lICE -lX11  -lIm -lXext #-L/usr/local/lib -lXpm 

# End of Make.common
basedir = $(srcdir)/../..
thisdir = src/graphics

first_rule: qplot
dummy:

SRCS = grxlib.c qplot.c
OBJS = grxlib.o qplot.o
HDRS = grxlib.h

#
# Distribution variables
#

DIST = $(HDRS) $(SRCS) README data Makefile.in

# inference rules
.c.o:
	$(CC) -c $(CPPFLAGS) -I.. $(DEFS) $(CFLAGS) $<
#-------------------------------------------------------------------------
all:

graphics: qplot

qplot: $(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -lm

tags: $(SRCS)
	ctags $(SRCS)

alldoc:

allbin: qplot

clean:
	$(RMF) qplot core a.out *.o *.bak *~

realclean: clean
	$(RMF) tags

distclean:
	(cd $(srcdir); $(RMF) qplot *~ *.o core a.out)
	if test $(srcdir) = .; then $(MAKE) realclean; fi
	(cd $(srcdir); $(RMF) Makefile)

install uninstall:

distdirs:
	mkdir $(basedir)/../$(VERNAME)/$(thisdir)

distcopy:
	$(CP) $(DIST) $(basedir)/../$(VERNAME)/$(thisdir)

# -----------------------------------------------------------------------
# forget dependencies, there are too few
