+INSTALL_GROUP=root
+INSTALL_FLAGS=-o root -g $(INSTALL_GROUP)
+
+INSTALL=@INSTALL@
+INSTALL_PROGRAM=@INSTALL_PROGRAM@ $(INSTALL_FLAGS)
+INSTALL_DATA=@INSTALL_DATA@ $(INSTALL_FLAGS)
+prefix=@prefix@
+exec_prefix=$(prefix)
+bindir=$(exec_prefix)/bin
+mandir=$(prefix)/man
+man1dir=$(mandir)/man1
+sbindir=$(exec_prefix)/sbin
+etcdir=/etc
+etcsubdir=$(etcdir)/userv
+docdir=$(prefix)/userv
+
+TARGETS= daemon client
+TARGETS_DOC_PS= spec.ps overview.ps
+TARGETS_DOC_RM= $(TARGETS_DOC_PS) spec.html
+TARGETS_DOC= $(TARGETS_DOC_PS) spec.html/index.html
+MAN1PAGES= userv.1
+
+SOURCES= Makefile.in configure.in acconfig.h \
+ client.c common.h \
+ overlord.c process.c servexec.c \
+ daemon.h debug.c parser.c lib.c lib.h \
+ language.i4 lexer.l.m4 tokens.h.m4
+
+CONFIG_RESULTS= config.status config.log config.h config.cache \
+ Makefile pcsum.h
+
+GENSHIP_CLEAN= lexer.l lexer.c tokens.h config.h.in spec.sgml $(TARGETS_DOC)
+GENSHIP= $(GENSHIP_CLEAN) configure
+
+all: $(TARGETS)
+
+docs: $(TARGETS_DOC)
+
+install: all
+ $(INSTALL_PROGRAM) -m 755 daemon $(sbindir)/uservd
+ $(INSTALL_PROGRAM) -m 4755 client $(bindir)/userv
+ $(INSTALL) -d -m 2755 $(etcsubdir) \
+ $(etcsubdir)/default.d $(etcsubdir)/services.d $(etcsubdir)/override.d
+ if test ! -f $(etcsubdir)/system.default; then \
+ $(INSTALL_DATA) system.default $(etcsubdir); fi
+ if test ! -f $(etcsubdir)/system.override; then \
+ $(INSTALL_DATA) system.override $(etcsubdir); fi
+
+install-strip:
+ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
+
+install-doc: $(TARGETS_DOC)
+ $(INSTALL) -d -m 2755 $(docdir) $(docdir)/spec.html
+ $(INSTALL) -d -m 2755 $(mandir) $(man1dir)
+ $(INSTALL_DATA) -m 644 $(TARGETS_DOC_PS) $(docdir)/.
+ $(INSTALL_DATA) -m 644 spec.html/*.html $(docdir)/spec.html/.
+ $(INSTALL_DATA) -m 644 $(MAN1PAGES) $(man1dir)
+
+uninstall:
+ rm -f $(bindir)/userv $(sbindir)/uservd
+
+uninstall-doc:
+ cd $docdir && rm -rf $(TARGETS_DOC_RM)
+
+daemon: overlord.o process.o servexec.o parserlexer.o debug.o lib.o both.o
+ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+
+client: client.o both.o
+ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)