# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
VERSION=@VERSION@
+VEREXT=std
CC=@CC@
-CFLAGS=@CFLAGS@ $(XCFLAGS) -DVERSION='"$(VERSION)"'
+CFLAGS=@CFLAGS@ $(XCFLAGS) -DVERSION='"$(VERSION)"' -DVEREXT='"$(VEREXT)"'
OPTIMISE=@OPTIMISE@
CPPFLAGS=@DEBUGDEFS@ $(XCPPFLAGS)
LDLIBS=@DEBUGLIBS@ $(XLDLIBS)
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) -d -o root -g root -m 2755 $(etcsubdir)
+ $(INSTALL) -d -o root -g root -m 2755 $(etcsubdir) \
+ $(etcsubdir)/default.d $(etcsubdir)/services.d $(etcsubdir)/override.d
if ! test -f $(etcsubdir)/system.default; then \
$(INSTALL_DATA) -o root -g root system.default $(etcsubdir); fi
if ! test -f $(etcsubdir)/system.override; then \
clean:
rm -f daemon client pcsum.h
rm -f overview.eps
- rm -f spec.lout* spec.text* spec.sgml?* spec.ps?*
+ 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
rm -f *.o *~ core ./#*#
rm -f config.status config.log Makefile config.h
realclean: distclean
- rm -f spec.ps* spec.sgml*
+ rm -f spec.ps* spec.sgml spec.sgml.new
rm -f lexer.l lexer.c tokens.h overview.ps
rm -rf spec.html*