## Process this file with automake to produce Makefile.in
# $Id: Makefile.am,v 1.20 2001/07/25 02:49:48 dm Exp $

LDADD = $(LIBASYNC)

bin_PROGRAMS = rpcc

noinst_HEADERS = rpcc.h parse.h

rpcc_SOURCES = genheader.C gencfile.C parse.yy scan.ll rpcc.C
if STATIC
rpcc_DEPENDENCIES = $(LIBASYNC)
endif

YFLAGS = -d

parse.h:
	@:

scan.o: parse.o scan.cc parse.h
	$(CXXCOMPILE) $(CXXNOERR) -c scan.cc

#dist-hook:
#	cd $(distdir) && rm -f scan.cc parse.cc

CLEANFILES = core *.core *~ *.rpo

EXTRA_DIST = .cvsignore
MAINTAINERCLEANFILES = Makefile.in parse.h parse.cc scan.cc
