1 XCOMM $TOG: Imakefile /main/19 1998/04/09 11:46:13 mgreess $
3 #include <Threads.tmpl>
5 INCLUDES = -I. -I$(CSASRC) -I../libDtCmP -I$(DTHELPSRC)
6 SYS_LIBRARIES = -lm $(ICONVSYSLIB)
7 DTCMPLIB = ../libDtCmP/libDtCmP.a
9 DEPLIBS = $(DEPCSALIB) DepDtClientLibs
10 LOCAL_LIBRARIES = ../libDtCmP/libDtCmP.a $(CSALIB) DtClientLibs
11 SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
13 OSMAJORVERSION = OSMajorVersion
14 OSMINORVERSION = OSMinorVersion
15 DEFINES = -DSVR4 -DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" \
16 -DRELMAJOR="$(OSMAJORVERSION)" -DRELMINOR="$(OSMINORVERSION)" \
19 #if defined(RsArchitecture) || defined(USLArchitecture) || defined(UXPArchitecture) || defined(LinuxArchitecture)
20 TTY_LIBRARIES = $(LOCAL_LIBRARIES)
21 #elif defined(AlphaArchitecture)
22 TTY_LIBRARIES = $(DTCMPLIB) $(CSALIB) $(DTSVCLIB) $(XTOOLLIB) $(XLIB)
24 TTY_LIBRARIES = $(DTCMPLIB) $(CSALIB) $(DTSVCLIB)
28 EXTRA_LIBRARIES = -lrpcsvc -lPW -ldiag
32 EXTRA_LIBRARIES = -lrpcsvc -lV3
35 #ifdef SunArchitecture
36 XCOMM Uncomment to build using Federated Naming Services. To activate
37 XCOMM you must set the UseFNS resource to True before runnin dtcm.
41 EXTRA_DEFINES = -DFNS -DPOSIX_THREADS -DSunOS=$(OSMAJORVERSION)$(OSMINORVERSION)
43 EXTRA_DEFINES = -DSunOS=$(OSMAJORVERSION)$(OSMINORVERSION)
46 EXTRA_CCOPTIONS = -xstrconst -Xc -v
47 EXTRA_LIBRARIES = $(FNS_EXTRA_LIBS)
50 XCOMM On Linux once you link against a C++ library the whole program
51 XCOMM has to be linked with the C++ linker
52 #if defined(LinuxDistribution)
57 SRCS1 = MonthPanel.c RFCMIME.c about.c \
58 alarm.c blist.c browser.c \
59 calendarA.c cm_i18n.c cmtt.c \
60 datefield.c dayglance.c deskset.c \
61 dnd.c dssw.c editor.c \
63 format.c goto.c graphics.c \
64 group_editor.c help.c i18nxlate.c \
66 monthglance.c namesvc.c print.c \
67 props.c props_pu.c reminders.c \
68 rfp.c select.c session.c \
69 submit.c tempbr.c timezone.c \
70 todo.c weekglance.c x_graphics.c \
73 MonthPanel.o RFCMIME.o about.o \
74 alarm.o blist.o browser.o \
75 calendarA.o cm_i18n.o cmtt.o \
76 datefield.o dayglance.o deskset.o \
77 dnd.o dssw.o editor.o \
79 format.o goto.o graphics.o \
80 group_editor.o help.o i18nxlate.o \
82 monthglance.o namesvc.o print.o \
83 props.o props_pu.o reminders.o \
84 rfp.o select.o session.o \
85 submit.o tempbr.o timezone.o \
86 todo.o weekglance.o x_graphics.o \
102 SRCS5 = datefield.c deskset.c dssw.c \
103 dtcm_editor.c help.c misc.c \
105 OBJS5 = datefield.o deskset.o dssw.o \
106 dtcm_editor.o help.o misc.o \
109 PROGRAMS = $(PROG1) $(PROG2) $(PROG3) $(PROG4) $(PROG5)
112 busy.icon cmgr.icon \
113 cmgrmask.icon compose.icon \
114 compose.mask.icon contract_xbm \
115 drag_mask_xbm drag_xbm \
116 expand_xbm icon_pixmap_xbm \
117 postup_xbm xm_error_xbm \
118 xm_information_xbm xm_question_xbm \
121 ComplexProgramTarget_1($(PROG1),$(LOCAL_LIBRARIES),)
122 ComplexProgramTarget_2($(PROG2),$(TTY_LIBRARIES),)
123 ComplexProgramTarget_3($(PROG3),$(TTY_LIBRARIES),)
124 ComplexProgramTarget_4($(PROG4),$(TTY_LIBRARIES),)
125 ComplexProgramTarget_5($(PROG5),$(LOCAL_LIBRARIES),)