head	1.13;
access;
symbols
	ATH7_4:1.12
	ATH7_6:1.12;
locks; strict;
comment	@# @;


1.13
date	96.06.01.19.41.05;	author yoav;	state Exp;
branches;
next	1.12;

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

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

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

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

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

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

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

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

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

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

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

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


desc
@Imakefile for libmenu directory
@


1.13
log
@support NetBSD
@
text
@# Imakefile for libmenu
#
# $ID: $
# $Source: /afs/sipb/project/sipb-athena/olh/libmenu/RCS/Imakefile,v $
#

/* #define Profiling */

#if HasStrcasecmp
SRCS= menu_et.c plaintext.c menu.c menu_file.c dirhook_file.c \
      pointer.c colons.c fields.c attach.c viewer.c menu_alloc.c \
      hash.c
#else
SRCS= menu_et.c plaintext.c menu.c menu_file.c dirhook_file.c \
      pointer.c colons.c fields.c attach.c viewer.c menu_alloc.c \
      hash.c strcasecmp.c
#endif

#if HasStrcasecmp
OBJS= menu_et.o plaintext.o menu.o menu_file.o dirhook_file.o \
      pointer.o colons.o fields.o attach.o viewer.o menu_alloc.o \
      hash.o
#else
OBJS= menu_et.o plaintext.o menu.o menu_file.o dirhook_file.o \
      pointer.o colons.o fields.o attach.o viewer.o menu_alloc.o \
      hash.o strcasecmp.o
#endif

LIBDIR = /mit/olhdev/`machtype`lib

#ifdef Profiling
P_DEFINES= -DPROFILE
#else
P_DEFINES=
#endif /* Profiling */

DEFINES = $(P_DEFINES)

.SUFFIXES: .et .o

.et.c:
	rm -f $*.o $*.c
	compile_et $*.et
	rm -f $(INCROOT)/$*.h
	cp $*.h $(INCROOT)

menu_et.o:: menu_et.c
depend:: menu_et.c

#ifdef Profiling
all::
	-if [ ! -d profiled ]; \
		then mkdir profiled; \
		else exit 0; fi
#endif

NormalLibraryTarget(menu,$(OBJS))
SaberLibraryTarget(menu,$(SRCS),$(OBJS))

#ifdef Profiling
ProfiledLibraryObjectRule()
ProfiledLibraryTarget(menu,$(OBJS))
#endif
@


1.12
log
@got rid of include rules; use from build tree
@
text
@d4 1
a4 1
# $Source: /afs/athena.mit.edu/astaff/project/olhdev/src/libmenu/RCS/Imakefile,v $
d47 2
a48 2
menu_et.o: menu_et.c
depend: menu_et.c
a63 5

LintTarget()
DependTarget()


@


1.11
log
@don't move menu_et out the way, only copy it over.
@
text
@d48 1
a62 5
#endif

InstallLibrary(menu,$(LIBDIR))
#ifdef Profiling
InstallLibrary(menu_p,$(LIBDIR))
@


1.10
log
@removed special alloc (doesn't work on RT,
	other speed ups more important)
@
text
@d45 1
a45 1
	mv $*.h $(INCROOT)
@


1.9
log
@added alloc.c; create profiled directory when building profiled
@
text
@d10 1
a10 1
SRCS= alloc.c menu_et.c plaintext.c menu.c menu_file.c dirhook_file.c \
d14 1
a14 1
SRCS= alloc.o menu_et.c plaintext.c menu.c menu_file.c dirhook_file.c \
d20 1
a20 1
OBJS= alloc.o menu_et.o plaintext.o menu.o menu_file.o dirhook_file.o \
d24 1
a24 1
OBJS= alloc.o menu_et.o plaintext.o menu.o menu_file.o dirhook_file.o \
@


1.8
log
@ new style logging support
	  only include strcasecmp when necessary
@
text
@d4 1
a4 1
# $Source: /afs/athena.mit.edu/astaff/project/olhdev/vax/libmenu/RCS/Imakefile,v $
d10 1
a10 1
SRCS= menu_et.c plaintext.c menu.c menu_file.c dirhook_file.c \
d14 1
a14 1
SRCS= menu_et.c plaintext.c menu.c menu_file.c dirhook_file.c \
d20 1
a20 1
OBJS= menu_et.o plaintext.o menu.o menu_file.o dirhook_file.o \
d24 1
a24 1
OBJS= menu_et.o plaintext.o menu.o menu_file.o dirhook_file.o \
d48 7
@


1.7
log
@ifdef'd logging
@
text
@a7 1
/* #define Logging */
d9 1
d12 6
a17 1
      strcasecmp.c hash.c log.c
d19 1
d22 6
a27 1
      strcasecmp.o hash.o log.o
d37 1
a37 5
#ifdef Logging
L_DEFINES= -DLOGGING
#else
L_DEFINES=
#endif /* Logging */
a38 2
DEFINES = $(P_DEFINES) $(L_DEFINES)

d64 2
@


1.6
log
@Added log.{c,o}
@
text
@d8 1
d19 14
@


1.5
log
@Added hash.c
@
text
@d4 1
a4 1
# $Source: /afs/athena.mit.edu/astaff/project/olhdev/src/libmenu/RCS/Imakefile,v $
d11 1
a11 1
      strcasecmp.c hash.c
d15 1
a15 1
      strcasecmp.o hash.o
@


1.4
log
@strcasecmp & no profiling
@
text
@d4 1
a4 1
# $Source: /afs/athena.mit.edu/astaff/project/olhdev/ps2/libmenu/RCS/Imakefile,v $
d11 1
a11 1
      strcasecmp.c
d15 1
a15 1
      strcasecmp.o
@


1.3
log
@Added Saber Library target
@
text
@d4 1
a4 1
# $Source: /afs/athena.mit.edu/astaff/project/olhdev/vax/libmenu/RCS/Imakefile,v $
d7 1
a7 1
#define Profiling
d10 2
a11 1
      pointer.c colons.c fields.c attach.c viewer.c menu_alloc.c
d14 2
a15 1
      pointer.o colons.o fields.o attach.o viewer.o menu_alloc.o
@


1.2
log
@Added Profiling
added install rules
@
text
@d28 2
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
# $Source: $
d7 2
d15 1
d28 10
@
