Link with C++ linker
[oweals/cde.git] / cde / programs / dtpad / Imakefile
1 XCOMM $XConsortium: Imakefile /main/11 1996/09/14 15:16:29 drk $
2
3 DEFINES = -DDT_LITE -DWORDWRAP -UNLS16
4
5 DEPLIBS = DepDtClientLibs
6 LOCAL_LIBRARIES = DtClientLibs
7 SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
8
9 #if defined (SunArchitecture)
10    EXTRA_CCOPTIONS = -xF
11 #   LOCAL_LDFLAGS = -M mapfile.reorder
12 #endif
13
14 XCOMM On Linux once you link against a C++ library the whole program 
15 XCOMM has to be linked with the C++ linker
16 #if defined(LinuxDistribution)
17 CCLINK = $(CXX)
18 #endif
19
20 SRCS = \
21         dtpad.c         editCB.c        fileCB.c \
22         fileDlg.c       fileIo.c        formatCB.c \
23         helpCB.c        helpDlg.c       main.c \
24         optionsCB.c     printJob.c      printOutput.c \
25         printSetup.c    session.c       ttMsgSupport.c \
26         ttSaveSupport.c version.c
27
28 OBJS = \
29         dtpad.o         editCB.o        fileCB.o \
30         fileDlg.o       fileIo.o        formatCB.o \
31         helpCB.o        helpDlg.o       main.o \
32         optionsCB.o     printJob.o      printOutput.o \
33         printSetup.o    session.o       ttMsgSupport.o \
34         ttSaveSupport.o version.o
35
36 ComplexProgramTarget(dtpad)
37
38 AllTarget(Dtpad)