Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / tt / lib / Imakefile
1 XCOMM $TOG: Imakefile /main/14 1999/08/30 10:49:21 mgreess $
2 #define DoNormalLib     NormalLibTt
3 #define DoSharedLib     SharedLibTt
4 #define DoDebugLib      DebugLibTt
5 #define DoProfileLib    ProfileLibTt
6 #define LibName         tt
7 #define SoRev           SOTTREV
8 #define LibHeaders      NO
9
10 XCOMM Currently libtt is just barely too large to compile with small
11 XCOMM PIC tables on Solaris.  Other platforms (e.g. HP/UX) seem to do
12 XCOMM fine.  Rather than enable LargePICTable everywhere it is only
13 XCOMM set in tttk/Imakefile and api/c/Imakefile.  If we need to compile 
14 XCOMM more modules with large PIC tables it should be set in other 
15 XCOMM subdirectories too.
16
17 #define CplusplusSource YES
18
19 #include <Threads.tmpl>
20
21 #define IHaveSubdirs
22 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CXXDEBUGFLAGS=$(CXXDEBUGFLAGS)'
23
24 SUBDIRS = api db mp util tttk
25 EXTRALIBRARYDEPS = api/DONE db/DONE mp/DONE util/DONE tttk/DONE
26
27 MakeSubdirs($(SUBDIRS))
28 ForceSubdirs($(SUBDIRS))
29 DependSubdirs($(SUBDIRS))
30
31 #include "../tooltalk.tmpl"
32
33 DEFINES = 
34 INCLUDES = -I.
35
36 #ifdef RsArchitecture
37       REALPATHC = realpath.c
38       REALPATHO = realpath.o
39 #endif
40
41 #ifdef AlphaArchitecture
42       REALPATHC = realpath.c
43       REALPATHO = realpath.o
44 #endif
45
46 #ifdef SharedTtReqs
47 #ifdef SunArchitecture
48 REQUIREDLIBS = SharedTtReqs -L/opt/SUNWspro/SC4.0/lib -Bstatic -lC
49 SHLIBLDFLAGS = -G
50 #else
51 REQUIREDLIBS = SharedTtReqs
52 #endif
53 #endif
54
55 /* You do not need to list sources except where .o's are actually made */
56 SRCS = $(REALPATHC)
57
58 OBJS_1 = \
59 api/c/api_api.o \
60 api/c/api_auth.o \
61 api/c/api_default.o \
62 api/c/api_error.o \
63 api/c/api_file.o \
64 api/c/api_filemap.o \
65 api/c/api_handle.o \
66 api/c/api_message.o \
67 api/c/api_mp.o \
68 api/c/api_mp_io.o \
69 api/c/api_mp_otype.o \
70 api/c/api_objid_spec.o \
71 api/c/api_pattern.o \
72 api/c/api_session_prop.o \
73 api/c/api_spec.o \
74 api/c/api_spec_map_ref.o \
75 api/c/api_storage.o \
76 api/c/api_typecb.o \
77 api/c/api_typecb_utils.o \
78 api/c/api_utils.o \
79 api/c/api_xdr.o \
80 api/dnd/ttdnd.o \
81 db/db_server_clnt.o \
82 db/db_server_xdr.o \
83 db/old_db_server_functions.o \
84 db/tt_client_isam_file.o \
85 db/tt_client_isam_file_utils.o \
86 db/tt_client_isam_key_descriptor.o \
87 db/tt_client_isam_key_descriptor_utils.o \
88 db/tt_client_isam_record.o \
89 db/tt_client_isam_record_utils.o \
90 db/tt_db_access_utils.o \
91 db/tt_db_client.o \
92 db/tt_db_client_utils.o \
93 db/tt_db_create_objid.o \
94 db/tt_db_file.o \
95 db/tt_db_file_utils.o \
96 db/tt_db_hostname_global_map_ref.o \
97 db/tt_db_hostname_redirection_map.o \
98 db/tt_db_key.o \
99 db/tt_db_key_utils.o \
100 db/tt_db_network_path.o \
101 db/tt_db_object.o \
102 db/tt_db_object_utils.o \
103 db/tt_db_objid_to_key.o \
104 db/tt_db_property.o \
105 db/tt_db_property_utils.o \
106 db/tt_db_rpc_message_routines.o \
107 db/tt_db_rpc_routines.o \
108 db/tt_old_db.o \
109 db/tt_old_db_message_info.o \
110 db/tt_old_db_message_info_utils.o \
111 db/tt_old_db_partition_map_ref.o \
112 db/tt_old_db_utils.o
113
114 OBJS_2 = \
115 mp/mp_arg.o \
116 mp/mp_arg_utils.o \
117 mp/mp_auth.o \
118 mp/mp_auth_functions.o \
119 mp/mp_c_file.o \
120 mp/mp_c_file_utils.o \
121 mp/mp_c_message.o \
122 mp/mp_c_message_utils.o \
123 mp/mp_c_mp.o \
124 mp/mp_c_msg_context.o \
125 mp/mp_c_msg_context_utils.o \
126 mp/mp_c_pattern.o \
127 mp/mp_c_procid.o \
128 mp/mp_c_procid_utils.o \
129 mp/mp_c_session.o \
130 mp/mp_c_session_prop.o \
131 mp/mp_c_session_utils.o \
132 mp/mp_context.o \
133 mp/mp_context_utils.o \
134 mp/mp_desktop.o \
135 mp/mp_desktop_utils.o \
136 mp/mp_file.o \
137 mp/mp_file_utils.o \
138 mp/mp_message.o \
139 mp/mp_message_utils.o \
140 mp/mp_mp.o \
141 mp/mp_mp_utils.o \
142 mp/mp_msg_context.o \
143 mp/mp_msg_context_utils.o \
144 mp/mp_pat_context.o \
145 mp/mp_pat_context_utils.o \
146 mp/mp_pattern.o \
147 mp/mp_pattern_utils.o \
148 mp/mp_procid.o \
149 mp/mp_procid_utils.o \
150 mp/mp_rpc_client.o \
151 mp/mp_rpc_client_utils.o \
152 mp/mp_rpc_fns.o \
153 mp/mp_session.o \
154 mp/mp_session_prop.o \
155 mp/mp_session_prop_utils.o \
156 mp/mp_session_utils.o \
157 mp/mp_stream_socket.o \
158 mp/mp_stream_socket_utils.o \
159 mp/mp_trace.o \
160 mp/mp_xdr_functions.o \
161 tttk/ttdesktop.o \
162 tttk/ttdtfile.o \
163 tttk/ttdtprocid.o \
164 tttk/ttmedia.o \
165 tttk/tttk.o \
166 tttk/tttk2free.o \
167 tttk/tttkmessage.o \
168 tttk/tttkpattern.o \
169 tttk/tttkutils.o
170
171 OBJS_3 = \
172 util/copyright.o \
173 util/tt_Xlib.o \
174 util/tt_audit.o \
175 util/tt_base64.o \
176 util/tt_enumname.o \
177 util/tt_entry_pt.o \
178 util/tt_file_system.o \
179 util/tt_file_system_entry_utils.o \
180 util/tt_gettext.o \
181 util/tt_global_env.o \
182 util/tt_host.o \
183 util/tt_host_equiv.o \
184 util/tt_host_equiv_utils.o \
185 util/tt_host_utils.o \
186 util/tt_int_rec.o \
187 util/tt_iostream.o \
188 util/tt_ldpath.o \
189 util/tt_log.o \
190 util/tt_map_entry.o \
191 util/tt_map_entry_utils.o \
192 util/tt_new.o \
193 util/tt_new_ptr.o \
194 util/tt_object.o \
195 util/tt_object_list.o \
196 util/tt_object_table.o \
197 util/tt_path.o \
198 util/tt_port.o \
199 util/tt_string.o \
200 util/tt_string_map.o \
201 util/tt_string_map_utils.o \
202 util/tt_string_match.o \
203 util/tt_threadspecific.o \
204 util/tt_trace.o \
205 util/tt_trace_parser.o \
206 util/tt_tracefile_parse.o \
207 util/tt_trace_stream.o \
208 util/tt_xdr_utils.o $(REALPATHO)
209
210 OBJS = $(OBJS_1) $(OBJS_2) $(OBJS_3)
211
212 #include <Library.tmpl>
213
214 DependTarget()