head	1.29;
access;
symbols
	AR73A:1.22
	DIST1_0:1.21;
locks
	bert:1.29; strict;
comment	@# @;


1.29
date	97.05.22.21.03.09;	author bert;	state Exp;
branches;
next	1.28;

1.28
date	97.02.11.20.22.39;	author bert;	state Exp;
branches;
next	1.27;

1.27
date	92.01.07.20.53.52;	author lwvanels;	state Exp;
branches;
next	1.26;

1.26
date	91.10.31.15.00.13;	author lwvanels;	state Exp;
branches
	1.26.1.1;
next	1.25;

1.25
date	91.09.23.12.42.09;	author lwvanels;	state Exp;
branches;
next	1.24;

1.24
date	91.09.23.11.42.29;	author lwvanels;	state Exp;
branches;
next	1.23;

1.23
date	91.09.22.11.46.44;	author lwvanels;	state Exp;
branches;
next	1.22;

1.22
date	91.05.07.22.24.25;	author lwvanels;	state Rel;
branches
	1.22.1.1;
next	1.21;

1.21
date	91.04.18.22.18.58;	author lwvanels;	state Rel;
branches;
next	1.20;

1.20
date	91.04.10.14.52.17;	author lwvanels;	state Rel;
branches;
next	1.19;

1.19
date	91.04.08.21.14.43;	author lwvanels;	state Exp;
branches;
next	1.18;

1.18
date	91.03.29.02.18.15;	author lwvanels;	state Exp;
branches;
next	1.17;

1.17
date	91.03.28.23.30.55;	author lwvanels;	state Exp;
branches;
next	1.16;

1.16
date	91.03.24.18.19.56;	author lwvanels;	state Exp;
branches;
next	1.15;

1.15
date	91.03.06.16.00.15;	author lwvanels;	state Exp;
branches;
next	1.14;

1.14
date	91.02.01.23.21.00;	author lwvanels;	state Exp;
branches;
next	1.13;

1.13
date	91.01.18.14.53.19;	author lwvanels;	state Exp;
branches;
next	1.12;

1.12
date	91.01.07.01.47.42;	author lwvanels;	state Exp;
branches;
next	1.11;

1.11
date	91.01.01.14.11.56;	author lwvanels;	state Exp;
branches;
next	1.10;

1.10
date	90.12.09.17.25.40;	author lwvanels;	state Exp;
branches;
next	1.9;

1.9
date	90.08.26.15.48.58;	author lwvanels;	state Exp;
branches;
next	1.8;

1.8
date	90.08.20.04.49.21;	author lwvanels;	state Exp;
branches;
next	1.7;

1.7
date	90.07.16.10.05.44;	author vanharen;	state Exp;
branches;
next	1.6;

1.6
date	90.03.01.18.22.33;	author vanharen;	state Exp;
branches;
next	1.5;

1.5
date	90.01.16.05.31.10;	author raeburn;	state Exp;
branches;
next	1.4;

1.4
date	90.01.04.14.59.59;	author raeburn;	state Exp;
branches;
next	1.3;

1.3
date	90.01.03.23.24.02;	author raeburn;	state Exp;
branches;
next	1.2;

1.2
date	89.12.28.15.24.32;	author raeburn;	state Exp;
branches;
next	1.1;

1.1
date	89.12.28.15.06.26;	author raeburn;	state Exp;
branches;
next	;

1.22.1.1
date	96.08.18.01.23.09;	author bert;	state Exp;
branches;
next	;

1.26.1.1
date	92.01.07.15.50.02;	author lwvanels;	state Exp;
branches;
next	;


desc
@imakefile for olc daemon
@


1.29
log
@Removed references to InstallAltLoc
@
text
@/*
 * $Source: /mit/olcdev/highlander/src/server/olcd/RCS/Imakefile,v $
 * $Id: Imakefile,v 1.28 1997/02/11 20:22:39 bert Exp bert $
 * Copyright (C) 1991 by the Massachusetts Institute of Technology.
 * For copying and distribution information, see the file "mit-copyright.h".
 */

/*#define Profiling*/

#ifdef Profiling
LIBSUFFIX=_p
EXTRA_LOAD_FLAGS=-pg
#endif


DEFINES		= 	$(PROJECT_DEFS)

