Annotation of Amaya/thotlib/Makefile.in, revision 1.135
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}
1.116 vatton 16: LIBS = -L. -L.. @LIBS@ $(IMGLIBS) $(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.92 gully 81: base/AmayaAppInstance.o \
1.103 gully 82: base/AmayaLogDebug.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 \
1.102 gully 95: base/logdebug.o \
1.105 gully 96: base/testcase.o \
1.1 cvs 97: document/externalref.o \
98: document/language.o \
99: document/readprs.o \
100: document/readstr.o \
101: document/readtra.o \
102: document/schtrad.o \
1.84 vatton 103: document/writeprs.o \
104: document/writestr.o \
1.1 cvs 105: tree/exceptions.o \
106: tree/tree.o \
107: tree/checkaccess.o \
1.15 cvs 108: tree/labelalloc.o \
1.19 cvs 109: unicode/uconvert.o \
1.42 cvs 110: unicode/ustring.o
1.1 cvs 111:
112: KERNEL_OBJ = \
1.119 vatton 113: base/AmayaApp.o \
1.1 cvs 114: base/batchmessage.o \
1.90 vatton 115: base/fileaccessND.o \
1.28 cvs 116: base/structlist.o \
1.1 cvs 117: content/contentapiND.o \
118: content/contentND.o \
119: dialogue/nodisplay.o \
120: document/documentapiND.o \
1.60 vatton 121: document/readpivot.o \
1.38 cvs 122: document/schemasND.o \
1.60 vatton 123: document/writepivotND.o \
1.1 cvs 124: editing/applicationapiND.o \
125: presentation/presentationapiND.o \
126: tree/attributeapiND.o \
1.28 cvs 127: tree/references.o \
1.1 cvs 128: tree/referenceapiND.o \
1.28 cvs 129: tree/structschema.o \
1.15 cvs 130: tree/treeapiND.o
1.1 cvs 131:
1.28 cvs 132: DISPLAY_OBJ = \
1.90 vatton 133: base/fileaccess.o \
1.28 cvs 134: content/content.o \
135: content/dictionary.o \
1.53 cheyroul 136: image/encdec.o \
1.48 cheyroul 137: dialogue/fontserver.o \
1.52 cheyroul 138: dialogue/fontconfig.o \
1.28 cvs 139: dialogue/font.o \
1.51 cheyroul 140: dialogue/stix.o \
1.28 cvs 141: document/documentapi.o \
142: document/readpivot.o \
143: document/schemas.o \
1.36 cvs 144: document/translation.o \
1.28 cvs 145: editing/applicationapi.o \
146: image/abspictures.o \
1.1 cvs 147: image/epshandler.o \
1.28 cvs 148: image/gifhandler.o \
1.1 cvs 149: image/jpeghandler.o \
150: image/picture.o \
1.28 cvs 151: image/pnghandler.o \
1.1 cvs 152: image/xpmhandler.o \
1.24 cvs 153: presentation/attrpresent.o \
1.1 cvs 154: presentation/changepresent.o \
1.28 cvs 155: presentation/presrules.o \
1.1 cvs 156: presentation/presvariables.o \
157: presentation/pschemaapi.o \
1.24 cvs 158: presentation/style.o \
1.28 cvs 159: tree/attributes.o \
1.1 cvs 160: tree/pagecommands.o \
1.28 cvs 161: tree/references.o \
162: tree/structschema.o \
1.1 cvs 163: view/absboxes.o \
164: view/boxmoves.o \
165: view/boxpositions.o \
166: view/boxrelations.o \
167: view/buildboxes.o \
168: view/buildlines.o \
169: view/changeabsbox.o \
170: view/createabsbox.o \
171: view/createpages.o \
1.28 cvs 172: view/displaybox.o \
173: view/displayview.o \
1.1 cvs 174: view/frame.o \
1.62 cheyroul 175: view/hyphen.o \
1.117 kia 176: view/tesse.o \
1.62 cheyroul 177: view/glgradient.o \
178: dialogue/glglyph.o \
179: dialogue/openglfont.o \
1.63 cheyroul 180: view/glwindowdisplay.o \
181: view/gldisplay.o \
182: view/spline.o
1.1 cvs 183:
1.28 cvs 184: EDITOR_OBJ = \
1.119 vatton 185: base/AmayaApp.o \
1.28 cvs 186: base/alloca.o \
187: base/config.o \
1.117 kia 188: base/containers.o \
1.28 cvs 189: base/thotmsg.o \
190: base/structlist.o \
191: content/contentapi.o \
192: content/search.o \
193: content/searchref.o \
194: content/word.o \
1.129 kia 195: dialogue/AmayaActionEvent.o \
1.109 gully 196: dialogue/AmayaStatusBar.o \
1.108 gully 197: dialogue/AmayaConfirmCloseTab.o \
1.106 gully 198: dialogue/AmayaAddPointEvtHandler.o \
1.110 gully 199: dialogue/AmayaMovePointEvtHandler.o \
1.107 gully 200: dialogue/AmayaMovingBoxEvtHandler.o \
1.111 gully 201: dialogue/AmayaResizingBoxEvtHandler.o \
1.131 vatton 202: dialogue/AmayaCreateShapeEvtHandler.o \
1.132 vatton 203: dialogue/AmayaCreatePathEvtHandler.o \
1.134 vatton 204: dialogue/AmayaTransformEvtHandler.o \
1.135 ! vatton 205: dialogue/AmayaEditPathEvtHandler.o \
1.87 gully 206: dialogue/AmayaDialog.o \
1.68 gully 207: dialogue/AmayaWindow.o \
1.94 gully 208: dialogue/AmayaWindowIterator.o \
1.80 gully 209: dialogue/AmayaSimpleWindow.o \
210: dialogue/AmayaNormalWindow.o \
1.123 kia 211: dialogue/AmayaClassicWindow.o \
1.124 kia 212: dialogue/AmayaClassicNotebook.o \
1.123 kia 213: dialogue/AmayaAdvancedWindow.o \
1.124 kia 214: dialogue/AmayaAdvancedNotebook.o \
1.126 kia 215: dialogue/AmayaHelpWindow.o \
1.86 gully 216: dialogue/AmayaQuickSplitButton.o \
1.68 gully 217: dialogue/AmayaPanel.o \
1.88 gully 218: dialogue/AmayaPopupList.o \
1.95 gully 219: dialogue/AmayaApplyClassPanel.o \
1.86 gully 220: dialogue/AmayaXHTMLPanel.o \
1.130 kia 221: dialogue/AmayaElementPanel.o \
1.121 vatton 222: dialogue/AmayaStylePanel.o \
1.115 kia 223: dialogue/AmayaExplorerPanel.o \
1.91 gully 224: dialogue/AmayaAttributePanel.o \
1.97 gully 225: dialogue/AmayaMathMLPanel.o \
1.130 kia 226: dialogue/AmayaSVGPanel.o \
1.98 vatton 227: dialogue/AmayaXMLPanel.o \
1.133 kia 228: dialogue/AmayaTemplatePanel.o \
1.68 gully 229: dialogue/AmayaPage.o \
1.66 gully 230: dialogue/AmayaFrame.o \
1.68 gully 231: dialogue/AmayaCanvas.o \
1.122 kia 232: dialogue/AmayaColorButton.o \
1.72 gully 233: dialogue/AmayaToolBar.o \
1.83 gully 234: dialogue/AmayaScrollBar.o \
1.99 gully 235: dialogue/AmayaFileDropTarget.o \
1.100 gully 236: dialogue/AmayaSpeCharPanel.o \
1.104 gully 237: dialogue/AmayaStatsThread.o \
1.117 kia 238: dialogue/AmayaPathControl.o \
1.128 kia 239: dialogue/AmayaTipOfTheDay.o \
1.68 gully 240: dialogue/appdialogue_wx.o \
1.105 gully 241: dialogue/callback.o\
242: dialogue/callbackinit.o \
243: dialogue/appdialogue.o \
244: dialogue/appli.o \
1.125 kia 245: dialogue/archives.o \
1.105 gully 246: dialogue/attrmenu.o \
1.118 kia 247: dialogue/base64.o \
1.105 gully 248: dialogue/browser.o \
249: dialogue/closedoc.o \
250: dialogue/context.o \
251: dialogue/creationmenu.o \
252: dialogue/dialogapi.o \
1.118 kia 253: dialogue/email.o \
1.117 kia 254: dialogue/Elemlist.o \
1.105 gully 255: dialogue/geom.o \
256: dialogue/input.o \
257: dialogue/interface.o \
258: dialogue/keyboards.o \
1.129 kia 259: dialogue/md5.o \
1.105 gully 260: dialogue/modiftype.o \
261: dialogue/profiles.o \
262: dialogue/presentmenu.o \
263: dialogue/printmenu.o \
264: dialogue/searchmenu.o \
265: dialogue/selectmenu.o \
1.118 kia 266: dialogue/SMTP.o \
1.28 cvs 267: document/docs.o \
1.1 cvs 268: document/views.o \
1.15 cvs 269: document/writedoc.o \
1.1 cvs 270: document/writepivot.o \
271: editing/checkermenu.o \
272: editing/editcommands.o \
1.28 cvs 273: editing/scroll.o \
274: editing/spellchecker.o \
1.1 cvs 275: editing/selectionapi.o \
276: editing/structcommands.o \
277: editing/structcreation.o \
278: editing/structmodif.o \
279: editing/structselect.o \
280: editing/textcommands.o \
1.28 cvs 281: editing/undo.o \
282: editing/undoapi.o \
1.1 cvs 283: editing/unstructchange.o\
1.28 cvs 284: image/pictureapi.o \
285: presentation/presentationapi.o \
286: tree/attributeapi.o \
287: tree/paginate.o \
288: tree/referenceapi.o \
289: tree/res.o \
290: tree/resmatch.o \
291: tree/resgen.o \
292: tree/treeapi.o \
1.67 vatton 293: view/animbox.o \
1.1 cvs 294: view/boxlocate.o \
1.28 cvs 295: view/boxparams.o \
1.1 cvs 296: view/boxselection.o \
297: view/displayselect.o \
1.67 vatton 298: view/glbox.o \
299: view/gltimer.o \
1.28 cvs 300: view/inites.o \
1.67 vatton 301: view/tableH.o \
1.1 cvs 302: view/unstructlocate.o\
1.28 cvs 303: view/viewapi.o \
1.67 vatton 304: view/xwindowdisplay.o
1.1 cvs 305:
306: base/registry.o : @srcdir@/base/registry.c
1.65 gully 307: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) \
1.45 kahan 308: -DCOMPILED_IN_THOTDIR=\"@top_srcdir@\" \
1.17 cvs 309: -DCOMPILED_IN_THOTDIR2=\"@prefix@/thot\" \
1.46 kahan 310: -DNODISPLAY \
1.8 cvs 311: -DMACHINE=\"$(MACHINE)\" -c @srcdir@/base/registry.c -o $@
1.1 cvs 312:
1.4 cvs 313: libThotKernel : directories libThotKernel.a
314:
315: libThotKernel.a : $(THOTK_OBJ) $(KERNEL_OBJ)
1.1 cvs 316: $(AR) libThotKernel.a $(THOTK_OBJ) $(KERNEL_OBJ)
317: $(RANLIB) libThotKernel.a
318: @$(ECHO) "====>" libThotKernel is done
319:
1.4 cvs 320: libThotEditor : directories libThotEditor.a
321:
1.28 cvs 322: libThotEditor.a : $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
323: $(AR) libThotEditor.a $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
1.1 cvs 324: $(RANLIB) libThotEditor.a
325: @$(ECHO) "====>" libThotEditor is done
326:
327: #
328: # Rules for producing the print binary
329: #
330:
331: PRINT_OBJ= \
1.119 vatton 332: base/AmayaAppPP.o \
1.129 kia 333: dialogue/AmayaActionEvent.o \
1.81 gully 334: dialogue/AmayaPrintNotify.o \
1.1 cvs 335: dialogue/nodialog.o \
336: tree/paginatePP.o \
337: view/initpses.o \
338: view/psdisplay.o \
1.63 cheyroul 339: view/printgl.o \
1.67 vatton 340: view/tableH.o \
1.1 cvs 341: editing/print.o
342:
1.119 vatton 343: base/AmayaAppPP.o : @srcdir@/base/AmayaApp.cpp @srcdir@/include/thot_sys.h
344: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -D_GLPRINT -c @srcdir@/base/AmayaApp.cpp -o $@
345:
1.22 cvs 346: tree/paginatePP.o : @srcdir@/tree/paginate.c @srcdir@/include/thot_sys.h
1.65 gully 347: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DPAGINEETIMPRIME -c @srcdir@/tree/paginate.c -o $@
1.1 cvs 348:
1.14 cvs 349: print : ../bin ../bin/print
350:
351: ../bin :
352: @(mkdir ../bin)
1.1 cvs 353:
1.67 vatton 354: ../bin/print : $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) \
1.35 cvs 355: ../amaya/libCSS.a
1.67 vatton 356: $(CXX) $(LDFLAGS) -o $@ $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../amaya/libCSS.a $(LIBS)
1.1 cvs 357: @$(ECHO) "====>" print is done
358:
1.6 cvs 359: CEXTRACT= ../bin/cextract
360:
361: $(CEXTRACT) :
1.10 cvs 362: @(cd ../tools/cextract-$(CEXTRACT_VER) ; $(MAKE) )
1.6 cvs 363:
364: proto : ../bin/cextract
365: @(for i in @srcdir@/*/*.c ; \
366: do \
367: dir=`dirname $$i`;base=`basename $$i .c`; \
368: dir="$$dir/../internals" ; \
369: if [ ! -d $$dir/f ] ; then $(MKDIR) $$dir/f ;fi;\
370: $(CEXTRACT) $(CEXTRACT_FLAGS) -o /tmp/cextract.$$base.$$$$ $$i 2> /dev/null ; \
371: if [ -f $$dir/f/"$$base"_f.h ] ; \
372: then \
373: delta=`$(DIFF) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h` ; \
374: if [ "$$delta" != "" ] ; \
375: then \
376: echo " $$i proto changed" ; \
377: $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
378: else \
379: $(RM) /tmp/cextract.$$base.$$$$ ; \
380: fi ; \
381: else \
382: echo " $$i proto added" ; \
383: $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
384: fi ; \
385: done)
386:
Webmaster