ttserver: fixup forward (vexing) fucntion decl's in main, get rid of **environ
[oweals/cde.git] / cde / lib / DtSvc / Imakefile
1 XCOMM $TOG: Imakefile /main/16 1998/08/10 18:02:14 mgreess $
2 #define IHaveSubdirs
3 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CXXDEBUGFLAGS=$(CXXDEBUGFLAGS)'
4
5 #if CDE_USEXINERAMA
6 XINOPT = -DUSE_XINERAMA
7 XINLIB = -lDtXinerama -lXinerama
8 #endif
9
10 SUBDIRS = include DtUtil1 DtUtil2 DtEncap DtCodelibs DtXpm
11 DONES = DtUtil1/DONE DtUtil2/DONE DtEncap/DONE DtCodelibs/DONE DtXpm/DONE
12 EXTRALIBRARYDEPS = $(DONES)
13
14 MakeSubdirs($(SUBDIRS))
15 ForceSubdirs($(SUBDIRS))
16 DependSubdirs($(SUBDIRS))
17
18 #define DoNormalLib     NormalLibDtSvc
19 #define DoSharedLib     SharedLibDtSvc
20 #define DoDebugLib      DebugLibDtSvc
21 #define DoProfileLib    ProfileLibDtSvc
22 #define LibName         DtSvc
23 #define SoRev           SODTSVCREV
24 #define LibHeaders      NO
25 #define CplusplusSource YES
26
27 #include <Threads.tmpl>
28
29 #ifndef DtSvcDefines
30 # define DtSvcDefines   -DMULTIBYTE
31 #endif
32 DEFINES = DtSvcDefines $(XINOPT)
33
34 INCLUDES = -I. $(TIRPCINC)
35
36 #ifdef SharedDtSvcReqs
37 #ifdef SunArchitecture
38 REQUIREDLIBS = SharedDtSvcReqs $(XINLIB)
39 #ifndef HasGcc2
40 SHLIBLDFLAGS = -G
41 #endif
42 #else
43 REQUIREDLIBS = SharedDtSvcReqs $(XINLIB)
44 #endif
45 #endif
46
47 #if defined(SunArchitecture)
48 DTUTIL2_EXTRA_OBJS = DtUtil2/SunDtHelp.o
49 #endif
50
51
52 /* NOTE!!!
53  * All .o's are built in the subdirectories.  
54  * Each .o must have a listing in *OBJS macros below.
55  */
56 DTUTIL1_OBJS1 = \
57         DtUtil1/Action.o        DtUtil1/ActionTt.o \
58         DtUtil1/ActionFind.o    DtUtil1/ActionDb.o \
59         DtUtil1/ActionUtil.o    DtUtil1/CmdSpc.o \
60         DtUtil1/CmdMain.o       DtUtil1/CmdProcess.o \
61         DtUtil1/CmdUtilityP.o   DtUtil1/DbReader.o \
62         DtUtil1/DbUtil.o        DtUtil1/Dnd.o \
63         DtUtil1/DndDrag.o       DtUtil1/DndDrop.o \
64         DtUtil1/DndIcon.o       DtUtil1/DndBuff.o \
65         DtUtil1/DndFile.o       DtUtil1/DndText.o \
66         DtUtil1/Dt.o            DtUtil1/Dts.o \
67         DtUtil1/DtsDb.o         DtUtil1/DtsSort.o \
68         DtUtil1/DbLoad.o        DtUtil1/DtsInit.o \
69         DtUtil1/DtHash.o        DtUtil1/intarray.o \
70         DtUtil1/inttab.o        DtUtil1/strtab.o \
71         DtUtil1/MMDb.o          DtUtil1/DtsMM.o \
72         DtUtil1/GetMwmW.o       DtUtil1/GetVWmHint.o \
73         DtUtil1/Qualify.o       DtUtil1/Saver.o \
74         DtUtil1/SetVWmHint.o    DtUtil1/SmComm.o \
75         DtUtil1/SmUtil.o        DtUtil1/WmAddDelWs.o \
76         DtUtil1/WmBackWin.o     DtUtil1/WmChBackD.o \
77         DtUtil1/WmGWsInfo.o     DtUtil1/WmGWsList.o \
78         DtUtil1/WmMarquee.o     DtUtil1/WmRestart.o \
79         DtUtil1/WmRmWsFcn.o     DtUtil1/WmSetTitle.o \
80         DtUtil1/WmSetWs.o       DtUtil1/WmWsCallB.o \
81         DtUtil1/WmWsHints.o     DtUtil1/WmWsOccupy.o
82
83 DTUTIL2_OBJS = \
84         $(DTUTIL2_EXTRA_OBJS) \
85         DtUtil2/ChkpntClient.o  DtUtil2/ChkpntListen.o \
86         DtUtil2/DtEnvMap.o      DtUtil2/DtNlUtils.o \
87         DtUtil2/EnvControl.o    DtUtil2/FileUtil.o \
88         DtUtil2/GetDispRes.o    DtUtil2/GetMessage.o \
89         DtUtil2/HourGlass.o     DtUtil2/SharedProcs.o \
90         DtUtil2/SmCreateDirs.o  DtUtil2/UErrNoBMS.o \
91         DtUtil2/Utility.o       DtUtil2/ActIndicator.o \
92         DtUtil2/CmdUtility.o    DtUtil2/DtGetMessage.o \
93         DtUtil2/DtUtil.o        DtUtil2/GetEmbed.o \
94         DtUtil2/Hash.o          DtUtil2/PrintXErr.o \
95         DtUtil2/XmWrap.o        DtUtil2/addToRes.o \
96         DtUtil2/lock.o          DtUtil2/SvcTT.o \
97         DtUtil2/MsgCat.o        DtUtil2/MsgLog.o \
98         DtUtil2/Info.o          DtUtil2/LocaleXlate.o \
99         DtUtil2/XlationSvc.o
100
101 DTCODELIBS_OBJS3 = \
102         DtCodelibs/buf.o        DtCodelibs/filegen.o \
103         DtCodelibs/mbschr.o     DtCodelibs/pathcollapse.o \
104         DtCodelibs/privbuf.o    DtCodelibs/shellscan.o \
105         DtCodelibs/strcase.o    DtCodelibs/strend.o \
106         DtCodelibs/strhash.o    DtCodelibs/stringio.o \
107         DtCodelibs/strtokx.o    DtCodelibs/strwcmp.o
108
109 DTENCAP_OBJS4 = \
110         DtEncap/MemoryMgr.o     DtEncap/SbEvent.o \
111         DtEncap/Symbolic.o      DtEncap/bmsglob.o \
112         DtEncap/connect.o       DtEncap/local.o \
113         DtEncap/nls.o           DtEncap/noio.o \
114         DtEncap/pathwexp.o      DtEncap/pipe.o \
115         DtEncap/pty.o           DtEncap/remote.o \
116         DtEncap/sbstdinc.o      DtEncap/scoop.o \
117         DtEncap/spc-env.o       DtEncap/spc-error.o \
118         DtEncap/spc-exec.o      DtEncap/spc-net.o \
119         DtEncap/spc-obj.o       DtEncap/spc-proto.o \
120         DtEncap/spc-sm.o        DtEncap/spc-termio.o \
121         DtEncap/spc-util.o      DtEncap/spc-xt.o \
122         DtEncap/spc.o           DtEncap/stringbuf.o \
123         DtEncap/usersig.o
124
125 DTXPM_OBJS5 = \
126         DtXpm/xpm.o
127
128 OBJS = $(EXTRA_OBJS) $(DTUTIL1_OBJS1) $(DTUTIL1_OBJS2) $(DTUTIL2_OBJS) \
129         $(DTCODELIBS_OBJS3) $(DTENCAP_OBJS4) $(DTXPM_OBJS5)
130
131 #include <Library.tmpl>