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(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
21 DONES = il/DONE jpeg/DONE
24 EXTRALIBRARYDEPS = $(DONES)
26 MakeSubdirs($(SUBDIRS))
27 ForceSubdirs($(SUBDIRS))
28 DependSubdirs($(SUBDIRS))
30 XLATESRC = $(DTSVCSRC)/DtUtil2
32 #if defined(LSBBitOrder) && LSBBitOrder
33 BIT_ORDER_DEFINES = -DLSB_BIT_ORDER
36 INCLUDES = -I. -I./il -I./jpeg
37 #if defined(OpenBSDArchitecture)
38 INCLUDES += -I$(INCROOT)
40 DEFINES = -DDTLIB -DXK_MISCELLANY $(LOCAL_DEFINES) \
41 -DCDE_INSTALLATION_TOP='"$(CDE_INSTALLATION_TOP)"' \
42 -DCDE_CONFIGURATION_TOP='"$(CDE_CONFIGURATION_TOP)"' \
43 -DCDE_USER_TOP='"$(CDE_USER_TOP)"' \
44 -DOSMAJORVERSION=OSMajorVersion \
45 -DOSMINORVERSION=OSMinorVersion \
46 $(ICONV_INBUF_DEFINE) $(BIT_ORDER_DEFINES)
48 #ifdef SharedDtHelpReqs
49 REQUIREDLIBS = SharedDtHelpReqs
53 CanvasP.h CanvasSegP.h Help.h \
54 HelpDialog.h HelpDialogP.h HelpP.h \
55 HelpQuickD.h HelpQuickDP.h
57 /* These internal headers will go to the DtI directory */
59 Access.h AccessI.h AccessP.h \
60 ActionsI.h CallbacksI.h CanvasI.h \
61 DisplayAreaI.h DisplayAreaP.h FileUtilsI.h \
62 FontAttrI.h FontI.h GifUtilsI.h \
63 GraphicsP.h HelpP.h HelpTermP.h \
64 HelposI.h HourGlassI.h JpegUtilsI.h \
65 LinkMgrP.h RegionI.h SetListI.h \
66 XUICreateI.h XbmUtilsI.h bufioI.h
69 LocaleXlate.h XlationSvc.h
72 Actions.c AsciiSpc.c Callbacks.c \
73 Destroy.c Environ_c.c FileListUtils.c \
74 FileUtils.c Font.c Format.c \
75 FormatMan.c FormatTerm.c GifUtils.c \
76 GlobSearch.c Graphics.c HelpAccess.c \
77 HelpDialog.c HelpQuickD.c HelpUtil.c \
78 Helpos.c History.c HourGlass.c \
79 HyperText.c JpegUtils.c Messages.c \
80 PathArea.c Print.c Resize.c \
81 SetList.c VolSelect.c XInterface.c \
82 XUICreate.c XbmUtils.c version.c
85 Actions.o AsciiSpc.o Callbacks.o \
86 Destroy.o Environ_c.o FileListUtils.o \
87 FileUtils.o Font.o Format.o \
88 FormatMan.o FormatTerm.o GifUtils.o \
89 GlobSearch.o Graphics.o HelpAccess.o \
90 HelpDialog.o HelpQuickD.o HelpUtil.o \
91 Helpos.o History.o HourGlass.o \
92 HyperText.o JpegUtils.o Messages.o \
93 PathArea.o Print.o Resize.o \
94 SetList.o VolSelect.o XInterface.o \
95 XUICreate.o XbmUtils.o version.o
98 Access.c AccessCCDF.c AccessSDL.c \
99 CCDFUtil.c CleanUp.c FontAttr.c \
100 FormatCCDF.c FormatSDL.c FormatUtil.c \
101 GenUtils.c Obsolete.c StringFuncs.c \
102 UtilSDL.c bufio.c decompress.c
105 Access.o AccessCCDF.o AccessSDL.o \
106 CCDFUtil.o CleanUp.o FontAttr.o \
107 FormatCCDF.o FormatSDL.o FormatUtil.o \
108 GenUtils.o Obsolete.o StringFuncs.o \
109 UtilSDL.o bufio.o decompress.o
112 Canvas.c CanvasOs.c CvString.c \
113 Layout.c LayoutUtil.c LinkMgr.c \
114 Selection.c VirtFuncs.c
117 Canvas.o CanvasOs.o CvString.o \
118 Layout.o LayoutUtil.o LinkMgr.o \
119 Selection.o VirtFuncs.o
128 * All IO_OBJS and JPEG_OBJS .o's are built in the subdirectories.
129 * Each .o there must have a listing in *OBJS macros below.
133 il/ilX.o il/ilbigray.o il/ilcodec.o \
134 il/ilcontext.o il/ilconvert.o il/ilcrop.o \
135 il/ildata.o il/ildecompg3.o il/ildecompg4.o \
136 il/ildecompjpeg.o il/ildecomplzw.o il/ildecomppackbits.o \
137 il/ildecompress.o il/ildither.o il/ilformat.o \
138 il/ilgraybi.o il/ilimage.o il/ilinvert.o \
139 il/iljpgdecode.o il/iljpgdecodejif.o il/iljpgdedct.o \
140 il/iljpgdehuff.o il/iljpgutil.o il/ilmap.o \
141 il/ilobject.o il/ilpalette.o il/ilpipe.o \
142 il/ilrwimage.o il/ilscale.o il/ilscalesample.o \
143 il/iltiff.o il/iltiffread.o il/iltruegray.o \
144 il/ilupsample.o il/ilutiljpeg.o il/ilycbcr.o
147 jpeg/jcomapi.o jpeg/jdmainct.o jpeg/jidctflt.o \
148 jpeg/jdapimin.o jpeg/jdmarker.o jpeg/jidctfst.o \
149 jpeg/jdapistd.o jpeg/jdmaster.o jpeg/jidctint.o \
150 jpeg/jdatasrc.o jpeg/jdmerge.o jpeg/jidctred.o \
151 jpeg/jdcoefct.o jpeg/jdphuff.o jpeg/jmemmgr.o \
152 jpeg/jdcolor.o jpeg/jdpostct.o jpeg/jmemnobs.o \
153 jpeg/jddctmgr.o jpeg/jdsample.o jpeg/jquant1.o \
154 jpeg/jdhuff.o jpeg/jdtrans.o jpeg/jquant2.o \
155 jpeg/jdinput.o jpeg/jerror.o jpeg/jutils.o
157 SRCS = $(SRCS1) $(SRCS2) $(CVSRCS) $(LCXSRCS)
158 #if defined(LinuxArchitecture) || defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
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))