/*

Copyright 1991 by OTC Limited


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 OTC Limited not be used in advertising or
publicity pertaining to distribution of the software without specific,
written prior permission. OTC Limited makes no representations about the
suitability of this software for any purpose. It is provided "as is"
without express or implied warranty.

Any person supplied this software by OTC Limited may make such use of it
including copying and modification as that person desires providing the
copyright notice above appears on all copies and modifications including
supporting documentation.

The only conditions and warranties which are binding on OTC Limited in
respect of the state, quality, condition or operation of this software
are those imposed and required to be binding by statute (including the
Trade Practices Act 1974). and to the extent permitted thereby the
liability, if any, of OTC Limited arising from the breach of such
conditions or warranties shall be limited to and completely discharged
by the replacement of this software and otherwise all other conditions
and warranties whether express or implied by law in respect of the
state, quality, condition or operation of this software which may
apart from this paragraph be binding on OTC Limited are hereby
expressly excluded and negatived.

Except to the extent provided in the paragraph immediately above OTC
Limited shall have no liability (including liability in negligence) to
any person for any loss or damage consequential or otherwise howsoever
suffered or incurred by any such person in relation to the software
and without limiting the generality thereof in particular any loss or
damage consequential or otherwise howsoever suffered or incurred by
any such person caused by or resulting directly or indirectly from any
failure, breakdown, defect or deficiency of whatsoever nature or kind
of or in the software.

*/

LOCAL_LIBRARIES1 = $(XMULIB) $(EXTENSIONLIB) $(XLIB)
LOCAL_LIBRARIES2 = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(EXTENSIONLIB) $(XLIB)

CDEBUGFLAGS = -g

SRCS1 = decode11.c linkl.c print11.c server.c fd.c main.c prtype.c table11.c
OBJS1 = decode11.o linkl.o print11.o server.o fd.o main.o prtype.o table11.o

SRCS2 = widgeti.c xmonui.c
OBJS2 = widgeti.o xmonui.o

INCLUDE_FILES = common.h events.h linkl.h requests.h select_args.h \
	widgeti.h x11.h xmond.h xmonui.h patchlevel.h commands.h

PROGRAMS = xmond xmonui

ComplexProgramTarget_1(xmond, $(LOCAL_LIBRARIES1), )
ComplexProgramTarget_2(xmonui, $(LOCAL_LIBRARIES2), )

SHARFILES = README xmon.man Imakefile $(SRCS1) $(SRCS2) \
$(INCLUDE_FILES)

shar:
	shar -n xmon -s "gregm@otc.otca.oz.au" -a -o xmon.shar -L 49 -c \
$(SHARFILES)

