# along with userv; if not, write to the Free Software
# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# along with userv; if not, write to the Free Software
# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-ALSOSHIP= system.default system.override \
- spec.sgml overview.fig overview.ps \
- COPYING buildship install-sh .cvsignore
+ALSOSHIP= README INSTALL Changelog COPYING \
+ system.default system.override \
+ spec.sgml.in overview.fig overview.ps \
+ buildship install-sh .cvsignore
install: all
$(INSTALL_PROGRAM) -s -o root -g root -m 755 daemon $(sbindir)/uservd
$(INSTALL_PROGRAM) -s -o root -g root -m 4755 client $(bindir)/userv
install: all
$(INSTALL_PROGRAM) -s -o root -g root -m 755 daemon $(sbindir)/uservd
$(INSTALL_PROGRAM) -s -o root -g root -m 4755 client $(bindir)/userv
if ! test -f $(etcsubdir)/system.default; then \
$(INSTALL_DATA) -o root -g root system.default $(etcsubdir); fi
if ! test -f $(etcsubdir)/system.override; then \
$(INSTALL_DATA) -o root -g root system.override $(etcsubdir); fi
if ! test -f $(etcsubdir)/system.default; then \
$(INSTALL_DATA) -o root -g root system.default $(etcsubdir); fi
if ! test -f $(etcsubdir)/system.override; then \
$(INSTALL_DATA) -o root -g root system.override $(etcsubdir); fi
-daemon.o: config.h common.h pcsum.h daemon.h lib.h tokens.h
+process.o: config.h common.h pcsum.h daemon.h lib.h tokens.h
+
+overlord.o: config.h common.h pcsum.h daemon.h
+
+servexec.o: config.h common.h pcsum.h daemon.h lib.h version.h
parserlexer.o: lexer.c parser.c config.h common.h pcsum.h daemon.h lib.h tokens.h
# lexer.c #include's parser.c at the end. Blame flex.
$(CC) -c $(CPPFLAGS) $(CFLAGS) lexer.c -o $@
parserlexer.o: lexer.c parser.c config.h common.h pcsum.h daemon.h lib.h tokens.h
# lexer.c #include's parser.c at the end. Blame flex.
$(CC) -c $(CPPFLAGS) $(CFLAGS) lexer.c -o $@
cat $^ | md5sum | sed -e 's/../0x&,/g; s/,$$//;' >pcsum.h.new
cmp pcsum.h.new pcsum.h || mv -f pcsum.h.new pcsum.h
@rm -f pcsum.h.new
cat $^ | md5sum | sed -e 's/../0x&,/g; s/,$$//;' >pcsum.h.new
cmp pcsum.h.new pcsum.h || mv -f pcsum.h.new pcsum.h
@rm -f pcsum.h.new
- rm -f daemon client lexer.l lexer.c tokens.h pcsum.h
- rm -f overview.eps overview.ps
- rm -f spec.lout* spec.ps spec.text* lout.li
- rm -rf spec.html*
+ rm -f daemon client pcsum.h
+ rm -f overview.eps
+ rm -f spec.lout* spec.text* spec.sgml spec.sgml.new spec.ps?*
+ rm -rf spec.html?*
+ rm -f lout.li *.lix *.ldx config.cache