SRCS=	backup.c data_utils.c db.c s_io.c log.c olcd.c \
	data.c notify.c utils.c list.c acl_files.c \
	requests_olc.c syslog.c statistics.c motd.c \
	requests_admin.c version.c

OBJS=	backup.o data_utils.o db.o s_io.o log.o olcd.o \
	data.o notify.o utils.o list.o acl_files.o \
	requests_olc.o syslog.o statistics.o motd.o \
	requests_admin.o version.o

LOCAL_LIBRARIES=$(COMMONLIB)

#ifdef Profiling
DEFINES=-DPROFILE
.c.o:
	$(CC) -pg -c $(CFLAGS) $*.c
#else
#endif /* Profiling */

DEPLIBS=$(LOCAL_LIBRARIES)

#if HaveZephyr || HaveKerberos
SYS_LIBRARIES=	$(HesiodLib) $(ZephyrLib) $(ComErrLib) $(KerberosLib) \
		$(misc) $(EXTRA_LIBRARIES)
#else
SYS_LIBRARIES=	$(HesiodLib) $(ZephyrLib) $(KerberosLib) $(misc)\
		$(EXTRA_LIBRARIES)
#endif

olcd:: newvers.sh
	-$(RM) olcd
	sh newvers.sh

version.h::
	sh newvers.sh

NormalProgramTarget(olcd,$(OBJS),$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),$(SYS_LIBRARIES))

SaberProgramTarget(olcd,$(SRCS),$(OBJS),$(LOCAL_LIBRARIES),$(SYS_LIBRARIES))

depend::
	echo "##### Ignore any warnings about version.h not existing"

DependTarget()
LintTarget()

InstallProgram(olcd,$(DESTDIR)/usr/athena/etc)

AllTarget(olcd)
@


1.28
log
@Added changes from OLxx tree
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.27 1992/01/07 20:53:52 lwvanels Exp bert $
a63 1
#ifdef InstallAltLoc
a64 3
#else
InstallProgram(olcd,$(DESTDIR)/usr/etc)
#endif
@


1.27
log
@take out hash.c; not used.
@
text
@d2 2
a3 2
 * $Source: /mit/olcdev/src/server/olcd/RCS/Imakefile,v $
 * $Id: Imakefile,v 1.26 1991/10/31 15:00:13 lwvanels Exp lwvanels $
d16 2
d40 2
a41 1
SYS_LIBRARIES=	$(HesiodLib) $(ZephyrLib) $(ComErrLib) $(KerberosLib) $(misc)
d43 2
a44 1
SYS_LIBRARIES=	$(HesiodLib) $(ZephyrLib) $(KerberosLib) $(misc)
@


1.26
log
@split of version file so that not as much has to be recompiled every
time.
@
text
@d2 2
a3 2
 * $Source: /afs/athena.mit.edu/astaff/project/olcdev/src/server/olcd/RCS/Imakefile,v $
 * $Id: Imakefile,v 1.25 91/09/23 12:42:09 lwvanels Exp Locker: lwvanels $
d19 1
a19 1
	hash.c requests_admin.c version.c
d24 1
a24 1
	hash.o requests_admin.o version.o
@


1.26.1.1
log
@memory re-structuring
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.26 91/10/31 15:00:13 lwvanels Exp Locker: lwvanels $
d19 1
a19 1
	requests_admin.c version.c new_backup.c data_structs.c
d24 1
a24 1
	requests_admin.o version.o new_backup.o data_structs.o
@


1.25
log
@add rule for making version.h
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.24 91/09/23 11:42:29 lwvanels Exp Locker: lwvanels $
d18 2
a19 1
	requests_olc.c requests_admin.c syslog.c statistics.c motd.c
d23 2
a24 1
	requests_olc.o requests_admin.o syslog.o statistics.o motd.o
@


1.24
log
@added explanation about missing version.h on make depend
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.23 91/09/22 11:46:44 lwvanels Exp Locker: lwvanels $
d43 3
@


1.23
log
@use new version numbering scheme, instead of date fork
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.22 91/05/07 22:24:25 lwvanels Rel Locker: lwvanels $
d48 3
@


