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) $(TIRPCINC)
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 DEPEND_DEFINES = $(DEPENDDEFINES)
16 DEFINES = -DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" \
17 -DRELMAJOR="$(OSMAJORVERSION)" -DRELMINOR="$(OSMINORVERSION)" \
20 #if defined(RsArchitecture) || defined(LinuxArchitecture) || defined(BSDArchitecture)
21 TTY_LIBRARIES = $(LOCAL_LIBRARIES)
22 #elif defined(AlphaArchitecture)
23 TTY_LIBRARIES = $(DTCMPLIB) $(CSALIB) $(DTSVCLIB) $(XTOOLLIB) $(XLIB)
25 TTY_LIBRARIES = $(DTCMPLIB) $(CSALIB) $(DTSVCLIB)
29 EXTRA_LIBRARIES = -lrpcsvc -lPW -ldiag
33 EXTRA_LIBRARIES = -lrpcsvc -lV3
36 #if defined(BSDArchitecture) && !defined(OpenBSDArchitecture)
37 EXTRA_LIBRARIES = -lcompat
40 #ifdef SunArchitecture
41 XCOMM Uncomment to build using Federated Naming Services. To activate
42 XCOMM you must set the UseFNS resource to True before runnin dtcm.
46 EXTRA_DEFINES = -DFNS -DPOSIX_THREADS -DSunOS=$(OSMAJORVERSION)$(OSMINORVERSION)
48 EXTRA_DEFINES = -DSunOS=$(OSMAJORVERSION)$(OSMINORVERSION)
51 EXTRA_CCOPTIONS = -xstrconst -Xc -v
52 EXTRA_LIBRARIES = $(FNS_EXTRA_LIBS)
56 SRCS1 = MonthPanel.c RFCMIME.c about.c \
57 alarm.c blist.c browser.c \
58 calendarA.c cm_i18n.c cmtt.c \
59 datefield.c dayglance.c deskset.c \
60 dnd.c dssw.c editor.c \
62 format.c goto.c graphics.c \
63 group_editor.c help.c i18nxlate.c \
65 monthglance.c namesvc.c print.c \
66 props.c props_pu.c reminders.c \
67 rfp.c select.c session.c \
68 submit.c tempbr.c timezone.c \
69 todo.c weekglance.c x_graphics.c \
72 MonthPanel.o RFCMIME.o about.o \
73 alarm.o blist.o browser.o \
74 calendarA.o cm_i18n.o cmtt.o \
75 datefield.o dayglance.o deskset.o \
76 dnd.o dssw.o editor.o \
78 format.o goto.o graphics.o \
79 group_editor.o help.o i18nxlate.o \
81 monthglance.o namesvc.o print.o \
82 props.o props_pu.o reminders.o \
83 rfp.o select.o session.o \
84 submit.o tempbr.o timezone.o \
85 todo.o weekglance.o x_graphics.o \
101 SRCS5 = datefield.c deskset.c dssw.c \
102 dtcm_editor.c help.c misc.c \
104 OBJS5 = datefield.o deskset.o dssw.o \
105 dtcm_editor.o help.o misc.o \
108 PROGRAMS = $(PROG1) $(PROG2) $(PROG3) $(PROG4) $(PROG5)
111 busy.icon cmgr.icon \
112 cmgrmask.icon compose.icon \
113 compose.mask.icon contract_xbm \
114 drag_mask_xbm drag_xbm \
115 expand_xbm icon_pixmap_xbm \
118 ComplexProgramTarget_1($(PROG1),$(LOCAL_LIBRARIES),)
119 ComplexProgramTarget_2($(PROG2),$(TTY_LIBRARIES),)
120 ComplexProgramTarget_3($(PROG3),$(TTY_LIBRARIES),)
121 ComplexProgramTarget_4($(PROG4),$(TTY_LIBRARIES),)
122 ComplexProgramTarget_5($(PROG5),$(LOCAL_LIBRARIES),)