dtcm: Resolve CID 87713
[oweals/cde.git] / cde / programs / dtdbcache / Imakefile
1 XCOMM $XConsortium: Imakefile /main/5 1996/09/14 15:26:52 drk $
2
3 /* General case INCLUDES DEFINES LOCAL_LIBRARIES
4  * Each individual architecture may have more or less of the above.
5  * Use EXTRA_DEFINES and EXTRA_INCLUDES to add defines and includes
6  * to an individual architecture.  There is no equivalent for
7  * LOCAL_LIBRARIES.
8  * USE_libraryname in LOCAL_LIBRARIES is by default empty.
9  * It should be set when necessary to the real library macro name.
10  */
11
12        INCLUDES = -I.
13
14 /* DEPLIBS contains the list of library depencies for a client.
15  * LOCAL_LIBRARIES contains the list of libraries on the link line.
16  * Generally, the dependency form of a library has DEP as a prefix.
17  * e.g. put $(XLIB) in LOCAL_LIBRARIES and $(DEPXLIB) in DEPLIBS.
18  * NOTE: if DEPLIBS is not set here, it is by default null and there
19  *       are no library dependencies for clients.
20  *       You cannot put -Llibpath into DEPLIBS. You must put actual
21  *       paths to the library.
22  */
23 DEPLIBS = $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXPLIB) \
24           $(DEPXTOOLLIB) $(DEPXLIB)
25 LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XPLIB) $(XTOOLLIB) $(XLIB)
26 SYS_LIBRARIES   = -lm 
27
28
29 #ifdef HPArchitecture
30 EXTRA_DEFINES = +e
31 #endif
32
33 #ifdef SCOArchitecture
34 ATLIB=
35 SYS_LIBRARIES   = -lm -lcrypt
36 #endif
37
38 #ifdef RsArchitecture
39 ATLIB=
40 #endif
41
42 #ifdef USLArchitecture
43 SYS_LIBRARIES   = -lm -lgen 
44 ATLIB=
45 #endif
46
47 #if defined(HPOSFArchitecture)
48 #endif
49
50 #if defined(SunArchitecture)
51 ATLIB=
52 SYS_LIBRARIES = -lm -ldl -lw -lgen
53 #endif /* SunArchitecture */
54
55 #if defined(UXPArchitecture)
56 SYS_LIBRARIES = -lm -lgen
57 #endif
58
59 SRCS = Main.c
60 OBJS = Main.o
61
62 ComplexProgramTarget(dtdbcache)
63