1.22
log
@alt loc is "new" directory structure
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.21 91/04/18 22:18:58 lwvanels Rel Locker: lwvanels $
d27 1
a27 1
DEFINES=-DPROFILE -DCDATE="\"`date`\""
a30 1
DEFINES=-DCDATE="\"`date`\""
d40 4
@


1.22.1.1
log
@/mit/olcdev/olxx/olta/src/server/olcd/Imakefile, revision 1.23
(archived for historic purposes)
|> date: 1993/04/29 20:14:35;  author: miki;  state: Exp;  lines: +6 -2
|>  work around a gcc bug
@
text
@d2 2
a3 2
 * $Source: /mit/olcdev/olxx/olta/src/server/olcd/RCS/Imakefile,v $
 * $Id: Imakefile,v 1.23 1993/04/29 20:14:35 miki Exp $
a30 3
#ifdef SOLARIS
DEFINES=
#else
a31 1
#endif
@


1.21
log
@fixed copyright
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.20 91/04/10 14:52:17 lwvanels Rel Locker: lwvanels $
d50 1
a50 1
InstallProgram(olcd,/mit/olcdev/@@sys)
@


1.20
log
@remove unused -I.
@
text
@d3 3
a5 1
 * $Id: Imakefile,v 1.19 91/04/08 21:14:43 lwvanels Exp $
@


1.19
log
@move LOG and SYSLOG defs to global site.def
@
text
@d2 2
a3 2
 * $Source: /afs/athena.mit.edu/astaff/project/olcdev/vax/server/olcd/RCS/Imakefile,v $
 * $Id: Imakefile,v 1.18 91/03/29 02:18:15 lwvanels Exp Locker: lwvanels $
a38 2

INCLUDES= -I.
@


1.18
log
@include com_err if zephyr or kerberos
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.17 91/03/28 23:30:55 lwvanels Exp Locker: lwvanels $
d25 1
a25 1
DEFINES=-DLOG -DSYSLOG -DPROFILE -DCDATE="\"`date`\""
d29 1
a29 1
DEFINES=-DLOG -DSYSLOG -DCDATE="\"`date`\""
@


1.17
log
@Only include com_err if zephyr
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.16 91/03/24 18:19:56 lwvanels Exp Locker: lwvanels $
d34 1
a34 1
#if HaveZephyr
@


1.16
log
@fixed install rule
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.15 91/03/06 16:00:15 lwvanels Exp Locker: lwvanels $
d34 1
d36 3
@


1.15
log
@changed io.c to s_io.c to avoid name conflicts
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.14 91/02/01 23:21:00 lwvanels Exp Locker: lwvanels $
d45 1
a45 1
#ifdef TestInstall
@


1.14
log
@added CTIME for compile date
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.13 91/01/18 14:53:19 lwvanels Exp Locker: lwvanels $
d14 1
a14 1
SRCS=	backup.c data_utils.c db.c io.c log.c olcd.c \
d18 1
a18 1
OBJS=	backup.o data_utils.o db.o io.o log.o olcd.o \
@


1.13
log
@test install rules added
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.12 91/01/07 01:47:42 lwvanels Exp Locker: lwvanels $
d25 1
a25 1
DEFINES=-DLOG -DSYSLOG -DPROFILE
d29 1
a29 1
DEFINES=-DLOG -DSYSLOG
@


1.12
log
@removed lumberjack stuff.
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.11 91/01/01 14:11:56 lwvanels Exp Locker: lwvanels $
d44 6
@


1.11
log
@No longer links in dbm
@
text
@d2 2
a3 2
 * $Source: /afs/athena.mit.edu/astaff/project/olcdev/src/server+/RCS/Imakefile,v $
 * $Id: Imakefile,v 1.10 90/12/09 17:25:40 lwvanels Exp $
a6 2
/*#define UseCPlusPlus*/
/*#define NoGCC*/
a12 5
/*
 * Define UseCPlusPlus to use G++ for compiling; otherwise, standard
 * $(CC) is used.  (NoGCC forces /bin/cc instead of the compiler
 * specified in site.def.)
 */
a13 13
#ifdef UseCPlusPlus
/* NOTE:  acl_files.c must be compiled as C code, not C++ */
misc=-lg++

.c.o:
	$(C++) $(C++FLAGS) -c $<
#else
misc=
#ifdef NoGCC
CC=/bin/cc
#endif		/* NoGCC */
#endif		/* UseCPlusPlus */

