head     1.10;
branch   ;
access   ;
symbols  ATH7_4:1.9 ATH7_6:1.9;
locks    ; strict;
comment  @# @;


1.10
date     96.03.19.12.17.58;  author warlord;  state Exp;
branches ;
next     1.9;

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

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

1.7
date     91.03.14.16.07.43;  author lwvanels;  state Exp;
branches ;
next     1.6;

1.6
date     91.03.13.09.39.08;  author lwvanels;  state Exp;
branches ;
next     1.5;

1.5
date     91.02.12.14.40.32;  author lwvanels;  state Exp;
branches ;
next     1.4;

1.4
date     91.02.05.13.40.56;  author lwvanels;  state Exp;
branches ;
next     1.3;

1.3
date     90.12.06.09.21.02;  author lwvanels;  state Exp;
branches ;
next     1.2;

1.2
date     90.09.16.19.54.49;  author lwvanels;  state Exp;
branches ;
next     1.1;

1.1
date     90.09.09.13.45.04;  author lwvanels;  state Exp;
branches ;
next     ;


desc
@Imakefile for curses OLH
@


1.10
log
@added -lbsd for Linux
@
text
@/*
 * This file is part of the OLH system.
 *
 *      Lucien Van Elsen
 *	MIT Project Athena
 *
 * Copyright (C) 1990 by the Massachusetts Institute of Technology.
 * For copying and distribution information, see the file "mit-copyright.h".
 *
 *	$Source: /mit/sipb-athena/src/olh/ascii/RCS/Imakefile,v $
 *	$Id: Imakefile,v 1.9 91/06/30 20:19:54 lwvanels Exp Locker: warlord $
 *	$Author: lwvanels $
 */

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

SRCS=	curses.c get_keyword.c get_number.c get_token.c help.c hooks.c \
	interrupt.c main.c menupath.c olc.c screen.c suggest.c \
	view.c context.c info.c copy.c print.c keyword.c

OBJS=	curses.o get_keyword.o get_number.o get_token.o help.o hooks.o \
	interrupt.o main.o menupath.o olc.o screen.o suggest.o \
	view.o context.o info.o copy.o print.o keyword.o

A_SRCS= anykey.c

A_OBJS= anykey.o

#if DoUsageLog
LOCAL_LIBRARIES=$(MenuLib) $(LOGGERLIB)
#else
LOCAL_LIBRARIES=$(MenuLib)
#endif

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

#ifdef linux
LinuxLibs=	-lbsd
#else
LinuxLibs=
#endif

DEFINES = $(P_DEFINES)

DEPLIBS=$(LOCAL_LIBRARIES)

SYS_LIBRARIES=		$(ComErrLib) $(CursesLib) $(HesiodLib)
A_SYS_LIBRARIES= 	$(TermcapLib) $(LinuxLibs)

INCLUDES= -I.

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

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

NormalProgramTarget(anykey,$(A_OBJS),,,$(A_SYS_LIBRARIES))

SaberProgramTarget(anykey,$(A_SRCS),$(A_OBJS),,$(A_SYS_LIBRARIES))

DependTarget()
LintTarget()

#ifdef InstallAltLoc
InstallProgram(olh_ascii,$(DESTDIR)/usr/athena/bin)
#else
InstallProgram(olh_ascii,$(DESTDIR)/usr/athena)
#endif

AllTarget(olh_ascii anykey)
@


1.9
log
@fixed install rule
@
text
@d10 2
a11 2
 *	$Source: /afs/athena.mit.edu/astaff/project/olhdev/src/ascii/RCS/Imakefile,v $
 *	$Id: Imakefile,v 1.8 91/04/23 12:25:23 lwvanels Exp Locker: lwvanels $
d46 6
d57 1
a57 1
A_SYS_LIBRARIES= 	$(TermcapLib)
@


1.8
log
@new-style logging; fixed includes
@
text
@d10 2
a11 2
 *	$Source: /afs/athena.mit.edu/astaff/project/olhdev/vax/ascii/RCS/Imakefile,v $
 *	$Id: Imakefile,v 1.7 91/03/14 16:07:43 lwvanels Exp Locker: lwvanels $
d65 6
@


1.7
log
@Added keyword.c,o
@
text
@d11 1
a11 1
 *	$Id: Imakefile,v 1.6 91/03/13 09:39:08 lwvanels Exp Locker: lwvanels $
a14 4
/*#define Profiling*/
/*#define NoGCC*/
/*#define Logging*/

a19 4
#ifdef NoGCC
CC=/bin/cc
#endif		/* NoGCC */

d32 3
d36 1
d46 1
a46 5
#ifdef Logging
L_DEFINES= -DLOGGING
#else
L_DEFINES=
#endif /* Logging */
a47 2
DEFINES = $(P_DEFINES) $(L_DEFINES)

d53 1
a53 1
INCLUDES= -I. -I$(INCROOT)
@


1.6
log
@ifdef'd logging
@
text
@d11 1
a11 1
 *	$Id: Imakefile,v 1.5 91/02/12 14:40:32 lwvanels Exp Locker: lwvanels $
d30 1
a30 1
	view.c context.c info.c copy.c print.c
d34 1
a34 1
	view.o context.o info.o copy.o print.o
@


1.5
log
@get rid of mkstemp
@
text
@d10 2
a11 2
 *	$Source: /afs/athena.mit.edu/astaff/project/olhdev/decmips/ascii/RCS/Imakefile,v $
 *	$Id: Imakefile,v 1.4 91/02/05 13:40:56 lwvanels Exp Locker: lwvanels $
d17 1
d43 1
a43 1
DEFINES= -DPROFILE
d47 1
a47 1
DEFINES=
d49 8
@


1.4
log
@Added anykey, new files (content, info, copy, print)
@
text
@d10 2
a11 2
 *	$Source: /afs/athena.mit.edu/astaff/project/olhdev/vax/ascii/RCS/Imakefile,v $
 *	$Id: Imakefile,v 1.3 90/12/06 09:21:02 lwvanels Exp Locker: lwvanels $
d28 1
a28 1
	interrupt.c main.c menupath.c mkstemp.c olc.c screen.c suggest.c \
d32 1
a32 1
	interrupt.o main.o menupath.o mkstemp.o olc.o screen.o suggest.o \
@


1.3
log
@Program is now olh_ascii, not olh_curses
@
text
@d10 2
a11 2
 *	$Source: /afs/athena.mit.edu/astaff/project/olhdev/vax/curses/RCS/Imakefile,v $
 *	$Id: Imakefile,v 1.3 90/12/06 09:15:06 lwvanels Exp $
d29 1
a29 1
	view.c
d33 1
a33 1
	view.o
d35 4
d51 2
a53 2
SYS_LIBRARIES=	$(ComErrLib) $(CursesLib)

d60 4
d67 1
a67 1
AllTarget(olh_ascii)
@


1.2
log
@fixed includes
@
text
@d11 1
a11 1
 *	$Id: Imakefile,v 1.1 90/09/09 13:45:04 lwvanels Exp Locker: lwvanels $
d52 1
a52 1
NormalProgramTarget(olh_curses,$(OBJS),$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),$(SYS_LIBRARIES))
d54 1
a54 1
SaberProgramTarget(olh_curses,$(SRCS),$(OBJS),$(LOCAL_LIBRARIES),$(SYS_LIBRARIES))
d59 1
a59 1
AllTarget(olh_curses)
@


1.1
log
@Initial revision
@
text
@d10 3
a12 3
 *	$Source:$
 *	$Id:$
 *	$Author:$
d50 1
a50 1
INCLUDES= -I.
@
