1 XCOMM $XConsortium: Imakefile /main/25 1996/11/22 11:17:34 drk $
2 #define DoNormalLib NormalLibDtHelp
3 #define DoSharedLib SharedLibDtHelp
4 #define DoDebugLib DebugLibDtHelp
5 #define DoProfileLib ProfileLibDtHelp
7 #define SoRev SODTHELPREV
9 #define LargePICTable YES
11 #include <Threads.tmpl>
14 #define PassCDebugFlags /**/
16 #if defined(LinuxArchitecture) || defined(BSDArchitecture) || \
17 defined(SunArchitecture)
22 DONES = il/DONE jpeg/DONE
25 EXTRALIBRARYDEPS = $(DONES)
27 MakeSubdirs($(SUBDIRS))
28 ForceSubdirs($(SUBDIRS))
29 DependSubdirs($(SUBDIRS))
31 XLATESRC = $(DTSVCSRC)/DtUtil2
33 #if defined(LSBBitOrder) && LSBBitOrder
34 BIT_ORDER_DEFINES = -DLSB_BIT_ORDER
37 INCLUDES = -I. -I./il -I./jpeg
38 DEPEND_DEFINES = $(DEPENDDEFINES)
39 DEFINES = -DDTLIB $(LOCAL_DEFINES) \
40 -DCDE_INSTALLATION_TOP='"$(CDE_INSTALLATION_TOP)"' \
41 -DCDE_CONFIGURATION_TOP='"$(CDE_CONFIGURATION_TOP)"' \
42 -DCDE_USER_TOP='"$(CDE_USER_TOP)"' \
43 -DOSMAJORVERSION=OSMajorVersion \
44 -DOSMINORVERSION=OSMinorVersion \
45 $(ICONV_INBUF_DEFINE) $(BIT_ORDER_DEFINES)
47 #ifdef SharedDtHelpReqs
48 REQUIREDLIBS = SharedDtHelpReqs
52 CanvasP.h CanvasSegP.h Help.h \
53 HelpDialog.h HelpDialogP.h HelpP.h \
54 HelpQuickD.h HelpQuickDP.h
56 /* These internal headers will go to the DtI directory */
58 Access.h AccessI.h AccessP.h \
59 ActionsI.h CallbacksI.h CanvasI.h \
60 DisplayAreaI.h DisplayAreaP.h FileUtilsI.h \
61 FontAttrI.h FontI.h GifUtilsI.h \
62 GraphicsP.h HelpP.h HelpTermP.h \
63 HelposI.h HourGlassI.h JpegUtilsI.h \
64 LinkMgrP.h RegionI.h SetListI.h \
65 XUICreateI.h XbmUtilsI.h bufioI.h
68 LocaleXlate.h XlationSvc.h
71 Actions.c AsciiSpc.c Callbacks.c \
72 Destroy.c Environ_c.c FileListUtils.c \
73 FileUtils.c Font.c Format.c \
74 FormatMan.c FormatTerm.c GifUtils.c \
75 GlobSearch.c Graphics.c HelpAccess.c \
76 HelpDialog.c HelpQuickD.c HelpUtil.c \
77 Helpos.c History.c HourGlass.c \
78 HyperText.c JpegUtils.c Messages.c \
79 PathArea.c Print.c Resize.c \
80 SetList.c VolSelect.c XInterface.c \
81 XUICreate.c XbmUtils.c version.c
84 Actions.o AsciiSpc.o Callbacks.o \
85 Destroy.o Environ_c.o FileListUtils.o \
86 FileUtils.o Font.o Format.o \
87 FormatMan.o FormatTerm.o GifUtils.o \
88 GlobSearch.o Graphics.o HelpAccess.o \
89 HelpDialog.o HelpQuickD.o HelpUtil.o \
90 Helpos.o History.o HourGlass.o \
91 HyperText.o JpegUtils.o Messages.o \
92 PathArea.o Print.o Resize.o \
93 SetList.o VolSelect.o XInterface.o \
94 XUICreate.o XbmUtils.o version.o
97 Access.c AccessCCDF.c AccessSDL.c \
98 CCDFUtil.c CleanUp.c FontAttr.c \
99 FormatCCDF.c FormatSDL.c FormatUtil.c \
100 GenUtils.c Obsolete.c StringFuncs.c \
101 UtilSDL.c bufio.c decompress.c
104 Access.o AccessCCDF.o AccessSDL.o \
105 CCDFUtil.o CleanUp.o FontAttr.o \
106 FormatCCDF.o FormatSDL.o FormatUtil.o \
107 GenUtils.o Obsolete.o StringFuncs.o \
108 UtilSDL.o bufio.o decompress.o
111 Canvas.c CanvasOs.c CvString.c \
112 Layout.c LayoutUtil.c LinkMgr.c \
113 Selection.c VirtFuncs.c
116 Canvas.o CanvasOs.o CvString.o \
117 Layout.o LayoutUtil.o LinkMgr.o \
118 Selection.o VirtFuncs.o
127 * All IO_OBJS and JPEG_OBJS .o's are built in the subdirectories.
128 * Each .o there must have a listing in *OBJS macros below.
132 il/ilX.o il/ilbigray.o il/ilcodec.o \
133 il/ilcontext.o il/ilconvert.o il/ilcrop.o \
134 il/ildata.o il/ildecompg3.o il/ildecompg4.o \
135 il/ildecompjpeg.o il/ildecomplzw.o il/ildecomppackbits.o \
136 il/ildecompress.o il/ildither.o il/ilformat.o \
137 il/ilgraybi.o il/ilimage.o il/ilinvert.o \
138 il/iljpgdecode.o il/iljpgdecodejif.o il/iljpgdedct.o \
139 il/iljpgdehuff.o il/iljpgutil.o il/ilmap.o \
140 il/ilobject.o il/ilpalette.o il/ilpipe.o \
141 il/ilrwimage.o il/ilscale.o il/ilscalesample.o \
142 il/iltiff.o il/iltiffread.o il/iltruegray.o \
143 il/ilupsample.o il/ilutiljpeg.o il/ilycbcr.o
146 jpeg/jcomapi.o jpeg/jdmainct.o jpeg/jidctflt.o \
147 jpeg/jdapimin.o jpeg/jdmarker.o jpeg/jidctfst.o \
148 jpeg/jdapistd.o jpeg/jdmaster.o jpeg/jidctint.o \
149 jpeg/jdatasrc.o jpeg/jdmerge.o jpeg/jidctred.o \
150 jpeg/jdcoefct.o jpeg/jdphuff.o jpeg/jmemmgr.o \
151 jpeg/jdcolor.o jpeg/jdpostct.o jpeg/jmemnobs.o \
152 jpeg/jddctmgr.o jpeg/jdsample.o jpeg/jquant1.o \
153 jpeg/jdhuff.o jpeg/jdtrans.o jpeg/jquant2.o \
154 jpeg/jdinput.o jpeg/jerror.o jpeg/jutils.o
156 SRCS = $(SRCS1) $(SRCS2) $(CVSRCS) $(LCXSRCS)
157 #if defined(LinuxArchitecture) || defined(BSDArchitecture) || \
158 defined(SunArchitecture)
159 OBJS = $(OBJS1) $(OBJS2) $(CVOBJS) $(LCXOBJS) $(IL_OBJS)
161 OBJS = $(OBJS1) $(OBJS2) $(CVOBJS) $(LCXOBJS) $(IL_OBJS) $(JPEG_OBJS)
164 #include <Library.tmpl>
166 #ifdef HPArchitecture
168 /* Build +O1 due to 300 optimizer bug on all architectures */
169 SpecialSharedObjectRule(Search.o,/**/,+O1)
171 # if OSMajorVersion == 10
172 /* Workaround compiler bug in hp 10.0 WC. Should be removed eventually. */
173 SpecialLibObjectRule(Canvas.o,,+O1)
178 LCX_FILES = AIX.lcx CDE.lcx HP-UX.lcx SunOS.lcx Linux.lcx
179 LCX_DEST = misc/dtlcx
180 InstallMultiple($(LCX_FILES),$(LCX_DEST))
182 BuildIncludes($(I_HEADERS),DtI,..)
183 InstallMultipleFlags($(I_HEADERS),$(INCDIR)/DtI,$(INSTINCFLAGS))
185 /* link LocaleXlate XlationSvc headers. */
186 LinkSourceFile(LocaleXlate.h,$(XLATESRC))
187 LinkSourceFile(XlationSvc.h,$(XLATESRC))