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 = -DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" \
16 -DRELMAJOR="$(OSMAJORVERSION)" -DRELMINOR="$(OSMINORVERSION)" \
19 #if defined(RsArchitecture) || defined(USLArchitecture) || defined(UXPArchitecture) || defined(LinuxArchitecture) || defined(OpenBSDArchitecture) || defined(FreeBSDArchitecture)
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 #if defined(OpenBSDArchitecture) || defined(FreeBSDArchitecture)
36 EXTRA_LIBRARIES = -lcompat
39 #ifdef SunArchitecture
40 XCOMM Uncomment to build using Federated Naming Services. To activate
41 XCOMM you must set the UseFNS resource to True before runnin dtcm.
45 EXTRA_DEFINES = -DFNS -DPOSIX_THREADS -DSunOS=$(OSMAJORVERSION)$(OSMINORVERSION)
47 EXTRA_DEFINES = -DSunOS=$(OSMAJORVERSION)$(OSMINORVERSION)
50 EXTRA_CCOPTIONS = -xstrconst -Xc -v
51 EXTRA_LIBRARIES = $(FNS_EXTRA_LIBS)
55 SRCS1 = MonthPanel.c RFCMIME.c about.c \
56 alarm.c blist.c browser.c \
57 calendarA.c cm_i18n.c cmtt.c \
58 datefield.c dayglance.c deskset.c \
59 dnd.c dssw.c editor.c \
61 format.c goto.c graphics.c \
62 group_editor.c help.c i18nxlate.c \
64 monthglance.c namesvc.c print.c \
65 props.c props_pu.c reminders.c \
66 rfp.c select.c session.c \
67 submit.c tempbr.c timezone.c \
68 todo.c weekglance.c x_graphics.c \
71 MonthPanel.o RFCMIME.o about.o \
72 alarm.o blist.o browser.o \
73 calendarA.o cm_i18n.o cmtt.o \
74 datefield.o dayglance.o deskset.o \
75 dnd.o dssw.o editor.o \
77 format.o goto.o graphics.o \
78 group_editor.o help.o i18nxlate.o \
80 monthglance.o namesvc.o print.o \
81 props.o props_pu.o reminders.o \
82 rfp.o select.o session.o \
83 submit.o tempbr.o timezone.o \
84 todo.o weekglance.o x_graphics.o \
100 SRCS5 = datefield.c deskset.c dssw.c \
101 dtcm_editor.c help.c misc.c \
103 OBJS5 = datefield.o deskset.o dssw.o \
104 dtcm_editor.o help.o misc.o \
107 PROGRAMS = $(PROG1) $(PROG2) $(PROG3) $(PROG4) $(PROG5)
110 busy.icon cmgr.icon \
111 cmgrmask.icon compose.icon \
112 compose.mask.icon contract_xbm \
113 drag_mask_xbm drag_xbm \
114 expand_xbm icon_pixmap_xbm \
115 postup_xbm xm_error_xbm \
116 xm_information_xbm xm_question_xbm \
119 ComplexProgramTarget_1($(PROG1),$(LOCAL_LIBRARIES),)
120 ComplexProgramTarget_2($(PROG2),$(TTY_LIBRARIES),)
121 ComplexProgramTarget_3($(PROG3),$(TTY_LIBRARIES),)
122 ComplexProgramTarget_4($(PROG4),$(TTY_LIBRARIES),)
123 ComplexProgramTarget_5($(PROG5),$(LOCAL_LIBRARIES),)