#
# $Header: /cvsroot/hungry/lesstif/test/Xm/cascadebutton/Makefile.am,v 1.9 1998/03/04 23:23:23 rwscott Exp $
#
MAINTAINERCLEANFILES=Makefile.in

AUX_OBJS =
noinst_PROGRAMS= test1 test2 test3 test4 test5

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
