1 # ##########################################################################
5 # Action and DataType definitions for the Common Desktop Environment
6 # (CDE) components. This file contains common datatypes for developers.
8 # (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
9 # (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
10 # (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
11 # (c) Copyright 1993, 1994, 1995 Novell, Inc.
13 # $XConsortium: develop.dt.src /main/5 1996/04/23 17:35:01 drk $
15 # ##########################################################################
19 # ##########################################################################
21 # WARNING: This file may be overwritten in subsequent installations of
22 # the Common Desktop Environment (CDE). Consequently, any system wide
23 # changes should be made to an equivalent database file in
24 # /etc/dt/types and not in this file.
26 # ##########################################################################
28 # ##################################################################
32 # ##################################################################
37 MIME_TYPE application/octet-stream
39 DESCRIPTION This file contains a core image of a process \
40 that terminated abnormally. Its data type is \
46 DATA_ATTRIBUTES_NAME CORE
52 DATA_ATTRIBUTES_NAME CORE
64 # ###########################################################
66 DATA_ATTRIBUTES OBJECT
71 MIME_TYPE application/octet-stream
73 DESCRIPTION This file contains binary data that a compiler \
74 has produced from a source file. Its data type \
75 is named OBJECT. OBJECT files have names ending \
81 DATA_ATTRIBUTES_NAME OBJECT
100 # ###########################################################
102 DATA_ATTRIBUTES ASSEMBLER
110 DESCRIPTION This file contains assembler code for a given \
111 architecture. Its data type is named ASSEMBLER. \
112 ASSEMBLER files have names ending with '.s'.
115 DATA_CRITERIA ASSEMBLER1
117 DATA_ATTRIBUTES_NAME ASSEMBLER
122 # ###########################################################
124 DATA_ATTRIBUTES ARCH_LIB
128 MIME_TYPE application/octet-stream
129 DESCRIPTION This file contains an archived libarary of \
130 object files. Its data type is named ARCH_LIB. \
131 ARCH_LIB files have names ending with '.a'.
134 DATA_CRITERIA ARCH_LIB1
136 DATA_ATTRIBUTES_NAME ARCH_LIB
155 # ###########################################################
157 DATA_ATTRIBUTES SHARED_LIB
161 MIME_TYPE application/octet-stream
162 DESCRIPTION This files contains a shared library of an \
163 object file. Its data type is named SHARED_LIB. \
164 SHARD_LIB files have names ending with '.sl' or '.so'.
165 TYPE_LABEL SHARED_LIB
167 DATA_CRITERIA SHARED_LIB1
169 DATA_ATTRIBUTES_NAME SHARED_LIB
173 DATA_CRITERIA SHARED_LIB2
175 DATA_ATTRIBUTES_NAME SHARED_LIB
179 DATA_CRITERIA SHARED_LIB3
181 DATA_ATTRIBUTES_NAME SHARED_LIB
200 # ###########################################################
202 DATA_ATTRIBUTES C_SRC
204 ACTIONS Open,Make,Print
210 DESCRIPTION This file is a source file in the C \
211 programming language. Its data type is named \
212 C_SRC. C_SRC files have names ending with '.c'.
217 DATA_ATTRIBUTES_NAME C_SRC
226 WINDOW_TYPE PERM_TERMINAL
227 EXEC_STRING sh -c ' make `basename "%(File)Arg_1%" .c`.o 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
230 DESCRIPTION The Make command for C_SRC files uses the Unix \
231 'make' command to make the associated object file.
234 # ###########################################################
236 DATA_ATTRIBUTES CPLUSPLUS_SRC
238 ACTIONS Open,Make,Print
243 DESCRIPTION This is a a source file in the C++ programming \
244 language. Its data type is named CPLUSPLUS_SRC. \
245 CPLUSPLUS_SRC files have names ending with '.C' \
247 TYPE_LABEL CPLUSPLUS_SRC
249 DATA_CRITERIA C_PLUSPLUS1
251 DATA_ATTRIBUTES_NAME CPLUSPLUS_SRC
255 DATA_CRITERIA C_PLUSPLUS2
257 DATA_ATTRIBUTES_NAME CPLUSPLUS_SRC
265 ARG_TYPE CPLUSPLUS_SRC
266 WINDOW_TYPE PERM_TERMINAL
267 EXEC_STRING sh -c ' if [ -r "%(File)Arg_1%.C" ]; then make `basename "%(File)Arg_1%" .C`.o 2>&1 | \${PAGER:-more}; else make `basename "%(File)Arg_1%" .cc`.o 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
273 DESCRIPTION The Make command for CPLUSPLUS_SRC files uses \
274 the Unix 'make' command to make the associated \
278 # ###########################################################
280 DATA_ATTRIBUTES H_SRC
288 DESCRIPTION This is a C-language program header file. Its \
289 data type is named H_SRC. H_SRC files have names \
295 DATA_ATTRIBUTES_NAME H_SRC
300 # ###########################################################
302 DATA_ATTRIBUTES MAKEFILE
304 ACTIONS Open,Make,Print
307 NAME_TEMPLATE Makefile
310 DESCRIPTION This is a Makefile. A Makefile describes \
311 how to generate an executable file from a set of \
312 source files. It is used by the make command. \
313 Its data type is named MAKEFILE. MAKEFILE files \
314 must be named Makefile or makefile, or have names \
315 starting with Makefile or makefile, or have names \
319 DATA_CRITERIA MAKEFILE1
321 DATA_ATTRIBUTES_NAME MAKEFILE
323 NAME_PATTERN [Mm]akefile*
325 DATA_CRITERIA MAKEFILE2
327 DATA_ATTRIBUTES_NAME MAKEFILE
336 WINDOW_TYPE PERM_TERMINAL
337 EXEC_STRING sh -c ' make -f "%(File)Arg_1%" %"Target to Make:"% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
340 DESCRIPTION The Make action for Makefiles prompts for the \
341 target to make, and then uses the Unix 'make' \
342 command to make it. If target is left empty \
343 the command makes 'all' in the current folder.
347 # ###########################################################
349 DATA_ATTRIBUTES IMAKEFILE
351 ACTIONS Open,Make,Print
354 NAME_TEMPLATE Imakefile
356 DESCRIPTION This is an Imakefile. An Imakefile describes \
357 how to generate an executable file from a set of \
358 source files. It is used by the make command. \
359 Its data type is named IMAKEFILE. IMAKEFILE files \
360 are named imakefile or Imakefile, or have names \
361 starting with imakefile or Imakefile.
364 DATA_CRITERIA IMAKEFILE1
366 DATA_ATTRIBUTES_NAME IMAKEFILE
368 NAME_PATTERN [Ii]makefile*
375 WINDOW_TYPE PERM_TERMINAL
376 EXEC_STRING sh -c ' make Makefile 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
379 DESCRIPTION The Make command for Imakefile files uses the Unix \
380 'make' command to make the associated Makefile.
383 # ##########################################################################
384 # ##########################################################################
388 # ##########################################################################
394 WINDOW_TYPE PERM_TERMINAL
395 EXEC_STRING sh -c ' nm "%(File)Arg_1"Filename:"%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
398 DESCRIPTION The Symbols List (Nm) action lists the symbol \
399 table of an object file or library file. It uses \
404 LABEL Print Symbol List
407 EXEC_STRING /bin/sh -c ' nm "%(File)Arg_1%" | /usr/dt/bin/dtlp -u "Symbols List"'
409 DESCRIPTION The Print Symbol List (PrintNm) action prints \
410 the output from the 'nm' command on the default printer.
419 WINDOW_TYPE PERM_TERMINAL
420 EXEC_STRING sh -c ' make -f "%(File)Arg_1"Makefile:"%" %"Target to Make:"% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
425 DESCRIPTION The Make action for no arguments prompts for \
426 a Makefile and target, and then uses the Unix \
427 'make' command to make it.
429 # ######################## EOF ############################################