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


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

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

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

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

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

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

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

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

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

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

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


desc
@Original
@


1.11
log
@Fix INSTALLROOT
@
text
@all: timedc

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

OBJS = timedc.o cmds.o cmdtab.o
LIBS += -L../lib -ltimed

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

$(OBJS): timedc.h timedc-extern.h

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

clean:
	rm -f *.o timedc

@


1.10
log
@fix to use INSTALLROOT
@
text
@d15 2
a16 2
	install -s -m$(ROOTMODE) timedc $(INSTALLDIR)$(SBINDIR)
	install -m$(MANMODE) timedc.8 $(INSTALLDIR)$(MANDIR)/man8
@


1.9
log
@Standardize install permissions.
@
text
@d15 2
a16 2
	install -s -m$(ROOTMODE) timedc $(SBINDIR)
	install -m$(MANMODE) timedc.8 $(MANDIR)/man8
@


1.8
log
@installing as mode 4744 is dumb.
@
text
@d15 2
a16 2
	install -s -m700 timedc $(SBINDIR)
	install -m644 timedc.8 $(MANDIR)/man8
@


1.7
log
@Support install prefixes
@
text
@d15 1
a15 1
	install -s -m4744 timedc $(SBINDIR)
@


1.6
log
@move common code to lib directory
@
text
@d15 2
a16 2
	install -s -m4744 timedc /usr/sbin/
	install -m644 timedc.8 /usr/man/man8
@


1.5
log
@minor fix
@
text
@d6 2
a7 1
OBJS = timedc.o cmds.o cmdtab.o byteorder.o measure.o cksum.o
a10 7

byteorder.o: ../timed/byteorder.c
	$(CC) $(CFLAGS) -c ../timed/byteorder.c -o byteorder.o
measure.o: ../timed/measure.c
	$(CC) $(CFLAGS) -c ../timed/measure.c -o measure.o
cksum.o: ../timed/cksum.c
	$(CC) $(CFLAGS) -c ../timed/cksum.c -o cksum.o
@


1.4
log
@add depend, fix resulting compile errors
@
text
@d9 1
a9 1
	$(CC) $(CFLAGS) $^ $(LIBS) -o $@@
@


1.3
log
@Compile with -Wall
@
text
@d6 3
a8 1
timedc: timedc.o cmds.o cmdtab.o byteorder.o measure.o cksum.o
d17 2
@


1.2
log
@As distributed with NetKit-B-0.06
@
text
@d1 5
d7 1
@


1.1
log
@Initial revision
@
text
@d1 16
@
