Link with C++ linker
[oweals/cde.git] / cde / programs / dtimsstart / Imakefile
1 XCOMM $XConsortium: Imakefile /main/8 1996/04/21 19:55:32 drk $
2
3 DEFINES =  -DNLS
4 INCLUDES = -I. -I$(CDELIBSRC)
5
6 #if defined (SunArchitecture)
7 DEPLIBS = $(DEPDTSVCLIB) $(DEPTTLIB) \
8                   $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXPLIB) $(DEPXLIB)
9 LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) \
10                   $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB)
11 #else
12 DEPLIBS = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB) \
13                   $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXPLIB) $(DEPXLIB)
14 LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) \
15                   $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB)
16 #endif /* SunArchitecture */
17
18 SYS_LIBRARIES = DtClientSysLibs
19
20 #if defined (SunArchitecture)
21 EXTRA_CCOPTIONS = -xF
22 #endif
23  
24 #if defined (RsArchitecture)
25 EXTRA_DEFINES = -DANSICPP
26 #endif /* RsArchitecture */
27
28 XCOMM On Linux once you link against a C++ library the whole program
29 XCOMM has to be linked with the C++ linker
30 #if defined(LinuxDistribution)
31 CCLINK = $(CXX)
32 #endif
33
34 PROGRAMS=dtimsstart 
35
36 SRCS =  action.c        env.c           file.c \
37         main.c          remote.c        select.c \
38         start.c         util.c          win.c
39
40 OBJS =  action.o        env.o           file.o \
41         main.o          remote.o        select.o \
42         start.o         util.o          win.o
43
44 ComplexProgramTarget($(PROGRAMS))