2b1872bed09ebaa0fd7def182b6f417edb19c86b
[oweals/cde.git] / cde / lib / DtSearch / raima / Imakefile
1 # $XConsortium: Imakefile /main/10 1996/08/14 17:50:16 cde-ibm $
2 #
3 # (c) Copyright 1996 Digital Equipment Corporation.
4 # (c) Copyright 1996 Hewlett-Packard Company.
5 # (c) Copyright 1996 International Business Machines Corp.
6 # (c) Copyright 1996 Sun Microsystems, Inc.
7 # (c) Copyright 1996 Novell, Inc.
8 # (c) Copyright 1996 FUJITSU LIMITED.
9 # (c) Copyright 1996 Hitachi.
10 #
11
12 REQUIREDLIBS = -lc -lm
13
14 #ifdef AlphaArchitecture
15 EXTRA_DEFINES = -DBYTE_SWAP -D_OSF_SOURCE -D_XOPEN_SOURCE
16 #endif
17
18 #ifdef USLArchitecture
19 EXTRA_DEFINES = -DBYTE_SWAP -D_XOPEN_SOURCE
20 #endif
21
22 #ifdef UXPArchitecture
23 EXTRA_DEFINES = -D_XOPEN_SOURCE
24 #endif
25
26 #if defined(LinuxArchitecture) || defined(BSDArchitecture)
27 EXTRA_DEFINES = -DBYTE_SWAP -D_XOPEN_SOURCE=700
28 #endif
29
30 #if defined(SunArchitecture)
31 EXTRA_DEFINES = -DBYTE_SWAP -D_XOPEN_SOURCE=500
32 #endif
33
34 #define DoNormalLib     NormalLibDtSearch
35 #define DoSharedLib     SharedLibDtSearch
36 #define DoDebugLib      DebugLibDtSearch
37 #define DoProfileLib    ProfileLibDtSearch
38 #define LibName         DtSearch
39 #define SoRev           SODTSEARCHREV
40 #define IncSubdir       Dt
41 #define LibCreate       NO
42
43 #ifndef DtSvcDefines
44 # define DtSvcDefines   -DMULTIBYTE
45 #endif
46 DEFINES = DtSvcDefines \
47           -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
48           -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
49           -DNO_TRANS -DUNIX -DNO_CONST -D_POSIX_SOURCE 
50
51 INCLUDES = -I.
52
53
54 HEADERS = \
55         dbtype.h   dproto.h   inittab.h  ncb.h      task.h     vista.h \
56         dblock.h   dbxtrn.h   dtcover.h  ll.h       proto.h    trxlog.h
57
58 SRCS = \
59         alloc.c     cmstat.c    cmtype.c   connect.c \
60         costat.c    cotype.c    crget.c    crread.c    crset.c \
61         crstat.c    crtype.c    crwrite.c  csmget.c    csmread.c \
62         csmset.c    csmwrite.c  csoget.c   csoread.c   csoset.c \
63         csowrite.c  csstat.c    ctscm.c    ctsco.c     ctscr.c \
64         dbacode.c   dbdpath.c   dbfpath.c  dblfcns.c \
65         dbswab.c    dbuserid.c \
66         delete.c    destroy.c   dio.c      discon.c    disdel.c \
67         fillnew.c   findco.c    findfm.c   findlm.c    findnm.c \
68         findpm.c    gtscm.c     gtsco.c    gtscr.c     gtscs.c \
69         initial.c   inittab.c   ismember.c \
70         isowner.c   keydel.c    keyexist.c keyfcns.c \
71         keyfind.c   keyfrst.c   keylast.c  keynext.c   keyprev.c \
72         keystore.c  libfcns.c   makenew.c  mapchar.c \
73         members.c   netunix.c   oflag.c    opens.c     options.c \
74         pathfcns.c  recfcns.c   recfrst.c  reclast.c   recnext.c \
75         recprev.c   recread.c   recset.c \
76         recstat.c   recwrite.c  renfile.c  rwcurr.c    setdb.c \
77         setmm.c     setmo.c     setmr.c    setom.c     setoo.c \
78         setor.c     setrm.c     setro.c    startup.c   stscm.c \
79         stsco.c     stscr.c     stscs.c \
80         utscm.c     utsco.c     utscr.c    utscs.c
81
82 /* WARNING!!!!
83  * Any .o's added to this list need to be added to DTUTIL1_OBJS1
84  * and SHARED_DTUTIL1_OBJS1 in the DtSearch Imakefile.
85  */
86 OBJS = \
87         alloc.o     cmstat.o    cmtype.o   connect.o \
88         costat.o    cotype.o    crget.o    crread.o    crset.o \
89         crstat.o    crtype.o    crwrite.o  csmget.o    csmread.o \
90         csmset.o    csmwrite.o  csoget.o   csoread.o   csoset.o \
91         csowrite.o  csstat.o    ctscm.o    ctsco.o     ctscr.o \
92         dbacode.o   dbdpath.o   dbfpath.o  dblfcns.o \
93         dbswab.o    dbuserid.o \
94         delete.o    destroy.o   dio.o      discon.o    disdel.o \
95         fillnew.o   findco.o    findfm.o   findlm.o    findnm.o \
96         findpm.o    gtscm.o     gtsco.o    gtscr.o     gtscs.o \
97         initial.o   inittab.o   ismember.o \
98         isowner.o   keydel.o    keyexist.o keyfcns.o \
99         keyfind.o   keyfrst.o   keylast.o  keynext.o   keyprev.o \
100         keystore.o  libfcns.o   makenew.o  mapchar.o \
101         members.o   netunix.o   opens.o    options.o   oflag.o \
102         pathfcns.o  recfcns.o   recfrst.o  reclast.o   recnext.o \
103         recprev.o   recread.o   recset.o \
104         recstat.o   recwrite.o  renfile.o  rwcurr.o    setdb.o \
105         setmm.o     setmo.o     setmr.o    setom.o     setoo.o \
106         setor.o     setrm.o     setro.o    startup.o   stscm.o \
107         stsco.o     stscr.o     stscs.o \
108         utscm.o     utsco.o     utscr.o    utscs.o
109
110 #include <Library.tmpl>
111
112 SubdirLibraryRule($(OBJS))
113
114 DependTarget()