/* this version of tclXtSend is based on tk3.2 */

CC = gcc

/* for debugging the library, set these
CDEBUGFLAGS = -g -DDEBUG -DDONT_GRAB_SERVER
*/
CDEBUGFLAGS =

TCL_INCLUDE= /usrs
MOTIF_INCLUDE= /usr/local/include

/* what type of libraries do you want? */
#define DoNormalLib YES
#define DoSharedLib NO

#include <Library.tmpl>

INCLUDES = -I$(TCL_INCLUDE) -I$(MOTIF_INCLUDE)

OBJS = tclXtSend.o

SRCS = tclXtSend.c

#if DoNormalLib
NormalLibraryObjectRule()
NormalLibraryTarget(tclXtSend,$(OBJS))
InstallLibrary(tclXtSend,$(USRLIBDIR))
#endif

#if DoSharedLib
#if DoNormalLib
SharedLibraryTarget(tclXtSend,1.1,$(OBJS),shared,.)
#else
SharedLibraryTarget(tclXtSend,1.1,$(OBJS),.,.)
#endif
InstallSharedLibrary(tclXtSend, 1.1, $(USRLIBDIR))
#endif

/*
DependTarget()
*/

MANDIR = $(LIBMANDIR)
MANSUFFIX = $(LIBMANSUFFIX)

InstallManPage(tclXtSend,$(MANDIR))
