XCOMM $XConsortium: Imakefile /main/10 1996/12/31 17:11:33 ray $
XCOMM 

#if defined(SunArchitecture)
#define DoNormalLib YES
#define DoSharedLib NO
#else
#define DoNormalLib NormalLibXa
#define DoSharedLib SharedLibXa
#endif

#define DoDebugLib DebugLibXa
#define DoProfileLib ProfileLibXa
#define LibName dia
#define LibHeaders NO

SRCS =	buffer.cc	\
	classes.cc	\
	clientconn.cc	\
	config.cc	\
	connectors.cc	\
	device.cc	\
	element.cc	\
	intbuffer.cc	\
	key.cc		\
	port.cc		\
	ringbuffer.cc	\
 	scheduler.cc    \
	tagrange.cc     \
	transbuffs.cc	\
	mix_a.c		\
	mix_u.c		\
	table_a.c	\
	table_u.c

OBJS =	buffer.o	\
	classes.o	\
	clientconn.o	\
	config.o	\
	connectors.o	\
	device.o	\
	element.o	\
	intbuffer.o	\
	key.o		\
	port.o		\
	ringbuffer.o	\
	scheduler.o     \
	tagrange.o 	\
	transbuffs.o	\
	mix_a.o		\
	mix_u.o		\
	table_a.o	\
	table_u.o

INCLUDES=-I$(BUILDINCDIR) -I$(LIBSRC)/Xa -I$(LIBSRC)

#define CplusplusSource

#include <Library.tmpl>

XCOMM because of the way shared libraries behave we want to make
XCOMM sure that we get all the object files that are in dia.  Otherwise
XCOMM we get unresolved symbols when we dlopen the devices.
XCOMM This isn't a fix but a workaround until we can fix the entire tree
#if defined(SunArchitecture)
NormalRelocatableTarget(dia, $(OBJS))
#endif

DependTarget()
