Use C++ linker
[oweals/cde.git] / cde / programs / dtexec / Imakefile
1 XCOMM $XConsortium: Imakefile /main/7 1996/09/14 15:17:32 drk $
2
3 DEPLIBS = $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
4 LOCAL_LIBRARIES = $(TTLIB) $(XTOOLLIB) $(XLIB)
5 DEFINES = -DMSGLOG_CLIENT_ONLY
6 INCLUDES = -I. 
7
8 XCOMM On Linux once you link against a C++ library the whole program
9 XCOMM has to be linked with the C++ linker
10 #if defined(LinuxDistribution)
11 CCLINK = $(CXX)
12 #endif
13
14 SRCS = DtGetMessage.c Main.c MsgLog.c Version.c
15 OBJS = DtGetMessage.o Main.o MsgLog.o Version.o
16
17 ComplexProgramTarget(dtexec)
18
19 LinkSourceFile(DtSvcLock.h,$(DTSVCSRC)/include)
20 LinkSourceFile(MsgLog.c,$(DTSVCSRC)/DtUtil2)
21 LinkSourceFile(DtGetMessage.c,$(DTSVCSRC)/DtUtil2)