#
# $Header: /cvsroot/hungry/lesstif/test/Xm-2.0/draw/Makefile.am,v 1.3 1998/03/02 22:58:09 miers Exp $
#
MAINTAINERCLEANFILES=Makefile.in

noinst_PROGRAMS=	test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 test11 test12 test13 test14 test15 test16

AUX_OBJS	=

LDADD	= $(AUX_OBJS) \
	  $(top_builddir)/lib/Xm$(version_suffix)/.libs/libXm.so \
	  @X_LIBS@ -lXt -lX11

CFLAGS = -g @X_CFLAGS@
LDFLAGS = -g

INCLUDES	= -I$(top_srcdir)/include/Motif-2.0 \
		  -I$(top_builddir)/include/Motif-2.0 \
		  -I$(top_srcdir)/include/Motif-1.2
SUFFIXES = .motif

if MotifTests

motif_TESTS = $(OBJECTS:.o=.motif)

.o.motif:
	${LINK} -o ${@} $< $(AUX_OBJS) -L@motif_libraries@ -lXm -L@x_libraries@ -lXt -lX11

motif-tests: ${motif_TESTS}

${motif_TESTS}: $(AUX_OBJS)

clean-local:
	rm -f *.motif
endif
