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


1.2
date	95.03.08.01.31.44;	author svalente;	state Exp;
branches;
next	1.1;

1.1
date	94.09.03.08.14.25;	author svalente;	state Exp;
branches;
next	;


desc
@Imakefile
@


1.2
log
@Changed some whitespace.  Some versions of "make" are picky about tabs.
@
text
@/*
 *  Imakefile for Athena Dashboard
 *  Copyright (c) 1991, Massachusetts Institute of Technology
 *		
 *   $Source: /afs/sipb/project/sipb-athena/dash/lib/RCS/Imakefile,v $
 *   $Author: svalente $ 
 *
 * Copyright 1990, 1991 by the Massachusetts Institute of Technology. 
 *
 * For copying and distribution information, please see the file
 * <mit-copyright.h>. 
 *
 */

#include "../Xj.defs"

#include "mit-copyright.h"

SINTABLE	=	sintable

#if defined(HaveShapeExtension)
SHAPE_DEF	=	-DSHAPE
#else /* HaveShapeExtension */
SHAPE_DEF	=
#endif

#if defined(AIXArchitecture) || defined(NeedStrcasecmp)
STRCASEOBJS	=	strcasecmp.o
STRCASE_C	=	strcasecmp.c
#else
STRCASEOBJS	=
STRCASE_C	=
#endif

#if defined(RtArchitecture) \
  || (defined(VaxArchitecture) && !defined(UltrixArchitecture)) \
  || defined(NeedVsprintf)
VSPRINTFOBJS	=	vsprintf.o
VSPRINTF_C	=	vsprintf.c
#else
VSPRINTFOBJS	=
VSPRINTF_C	=
#endif

STR_OBJS	=	StrToBool.o StrToDirect.o StrToJust.o \
			StrToOrient.o StrToPixmap.o StrToXColor.o \
			StrToXFont.o
STR_C		=	StrToBool.c StrToDirect.c StrToJust.c \
			StrToOrient.c StrToPixmap.c StrToXColor.c \
			StrToXFont.c

LABEL_OBJS	=	Label.o
LABEL_SRCS	=	Label.c
LABEL_HDRS	=	Label.h
NLABEL_OBJS	=	NLabel.o SmplLabel.o
NLABEL_SRCS	=	NLabel.c SmplLabel.c
NLABEL_HDRS	=	NLabel.h SmplLabel.h

L_OBJS		=	${LABEL_OBJS}
L_SRCS		=	${LABEL_SRCS}
L_HDRS		=	${LABEL_HDRS}

OBJS		=	AClock.o Arrow.o Button.o DClock.o Drawing.o \
			Form.o Jets.o ${L_OBJS} Menu.o ScrollBar.o \
			TextDisplay.o Tree.o Window.o \
			hash.o registerCB.o xselect.o warn.o \
			VaCreateJet.o \
			${STR_OBJS} ${VSPRINTFOBJS} ${STRCASEOBJS}
SRCS		=	AClock.c Arrow.c Button.c DClock.c Drawing.c \
			Form.c Jets.c ${L_SRCS} Menu.c ScrollBar.c \
			TextDisplay.c Tree.c Window.c \
			hash.c registerCB.c xselect.c warn.c \
			VaCreateJet.c \
			${STR_C} ${VSPRINTF_C} ${STRCASE_C}
HEADERS		=	AClock.h Arrow.h Button.h DClock.h Drawing.h \
			Form.h Jets.h ${L_HDRS} Menu.h ScrollBar.h \
			TextDisplay.h Tree.h Window.h \
			hash.h xselect.h warn.h

SIN_OBJS	=	sintable.o

NOTUSED		=	Icon.c StripChart.c get_load.c get_cpu.c List.c

SIN_LIBS	=	-lm

DEFINES		=	${G_DEFINES} ${SHAPE_DEF} \
			-DAPPDEFDIR=\"${XJ_APP_DIR}\" \
			-DBITMAPDIR=\"${XJ_XBM_DIR}\"



all::	sintable.h

NormalLibraryTarget(Xj,${OBJS})
#if defined(InstallXj)
InstallLibrary(Xj,${DESTDIR}${XJ_LIB_DIR})
#endif

#if defined(InstallXj)
MakeDirectories(install,$(DESTDIR)$(XJ_INC_DIR)/Xj)
InstallMultiple($(HEADERS),$(DESTDIR)$(XJ_INC_DIR)/Xj)
#endif


NormalProgramTarget(${SINTABLE},${SIN_OBJS},,,${SIN_LIBS})

depend:: sintable.h

DependTarget()

sintable.h: ${SINTABLE}
	${RM} $@@
	./${SINTABLE} > $@@

clean::
	${RM} sintable.h
	${RM} strings
	${RM} x.c

/* .c.o:
 *	${CC} ${CFLAGS} -E $*.c | xstr -c -
 *	${CC} ${CFLAGS} -c x.c
 *	mv x.o $*.o
 *	${RM} x.c
 *
 *xs.o:
 *	xstr
 *	${CC} ${CFLAGS} -c xs.c
 */
@


1.1
log
@Initial revision
@
text
@d5 2
a6 2
 *   $Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/athena.bin/dash/src/lib/RCS/Imakefile,v $
 *   $Author: cfields $ 
d65 1
a65 1
			TextDisplay.o Tree.o Window.o \ 
d71 1
a71 1
			TextDisplay.c Tree.c Window.c \ 
@