a21 4
L_SRCS=	lumberjack.c

L_OBJS= lumberjack.o

a38 1
NormalProgramTarget(lumberjack,$(L_OBJS),,,)
a39 3
saber_lumberjack:
	#load $(ALLDEFINES) $(L_SRCS)

d45 1
a45 1
AllTarget(olcd lumberjack)
@


1.10
log
@Added motd.c
@
text
@d2 2
a3 2
 * $Source: /afs/athena.mit.edu/astaff/project/olcdev/vax/server+/RCS/Imakefile,v $
 * $Id: Imakefile,v 1.9 90/08/26 15:48:58 lwvanels Exp Locker: lwvanels $
d58 1
a58 3

SYS_LIBRARIES=	$(HesiodLib) $(DbmLib) $(ZephyrLib) $(ComErrLib) \
		$(KerberosLib) $(misc)
@


1.9
log
@Added profiling
Added saber targets
Removed extra tags target
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.8 90/08/20 04:49:21 lwvanels Exp Locker: lwvanels $
d36 1
a36 1
	requests_olc.c requests_admin.c syslog.c statistics.c
d40 1
a40 1
	requests_olc.o requests_admin.o syslog.o statistics.o
@


1.8
log
@Added saber targets
@
text
@d2 2
a3 2
 * $Source: /afs/athena.mit.edu/astaff/project/olcdev/src/server+/RCS/Imakefile,v $
 * $Id: Imakefile,v 1.7 90/07/16 10:05:44 vanharen Exp $
d6 1
d10 5
d47 6
d54 2
d65 5
d71 1
a71 2
NormalProgramTarget(lumberjack,$(L_OBJS),,,)
SaberProgramTarget(lumberjack,$(L_SRCS),$(L_OBJS),,)
a73 1
TagsTarget()
@


1.7
log
@added lumberjack to build.
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.6 90/03/01 18:22:33 vanharen Exp $
d51 1
a51 1

d53 1
a53 1

@


1.6
log
@Added new file(s) statistics.{c,o} which generates some simple statistic
of server usage.
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.5 90/01/16 05:31:10 raeburn Exp Locker: vanharen $
d36 4
d52 2
d58 1
a58 1
AllTarget(olcd)
@


1.5
log
@Added new file syslog.{c,o}; added new macro NoGCC which forces use of
/bin/cc; made UseCPlusPlus not default; replaced -DTEST and -DOLZ with
-DSYSLOG.
@
text
@d2 2
a3 2
 * $Source: /mit/olcdev/src/server+/RCS/Imakefile,v $
 * $Id: Imakefile,v 1.4 90/01/04 14:59:59 raeburn Exp Locker: raeburn $
d30 1
a30 1
	requests_olc.c requests_admin.c syslog.c
d34 1
a34 1
	requests_olc.o requests_admin.o syslog.o
@


1.4
log
@simplified C++ rule
@
text
@d3 1
a3 1
 * $Id: Imakefile,v 1.3 90/01/03 23:24:02 raeburn Exp Locker: raeburn $
d6 2
a7 1
#define UseCPlusPlus
d10 3
a12 2
 * Define the above symbol to use G++ for compiling; otherwise, standard
 * $(CC) is used.
d16 1
d23 4
a26 1
#endif
d30 1
a30 1
	requests_olc.c requests_admin.c
d34 1
a34 1
	requests_olc.o requests_admin.o
d37 1
a37 1
DEFINES=-DLOG -DTEST -DOLZ
@


1.3
log
@RCS headers and changes to permit building as C++.
@
text
@d2 2
a3 2
 * $Source$
 * $Id$
d17 1
a17 3
	@@rm -f $@@ $<c
	ln -s $< $<c
	$(C++) $(C++FLAGS) -c $<c
@


1.2
log
@Use current directory for olcd.h rather than ../include.
@
text
@d1 23
d25 1
a25 1
	data.c notify.c utils.c list.c  acl_files.c   \
d36 3
a38 1
SYS_LIBRARIES=	$(HesiodLib) $(DbmLib) $(ZephyrLib) $(ComErrLib) $(KerberosLib)
@


1.1
log
@Initial revision
@
text
@d15 1
a15 1
INCLUDES= -I../include
@
