head	1.10;
access;
symbols;
locks; strict;
comment	@# @;


1.10
date	97.06.09.01.11.12;	author dholland;	state Exp;
branches;
next	1.9;

1.9
date	97.05.13.05.37.24;	author dholland;	state Exp;
branches;
next	1.8;

1.8
date	97.04.05.22.25.27;	author dholland;	state Exp;
branches;
next	1.7;

1.7
date	96.11.23.19.01.33;	author dholland;	state Exp;
branches;
next	1.6;

1.6
date	96.08.30.00.52.05;	author dholland;	state Exp;
branches;
next	1.5;

1.5
date	96.08.29.19.52.45;	author dholland;	state Exp;
branches;
next	1.4;

1.4
date	96.07.20.21.06.15;	author dholland;	state Exp;
branches;
next	1.3;

1.3
date	96.07.20.19.45.28;	author dholland;	state Exp;
branches;
next	1.2;

1.2
date	96.07.17.07.28.05;	author dholland;	state Exp;
branches;
next	1.1;

1.1
date	94.05.23.09.12.12;	author rzsfl;	state Exp;
branches;
next	;


desc
@Original
@


1.10
log
@Fix INSTALLROOT
@
text
@all: timed

include ../../MCONFIG
include ../../MRULES

LIBS += -L../lib -ltimed

ifeq ($(USE_GLIBC),1)
LIBS += -lutil
else
LIBS += -lbsd
endif

OBJS = timed.o acksend.o candidate.o correct.o master.o networkdelta.o \
	readmsg.o slave.o 

timed: $(OBJS)
	$(CC) $(LDFLAGS) $^ $(LIBS) -o $@@

$(OBJS): globals.h pathnames.h timed-extern.h

install: timed
	install -s -m$(DAEMONMODE) timed $(INSTALLROOT)$(SBINDIR)
	install -m$(MANMODE) timed.8 $(INSTALLROOT)$(MANDIR)/man8

clean:
	rm -f *.o timed

@


1.9
log
@fix to use INSTALLROOT
@
text
@d23 2
a24 2
	install -s -m$(DAEMONMODE) timed $(INSTALLDIR)$(SBINDIR)
	install -m$(MANMODE) timed.8 $(INSTALLDIR)$(MANDIR)/man8
@


1.8
log
@glibc fixes from HJ Lu
@
text
@d23 2
a24 2
	install -s -m$(DAEMONMODE) timed $(SBINDIR)
	install -m$(MANMODE) timed.8 $(MANDIR)/man8
@


1.7
log
@Standardize install permissions.
@
text
@d6 7
a12 1
LIBS += -L../lib -ltimed -lbsd
@


1.6
log
@Support install prefixes
@
text
@d17 2
a18 2
	install -s -m744 timed $(SBINDIR)
	install -m644 timed.8 $(MANDIR)/man8
@


1.5
log
@move common code into lib directory
@
text
@d17 2
a18 2
	install -s -m744 timed /usr/sbin/
	install -m644 timed.8 /usr/man/man8
@


1.4
log
@compile without /usr/include/bsd
@
text
@d6 1
a6 1
LIBS += -lbsd
d9 1
a9 1
	readmsg.o slave.o byteorder.o measure.o cksum.o
@


1.3
log
@new makefiles
@
text
@a5 1
CFLAGS += -I/usr/include/bsd -include /usr/include/bsd/bsd.h
@


1.2
log
@As distributed with NetKit-B-0.06
@
text
@d1 9
a9 1
timed: timed.o acksend.o candidate.o correct.o master.o networkdelta.o \
d11 5
@


1.1
log
@Initial revision
@
text
@d1 10
@
