srcdir = @srcdir@
 VPATH = @srcdir@
 
     CC = @CC@
 CFLAGS = @CFLAGS@ @DEFS@ '-DCPPEXEC="@CPPEXEC@"'
LDFLAGS = @LDFLAGS@
   PROG = disgen
   SRCS = rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c rpc_parse.c \
	rpc_scan.c rpc_svcout.c rpc_util.c 
   OBJS = rpc_clntout.o rpc_cout.o rpc_hout.o rpc_main.o rpc_parse.o \
	rpc_scan.o rpc_svcout.o rpc_util.o 

# Programs to make tags files.
  ETAGS = etags -tw
  CTAGS = ctags -tw
tagsrcs = $(SRCS)

all: $(PROG)

$(PROG): $(OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)

clean:
	rm -f *.o $(PROG) *~ *.bak TAGS tags

distclean: clean
	rm -f Makefile config.*

check test:

TAGS: $(tagsrcs)
	$(ETAGS) $(tagsrcs)

tags: $(tagsrcs)
	$(CTAGS) $(tagsrcs)
