Link with C++ linker
[oweals/cde.git] / cde / programs / dtpdm / Imakefile
1 XCOMM $XConsortium: Imakefile /main/7 1996/10/09 14:13:27 drk $
2
3 /* General case INCLUDES DEFINES LOCAL_LIBRARIES
4  * Each individual architecture may have more or less of the above.
5  * USE_libraryname in LOCAL_LIBRARIES is by default empty.
6  * It should be set when necessary to the real library macro name.
7  */
8 DEFINES = -DXK_MISCELLANY -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" -DI18N_MSG
9 INCLUDES = -I.
10
11 /* DEPLIBS contains the list of library depencies for a client.
12  * LOCAL_LIBRARIES contains the list of libraries on the link line.
13  * Generally, the dependency form of a library has DEP as a prefix.
14  * e.g. put $(XLIB) in LOCAL_LIBRARIES and $(DEPXLIB) in DEPLIBS.
15  * NOTE: if DEPLIBS is not set here, it is by default null and there
16  *       are no library dependencies for clients.
17  *       You cannot put -Llibpath into DEPLIBS. You must put actual
18  *       paths to the library.
19  */
20 DEPLIBS = DepDtClientLibs
21 LOCAL_LIBRARIES = DtClientLibs
22 SYS_LIBRARIES   = DtClientSysLibs DtClientExtraLibs
23
24 #ifdef RsArchitecture
25 SYS_LIBRARIES = -lmsaa -liconv
26 #endif
27
28 #if defined (SunArchitecture)
29 SYS_LIBRARIES = -lintl -L/opt/SUNWspro/SC2.0.1 -lm -lgen -ldl -lC
30 #endif
31
32 PROGRAMS = dtpdm
33
34 SRCS =  JobBox.c        Main.c          MainWindow.c \
35         PdmMsgs.c       PdmOid.c        PdmXp.c \
36         PrinterBox.c
37
38 OBJS =  JobBox.o        Main.o          MainWindow.o \
39         PdmMsgs.o       PdmOid.o        PdmXp.o \
40         PrinterBox.o
41
42 ComplexProgramTarget($(PROGRAMS))
43