#
# $Header: /cvsroot/hungry/lesstif/test/Xm/form/Makefile.am,v 1.13 1998/04/15 02:18:52 rwscott Exp $
#
MAINTAINERCLEANFILES=Makefile.in

AUX_OBJS = DumpLayout.o
noinst_PROGRAMS= test1 test2 test3 test4 test5 test6 test7 test8 test9 \
		 test10 test11 test12 test13 test14 test15 test16 test17 \
		 test18 test19 test20 test21 test22 test23 test24 test25 \
		 test27 test28 test29 test30 test31 test32 test33 test34

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$(include_version_suffix) \
	  -I$(top_builddir)/include/Motif$(include_version_suffix) \
	  -I$(top_srcdir)/include/Motif-1.2 \
	  -I$(top_builddir)/include/Motif-1.2

SUFFIXES= .motif

if MotifTests

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

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

motif-tests: ${motif_TESTS}

${motif_TESTS}: $(AUX_OBJS)

clean-local:
	rm -f *.motif
endif
