Link with C++ linker
[oweals/cde.git] / cde / programs / dthello / Imakefile
1 XCOMM $XConsortium: Imakefile /main/8 1996/10/09 14:04:24 drk $
2
3        INCLUDES = -I.
4         DEPLIBS = $(DEPXTOOLLIB) $(DEPXLIB)
5 LOCAL_LIBRARIES = $(XTOOLLIB) $(XLIB)
6   SYS_LIBRARIES = -lm
7
8
9 #ifdef HPArchitecture
10 EXTRA_DEFINES = -DHP_COLOR
11 #endif
12
13 #if defined(SunArchitecture)
14 SYS_LIBRARIES = -lm -ldl -lgen -lC
15 #endif
16
17 #if defined(USLArchitecture)
18 /* needed to turn off unresolved symbol detection for shlibs */
19 #if HasSharedLibraries
20 EXTRA_LOAD_FLAGS = -z nodefs
21 #endif
22 SYS_LIBRARIES = -lm -ldl -lgen
23 #endif
24
25 #if defined(UXPArchitecture)
26 /* needed to turn off unresolved symbol detection for shlibs */
27 #if HasSharedLibraries
28 EXTRA_LOAD_FLAGS = -z nodefs
29 #endif
30 SYS_LIBRARIES = -lm -ldl -lgen
31 #endif
32
33    SRCS1 = dthello.c version.c
34    SRCS = $(SRCS1)
35    OBJS = dthello.o version.o  \
36           $(CDELIBSRC)/DtSvc/DtUtil2/EnvControl.o \
37           $(CDELIBSRC)/DtSvc/DtUtil2/DtNlUtils.o \
38           $(CDELIBSRC)/DtSvc/DtUtil2/GetDispRes.o
39
40 ComplexProgramTarget(dthello)
41
42 CppSourceFile(Dthello,Dthello.src,,)