# 
#  Copyright (C) 1992 by Gustaf Neumann, Stefan Nusser
# 
#       Wirtschaftsuniversitaet Wien,
#       Abteilung fuer Wirtschaftsinformatik
#       Augasse 2-6,
#       A-1090 Vienna, Austria
#       neumann@wu-wien.ac.at, nusser@wu-wien.ac.at
# 
#  Permission to use, copy, modify, and distribute this software and its
#  documentation for any purpose and without fee is hereby granted, provided
#  that the above copyright notice appears in all copies and that both that
#  copyright notice and this permission notice appear in all supporting
#  documentation.  This software is provided "as is" without expressed or
#  implied warranty.
# 
#  Date: Mon, Apr 13 1992
#  Author: Gustaf Neumann
#  Version: 0.9
# 

/**/# uncomment the following line if you have no write permission in the 
/**/# default BINDIR (usually /usr/bin/X11)
/**/# BINDIR=${HOME}/bin

/**/# if you have no socketpair on your system, and you have SYS V streams,
/**/# uncomment the following line (not tested yet)
/**/# COMPAT_DEFINES = -DSTREAMS

#define DEBUG
#define XPM

CDEBUGFLAGS= -g

TCL_INCLUDES  = -I../tcl6.2
TCL_LDFLAGS   = -L../tcl6.2
TCL_LIBRARY   = -ltcl

#ifdef DEBUG
DBUG_LDFLAGS  = -L../dbug
DBUG_LIBRARY  = -ldbug
#else
DBUG_DEFINES  = -DDBUG_OFF
#endif
DBUG_INCLUDES = -I../dbug

#ifdef XPM
XPM_INCLUDES  = -I../xpm-3.1
XPM_LDFLAGS   = -L../xpm-3.1
XPM_LIBRARY   = -lXpm
XPM_DEFINES   = -DXPM
#endif

INCLUDES        = ${XPM_INCLUDES} ${TCL_INCLUDES} ${DBUG_INCLUDES}
EXTRA_LIBRARIES = ${TCL_LIBRARY} ${DBUG_LIBRARY}
LOCAL_LDFLAGS   = ${XPM_LDFLAGS} ${TCL_LDFLAGS} ${DBUG_LDFLAGS}
LOCAL_LIBRARIES = ${XPM_LIBRARY} XawClientLibs

#if (ProjectX < 5)
STD_DEFINES = LibraryDefines
CDEBUGFLAGS = LibraryCDebugFlags
LDOPTIONS = ${LOCAL_LDFLAGS}
VERSIONDEFINES = -DPRER5
#endif

DEFINES = ${VERSIONDEFINES} ${XPM_DEFINES} ${DBUG_DEFINES} ${COMPAT_DEFINES}

SRCS = wafe.c athenaW.c converters.c selection.c \
	scrollbar.c stripChart.c list.c \
	asciiText.c handlers.c basic.c actionsCB.c \
	XawGen.c XtGen.c

OBJS = wafe.o athenaW.o converters.o selection.o \
	scrollbar.o stripChart.o list.o \
	asciiText.o handlers.o basic.o actionsCB.o \
	XawGen.o XtGen.o

ComplexProgramTarget(wafe)

