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