Annotation of Amaya/thotlib/Makefile.in, revision 1.101
1.1 cvs 1: #
2: # Makefile for thotlib directory
3: # Generated from thotlib/Makefile.in
4: # Daniel Veillard, 1997
5: #
6:
1.64 gully 7: .SUFFIXES: .cpp .c .o ND.o
1.1 cvs 8:
9: @VPATHOPT@= @srcdir@
10: THOTDIR = @top_srcdir@
1.57 vatton 11: THOTINCLUDES=@THOTINCLUDES@
1.3 cvs 12:
13: include ../Options
14:
1.77 gully 15: INCLUDES= -DHAVE_CONFIG_H -I.. -I@top_srcdir@/amaya/xpm ${THOTINCLUDES} $(GUI_INCLUDES) $(GL_INCLUDES) $(GTK_GL_INCLUDES) $(XFT_INCLUDES) $(FREETYPE_INCLUDES) ${EXTRA_INCLUDES}
16: LIBS = -L. -L.. @LIBS@ $(IMGLIBS) $(EXTRA_LIBS) $(GL_LIBRARIES) $(GTK_GL_LIBRARIES) $(XFT_LIBRARIES) $(FREETYPE_LIBRARIES) $(GTK_LIBRARIES) $(WX_LIBRARIES)
1.1 cvs 17:
18: prefix = @prefix@
19: exec_prefix = @exec_prefix@
20: libdir = @libdir@
1.7 cvs 21: bindir = @bindir@
1.8 cvs 22: MACHINE= @target@
1.1 cvs 23:
24: SUBDIRS = include
1.31 cvs 25: OBJDIRS = base content dialogue document editing image presentation tree unicode view
1.1 cvs 26:
27: @SET_MAKE@
28:
29: #
30: # Rule to build standard objects
31: #
32: .c.o :
1.65 gully 33: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -c $< -o $@
1.64 gully 34:
35: #
36: # Rule to build c++ files
37: #
38: .cpp.o :
39: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -c $< -o $@
1.1 cvs 40:
41: #
42: # Rule to build specific objects for libThotKernel.a
43: #
44: .cND.o :
1.65 gully 45: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DNODISPLAY -c $< -o $@
1.1 cvs 46:
1.28 cvs 47: all : directories libThotKernel.a libThotEditor.a
1.1 cvs 48:
49: clean :
50: $(RM) libThotKernel.a libThotEditor.a
1.9 cvs 51: (for dir in $(OBJDIRS) ; do $(RM) -r $$dir/*.o ; done)
1.1 cvs 52:
1.12 cvs 53: install :
1.7 cvs 54:
55: uninstall:
1.1 cvs 56:
57: directories :
58: @(for dir in $(OBJDIRS) ; \
59: do if test ! -d $$dir ; then $(MKDIR) $$dir ; fi ; done)
60:
61: force :
62:
1.28 cvs 63: ../amaya/libCSS.a : force
1.65 gully 64: @(cd ../amaya ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" libCSS)
1.28 cvs 65:
1.1 cvs 66: include .depends
67:
68: ../tools/mkdep/mkdep :
1.65 gully 69: @(cd ../tools/mkdep ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" )
1.1 cvs 70:
71: .depends depend : ../tools/mkdep/mkdep
1.78 gully 72: ../tools/mkdep/mkdep -relative -vpath $(VPATH) $(INCLUDES) $(VPATH)/*/*.c $(VPATH)/*/*.cpp > .depends
1.1 cvs 73:
74: #########################################################################
75: # #
76: # Rules to build the main libraries #
77: # #
78: #########################################################################
79:
80: THOTK_OBJ = \
1.81 gully 81: base/AmayaApp.o \
1.92 gully 82: base/AmayaAppInstance.o \
1.81 gully 83: base/wxAmayaTimer.o \
1.87 gully 84: base/wxAmayaSocketEvent.o \
85: base/wxAmayaSocketEventLoop.o \
1.64 gully 86: base/global.o \
1.1 cvs 87: base/memory.o \
88: base/message.o \
89: base/platform.o \
90: base/registry.o \
1.82 gully 91: base/registry_wx.o \
92: base/message_wx.o \
1.1 cvs 93: base/actions.o \
94: base/units.o \
95: document/externalref.o \
96: document/language.o \
97: document/readprs.o \
98: document/readstr.o \
99: document/readtra.o \
100: document/schtrad.o \
1.84 vatton 101: document/writeprs.o \
102: document/writestr.o \
1.1 cvs 103: tree/exceptions.o \
104: tree/tree.o \
105: tree/checkaccess.o \
1.15 cvs 106: tree/labelalloc.o \
1.19 cvs 107: unicode/uconvert.o \
1.42 cvs 108: unicode/ustring.o
1.1 cvs 109:
110: KERNEL_OBJ = \
111: base/batchmessage.o \
1.90 vatton 112: base/fileaccessND.o \
1.28 cvs 113: base/structlist.o \
1.1 cvs 114: content/contentapiND.o \
115: content/contentND.o \
116: dialogue/nodisplay.o \
117: document/documentapiND.o \
1.60 vatton 118: document/readpivot.o \
1.38 cvs 119: document/schemasND.o \
1.60 vatton 120: document/writepivotND.o \
1.1 cvs 121: editing/applicationapiND.o \
122: presentation/presentationapiND.o \
123: tree/attributeapiND.o \
1.28 cvs 124: tree/references.o \
1.1 cvs 125: tree/referenceapiND.o \
1.28 cvs 126: tree/structschema.o \
1.15 cvs 127: tree/treeapiND.o
1.1 cvs 128:
1.28 cvs 129: DISPLAY_OBJ = \
1.90 vatton 130: base/fileaccess.o \
1.28 cvs 131: content/content.o \
132: content/dictionary.o \
1.53 cheyroul 133: image/encdec.o \
1.48 cheyroul 134: dialogue/fontserver.o \
1.52 cheyroul 135: dialogue/fontconfig.o \
1.28 cvs 136: dialogue/font.o \
1.51 cheyroul 137: dialogue/stix.o \
1.28 cvs 138: document/documentapi.o \
139: document/readpivot.o \
140: document/schemas.o \
1.36 cvs 141: document/translation.o \
1.28 cvs 142: editing/applicationapi.o \
143: image/abspictures.o \
1.1 cvs 144: image/epshandler.o \
1.28 cvs 145: image/gifhandler.o \
1.1 cvs 146: image/jpeghandler.o \
147: image/picture.o \
1.28 cvs 148: image/pnghandler.o \
149: image/xpmattrib.o \
150: image/xpmcreate.o \
151: image/xpmcrifrdata.o \
152: image/xpmcrpfrdata.o \
153: image/xpmcrpfri.o \
154: image/xpmdata.o \
1.1 cvs 155: image/xpmhandler.o \
1.28 cvs 156: image/xpmhashtab.o \
157: image/xpmimage.o \
158: image/xpminfo.o \
159: image/xpmmisc.o \
160: image/xpmparse.o \
161: image/xpmrdftoi.o \
162: image/xpmrdftop.o \
1.24 cvs 163: presentation/attrpresent.o \
1.1 cvs 164: presentation/changepresent.o \
1.28 cvs 165: presentation/presrules.o \
1.1 cvs 166: presentation/presvariables.o \
167: presentation/pschemaapi.o \
1.24 cvs 168: presentation/style.o \
1.28 cvs 169: tree/attributes.o \
1.1 cvs 170: tree/pagecommands.o \
1.28 cvs 171: tree/references.o \
172: tree/structschema.o \
1.1 cvs 173: view/absboxes.o \
174: view/boxmoves.o \
175: view/boxpositions.o \
176: view/boxrelations.o \
177: view/buildboxes.o \
178: view/buildlines.o \
179: view/changeabsbox.o \
180: view/createabsbox.o \
181: view/createpages.o \
1.28 cvs 182: view/displaybox.o \
183: view/displayview.o \
1.1 cvs 184: view/frame.o \
1.62 cheyroul 185: view/hyphen.o \
186: view/tesse.o \
187: view/glgradient.o \
188: dialogue/glglyph.o \
189: dialogue/openglfont.o \
1.63 cheyroul 190: view/glwindowdisplay.o \
191: view/gldisplay.o \
192: view/spline.o
1.1 cvs 193:
1.28 cvs 194: EDITOR_OBJ = \
195: base/alloca.o \
196: base/config.o \
197: base/thotmsg.o \
198: base/structlist.o \
199: content/contentapi.o \
200: content/search.o \
201: content/searchref.o \
202: content/word.o \
203: dialogue/callback.o\
204: dialogue/callbackinit.o \
1.1 cvs 205: dialogue/appdialogue.o \
206: dialogue/appli.o \
207: dialogue/attrmenu.o \
208: dialogue/browser.o \
209: dialogue/closedoc.o \
210: dialogue/colors.o \
211: dialogue/context.o \
212: dialogue/creationmenu.o \
213: dialogue/dialogapi.o \
1.28 cvs 214: dialogue/geom.o \
1.1 cvs 215: dialogue/input.o \
216: dialogue/interface.o \
217: dialogue/keyboards.o \
218: dialogue/modiftype.o \
1.27 cvs 219: dialogue/profiles.o \
1.1 cvs 220: dialogue/presentmenu.o \
221: dialogue/printmenu.o \
222: dialogue/searchmenu.o \
223: dialogue/selectmenu.o \
1.87 gully 224: dialogue/AmayaDialog.o \
1.68 gully 225: dialogue/AmayaWindow.o \
1.94 gully 226: dialogue/AmayaWindowIterator.o \
1.80 gully 227: dialogue/AmayaSimpleWindow.o \
228: dialogue/AmayaNormalWindow.o \
1.86 gully 229: dialogue/AmayaQuickSplitButton.o \
1.68 gully 230: dialogue/AmayaPanel.o \
1.88 gully 231: dialogue/AmayaPopupList.o \
1.86 gully 232: dialogue/AmayaSubPanel.o \
1.89 gully 233: dialogue/AmayaSubPanelManager.o \
1.86 gully 234: dialogue/AmayaFloatingPanel.o \
1.95 gully 235: dialogue/AmayaApplyClassPanel.o \
1.86 gully 236: dialogue/AmayaXHTMLPanel.o \
1.91 gully 237: dialogue/AmayaAttributePanel.o \
1.97 gully 238: dialogue/AmayaMathMLPanel.o \
1.91 gully 239: dialogue/AmayaColorsPanel.o \
1.93 gully 240: dialogue/AmayaCharStylePanel.o \
241: dialogue/AmayaFormatPanel.o \
1.98 vatton 242: dialogue/AmayaXMLPanel.o \
1.68 gully 243: dialogue/AmayaPage.o \
1.66 gully 244: dialogue/AmayaFrame.o \
1.68 gully 245: dialogue/AmayaCanvas.o \
1.69 gully 246: dialogue/AmayaNotebook.o \
1.72 gully 247: dialogue/AmayaToolBar.o \
1.83 gully 248: dialogue/AmayaScrollBar.o \
1.99 gully 249: dialogue/AmayaFileDropTarget.o \
1.100 gully 250: dialogue/AmayaSpeCharPanel.o \
1.68 gully 251: dialogue/appdialogue_wx.o \
1.28 cvs 252: document/docs.o \
1.1 cvs 253: document/views.o \
1.15 cvs 254: document/writedoc.o \
1.1 cvs 255: document/writepivot.o \
256: editing/checkermenu.o \
257: editing/editcommands.o \
1.28 cvs 258: editing/scroll.o \
259: editing/spellchecker.o \
1.1 cvs 260: editing/selectionapi.o \
261: editing/structcommands.o \
262: editing/structcreation.o \
263: editing/structmodif.o \
264: editing/structselect.o \
265: editing/textcommands.o \
1.28 cvs 266: editing/undo.o \
267: editing/undoapi.o \
1.1 cvs 268: editing/unstructchange.o\
1.28 cvs 269: image/pictureapi.o \
270: presentation/presentationapi.o \
271: tree/attributeapi.o \
272: tree/paginate.o \
273: tree/referenceapi.o \
274: tree/res.o \
275: tree/resmatch.o \
276: tree/resgen.o \
277: tree/treeapi.o \
1.67 vatton 278: view/animbox.o \
1.1 cvs 279: view/boxlocate.o \
1.28 cvs 280: view/boxparams.o \
1.1 cvs 281: view/boxselection.o \
282: view/displayselect.o \
1.67 vatton 283: view/glbox.o \
284: view/gltimer.o \
1.28 cvs 285: view/inites.o \
1.67 vatton 286: view/tableH.o \
1.1 cvs 287: view/unstructlocate.o\
1.28 cvs 288: view/viewapi.o \
1.67 vatton 289: view/xwindowdisplay.o
1.1 cvs 290:
291: base/registry.o : @srcdir@/base/registry.c
1.65 gully 292: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) \
1.45 kahan 293: -DCOMPILED_IN_THOTDIR=\"@top_srcdir@\" \
1.17 cvs 294: -DCOMPILED_IN_THOTDIR2=\"@prefix@/thot\" \
1.46 kahan 295: -DNODISPLAY \
1.8 cvs 296: -DMACHINE=\"$(MACHINE)\" -c @srcdir@/base/registry.c -o $@
1.1 cvs 297:
1.4 cvs 298: libThotKernel : directories libThotKernel.a
299:
300: libThotKernel.a : $(THOTK_OBJ) $(KERNEL_OBJ)
1.1 cvs 301: $(AR) libThotKernel.a $(THOTK_OBJ) $(KERNEL_OBJ)
302: $(RANLIB) libThotKernel.a
303: @$(ECHO) "====>" libThotKernel is done
304:
1.4 cvs 305: libThotEditor : directories libThotEditor.a
306:
1.28 cvs 307: libThotEditor.a : $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
308: $(AR) libThotEditor.a $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
1.1 cvs 309: $(RANLIB) libThotEditor.a
310: @$(ECHO) "====>" libThotEditor is done
311:
312: #
313: # Rules for producing the print binary
314: #
315:
316: PRINT_OBJ= \
1.81 gully 317: dialogue/AmayaPrintNotify.o \
1.1 cvs 318: dialogue/nodialog.o \
319: tree/paginatePP.o \
320: view/initpses.o \
321: view/psdisplay.o \
1.63 cheyroul 322: view/printgl.o \
1.67 vatton 323: view/tableH.o \
1.1 cvs 324: editing/print.o
325:
1.22 cvs 326: tree/paginatePP.o : @srcdir@/tree/paginate.c @srcdir@/include/thot_sys.h
1.65 gully 327: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DPAGINEETIMPRIME -c @srcdir@/tree/paginate.c -o $@
1.1 cvs 328:
1.14 cvs 329: print : ../bin ../bin/print
330:
331: ../bin :
332: @(mkdir ../bin)
1.1 cvs 333:
1.67 vatton 334: ../bin/print : $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) \
1.35 cvs 335: ../amaya/libCSS.a
1.67 vatton 336: $(CXX) $(LDFLAGS) -o $@ $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../amaya/libCSS.a $(LIBS)
1.1 cvs 337: @$(ECHO) "====>" print is done
338:
1.6 cvs 339: CEXTRACT= ../bin/cextract
340:
341: $(CEXTRACT) :
1.10 cvs 342: @(cd ../tools/cextract-$(CEXTRACT_VER) ; $(MAKE) )
1.6 cvs 343:
344: proto : ../bin/cextract
345: @(for i in @srcdir@/*/*.c ; \
346: do \
347: dir=`dirname $$i`;base=`basename $$i .c`; \
348: dir="$$dir/../internals" ; \
349: if [ ! -d $$dir/f ] ; then $(MKDIR) $$dir/f ;fi;\
350: $(CEXTRACT) $(CEXTRACT_FLAGS) -o /tmp/cextract.$$base.$$$$ $$i 2> /dev/null ; \
351: if [ -f $$dir/f/"$$base"_f.h ] ; \
352: then \
353: delta=`$(DIFF) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h` ; \
354: if [ "$$delta" != "" ] ; \
355: then \
356: echo " $$i proto changed" ; \
357: $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
358: else \
359: $(RM) /tmp/cextract.$$base.$$$$ ; \
360: fi ; \
361: else \
362: echo " $$i proto added" ; \
363: $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
364: fi ; \
365: done)
366:
Webmaster