
#
# Imakefile for xdrop 2
#
# Mark Dobie 1993, 1994
#

####################################################################

# Where to install xdrop and man page
# Uncomment these if you want something other than the default.

# BINDIR		= /usr/local/X11/bin
# MANDIR		= /usr/local/X11/man

####################################################################

# Where to find the xview headers and libraries if not in the X11 hierarchy.
# Under OpenWindows, they will be in $OPENWINHOME

EXTRA_INCLUDES	= -I$(OPENWINHOME)/include
LOCAL_LDFLAGS	= -L$(OPENWINHOME)/lib

# I found I needed -B/usr/bin/ with gcc to link to SunOs shared libraries
# LOCAL_LDFLAGS		= -B/usr/bin/

####################################################################

# If you have xview version 3.2 this define seems to be necessary for
# Sunos 4.1. and Linux

EXTRA_DEFINES	= -DSUNOS41

####################################################################

# Which C compiler to use. Gcc works. I expect acc will, but I cannot try it.
CC		= gcc

####################################################################

CCOPTIONS	= -Wall
LOCAL_LIBRARIES = -lxview -lolgx $(XLIB)
SRCS		= xdrop.c
OBJS		= xdrop.o

SimpleProgramTarget(xdrop)

# archive
archive :
	zoo aP xdrop.zoo *.c *.h Imakefile README *.man *.xbm\
	       editdrop mandrop spelldrop xtermdrop
