Return to Makefile.in CVS log | Up to [Public] / Amaya / thotlib |
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 \ 82: base/wxAmayaTimer.o \ 1.87 gully 83: base/wxAmayaSocketEvent.o \ 84: base/wxAmayaSocketEventLoop.o \ 1.64 gully 85: base/global.o \ 1.1 cvs 86: base/memory.o \ 87: base/message.o \ 88: base/platform.o \ 89: base/registry.o \ 1.82 gully 90: base/registry_wx.o \ 91: base/message_wx.o \ 1.1 cvs 92: base/actions.o \ 93: base/units.o \ 94: document/externalref.o \ 95: document/language.o \ 96: document/readprs.o \ 97: document/readstr.o \ 98: document/readtra.o \ 99: document/schtrad.o \ 1.84 vatton 100: document/writeprs.o \ 101: document/writestr.o \ 1.1 cvs 102: tree/exceptions.o \ 103: tree/tree.o \ 104: tree/checkaccess.o \ 1.15 cvs 105: tree/labelalloc.o \ 1.19 cvs 106: unicode/uconvert.o \ 1.42 cvs 107: unicode/ustring.o 1.1 cvs 108: 109: KERNEL_OBJ = \ 110: base/batchmessage.o \ 1.90 vatton 111: base/fileaccessND.o \ 1.28 cvs 112: base/structlist.o \ 1.1 cvs 113: content/contentapiND.o \ 114: content/contentND.o \ 115: dialogue/nodisplay.o \ 116: document/documentapiND.o \ 1.60 vatton 117: document/readpivot.o \ 1.38 cvs 118: document/schemasND.o \ 1.60 vatton 119: document/writepivotND.o \ 1.1 cvs 120: editing/applicationapiND.o \ 121: presentation/presentationapiND.o \ 122: tree/attributeapiND.o \ 1.28 cvs 123: tree/references.o \ 1.1 cvs 124: tree/referenceapiND.o \ 1.28 cvs 125: tree/structschema.o \ 1.15 cvs 126: tree/treeapiND.o 1.1 cvs 127: 1.28 cvs 128: DISPLAY_OBJ = \ 1.90 vatton 129: base/fileaccess.o \ 1.28 cvs 130: content/content.o \ 131: content/dictionary.o \ 1.53 cheyroul 132: image/encdec.o \ 1.48 cheyroul 133: dialogue/fontserver.o \ 1.52 cheyroul 134: dialogue/fontconfig.o \ 1.28 cvs 135: dialogue/font.o \ 1.51 cheyroul 136: dialogue/stix.o \ 1.28 cvs 137: document/documentapi.o \ 138: document/readpivot.o \ 139: document/schemas.o \ 1.36 cvs 140: document/translation.o \ 1.28 cvs 141: editing/applicationapi.o \ 142: image/abspictures.o \ 1.1 cvs 143: image/epshandler.o \ 1.28 cvs 144: image/gifhandler.o \ 1.1 cvs 145: image/jpeghandler.o \ 146: image/picture.o \ 1.28 cvs 147: image/pnghandler.o \ 148: image/xpmattrib.o \ 149: image/xpmcreate.o \ 150: image/xpmcrifrdata.o \ 151: image/xpmcrpfrdata.o \ 152: image/xpmcrpfri.o \ 153: image/xpmdata.o \ 1.1 cvs 154: image/xpmhandler.o \ 1.28 cvs 155: image/xpmhashtab.o \ 156: image/xpmimage.o \ 157: image/xpminfo.o \ 158: image/xpmmisc.o \ 159: image/xpmparse.o \ 160: image/xpmrdftoi.o \ 161: image/xpmrdftop.o \ 1.24 cvs 162: presentation/attrpresent.o \ 1.1 cvs 163: presentation/changepresent.o \ 1.28 cvs 164: presentation/presrules.o \ 1.1 cvs 165: presentation/presvariables.o \ 166: presentation/pschemaapi.o \ 1.24 cvs 167: presentation/style.o \ 1.28 cvs 168: tree/attributes.o \ 1.1 cvs 169: tree/pagecommands.o \ 1.28 cvs 170: tree/references.o \ 171: tree/structschema.o \ 1.1 cvs 172: view/absboxes.o \ 173: view/boxmoves.o \ 174: view/boxpositions.o \ 175: view/boxrelations.o \ 176: view/buildboxes.o \ 177: view/buildlines.o \ 178: view/changeabsbox.o \ 179: view/createabsbox.o \ 180: view/createpages.o \ 1.28 cvs 181: view/displaybox.o \ 182: view/displayview.o \ 1.1 cvs 183: view/frame.o \ 1.62 cheyroul 184: view/hyphen.o \ 185: view/tesse.o \ 186: view/glgradient.o \ 187: dialogue/glglyph.o \ 188: dialogue/openglfont.o \ 1.63 cheyroul 189: view/glwindowdisplay.o \ 190: view/gldisplay.o \ 191: view/spline.o 1.1 cvs 192: 1.28 cvs 193: EDITOR_OBJ = \ 194: base/alloca.o \ 195: base/config.o \ 196: base/thotmsg.o \ 197: base/structlist.o \ 198: content/contentapi.o \ 199: content/search.o \ 200: content/searchref.o \ 201: content/word.o \ 202: dialogue/callback.o\ 203: dialogue/callbackinit.o \ 1.1 cvs 204: dialogue/appdialogue.o \ 205: dialogue/appli.o \ 206: dialogue/attrmenu.o \ 207: dialogue/browser.o \ 208: dialogue/closedoc.o \ 209: dialogue/colors.o \ 210: dialogue/context.o \ 211: dialogue/creationmenu.o \ 212: dialogue/dialogapi.o \ 1.28 cvs 213: dialogue/geom.o \ 1.1 cvs 214: dialogue/input.o \ 215: dialogue/interface.o \ 216: dialogue/keyboards.o \ 217: dialogue/modiftype.o \ 1.27 cvs 218: dialogue/profiles.o \ 1.1 cvs 219: dialogue/presentmenu.o \ 220: dialogue/printmenu.o \ 221: dialogue/searchmenu.o \ 222: dialogue/selectmenu.o \ 1.87 gully 223: dialogue/AmayaDialog.o \ 1.68 gully 224: dialogue/AmayaWindow.o \ 1.80 gully 225: dialogue/AmayaSimpleWindow.o \ 226: dialogue/AmayaNormalWindow.o \ 1.86 gully 227: dialogue/AmayaQuickSplitButton.o \ 1.68 gully 228: dialogue/AmayaPanel.o \ 1.88 gully 229: dialogue/AmayaPopupList.o \ 1.86 gully 230: dialogue/AmayaSubPanel.o \ 1.89 gully 231: dialogue/AmayaSubPanelManager.o \ 1.86 gully 232: dialogue/AmayaFloatingPanel.o \ 233: dialogue/AmayaXHTMLPanel.o \ 1.91 ! gully 234: dialogue/AmayaAttributePanel.o \ ! 235: dialogue/AmayaColorsPanel.o \ 1.68 gully 236: dialogue/AmayaPage.o \ 1.66 gully 237: dialogue/AmayaFrame.o \ 1.68 gully 238: dialogue/AmayaCanvas.o \ 1.69 gully 239: dialogue/AmayaNotebook.o \ 1.71 gully 240: dialogue/AmayaURLBar.o \ 1.72 gully 241: dialogue/AmayaToolBar.o \ 1.79 gully 242: dialogue/AmayaTextGraber.o \ 1.83 gully 243: dialogue/AmayaScrollBar.o \ 1.68 gully 244: dialogue/appdialogue_wx.o \ 1.28 cvs 245: document/docs.o \ 1.1 cvs 246: document/views.o \ 1.15 cvs 247: document/writedoc.o \ 1.1 cvs 248: document/writepivot.o \ 249: editing/checkermenu.o \ 250: editing/editcommands.o \ 1.28 cvs 251: editing/scroll.o \ 252: editing/spellchecker.o \ 1.1 cvs 253: editing/selectionapi.o \ 254: editing/structcommands.o \ 255: editing/structcreation.o \ 256: editing/structmodif.o \ 257: editing/structselect.o \ 258: editing/textcommands.o \ 1.28 cvs 259: editing/undo.o \ 260: editing/undoapi.o \ 1.1 cvs 261: editing/unstructchange.o\ 1.28 cvs 262: image/pictureapi.o \ 263: presentation/presentationapi.o \ 264: tree/attributeapi.o \ 265: tree/paginate.o \ 266: tree/referenceapi.o \ 267: tree/res.o \ 268: tree/resmatch.o \ 269: tree/resgen.o \ 270: tree/treeapi.o \ 1.67 vatton 271: view/animbox.o \ 1.1 cvs 272: view/boxlocate.o \ 1.28 cvs 273: view/boxparams.o \ 1.1 cvs 274: view/boxselection.o \ 275: view/displayselect.o \ 1.67 vatton 276: view/glbox.o \ 277: view/gltimer.o \ 1.28 cvs 278: view/inites.o \ 1.67 vatton 279: view/tableH.o \ 1.1 cvs 280: view/unstructlocate.o\ 1.28 cvs 281: view/viewapi.o \ 1.67 vatton 282: view/xwindowdisplay.o 1.1 cvs 283: 284: base/registry.o : @srcdir@/base/registry.c 1.65 gully 285: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) \ 1.45 kahan 286: -DCOMPILED_IN_THOTDIR=\"@top_srcdir@\" \ 1.17 cvs 287: -DCOMPILED_IN_THOTDIR2=\"@prefix@/thot\" \ 1.46 kahan 288: -DNODISPLAY \ 1.8 cvs 289: -DMACHINE=\"$(MACHINE)\" -c @srcdir@/base/registry.c -o $@ 1.1 cvs 290: 1.4 cvs 291: libThotKernel : directories libThotKernel.a 292: 293: libThotKernel.a : $(THOTK_OBJ) $(KERNEL_OBJ) 1.1 cvs 294: $(AR) libThotKernel.a $(THOTK_OBJ) $(KERNEL_OBJ) 295: $(RANLIB) libThotKernel.a 296: @$(ECHO) "====>" libThotKernel is done 297: 1.4 cvs 298: libThotEditor : directories libThotEditor.a 299: 1.28 cvs 300: libThotEditor.a : $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ) 301: $(AR) libThotEditor.a $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ) 1.1 cvs 302: $(RANLIB) libThotEditor.a 303: @$(ECHO) "====>" libThotEditor is done 304: 305: # 306: # Rules for producing the print binary 307: # 308: 309: PRINT_OBJ= \ 1.81 gully 310: dialogue/AmayaPrintNotify.o \ 1.1 cvs 311: dialogue/nodialog.o \ 312: tree/paginatePP.o \ 313: view/initpses.o \ 314: view/psdisplay.o \ 1.63 cheyroul 315: view/printgl.o \ 1.67 vatton 316: view/tableH.o \ 1.1 cvs 317: editing/print.o 318: 1.22 cvs 319: tree/paginatePP.o : @srcdir@/tree/paginate.c @srcdir@/include/thot_sys.h 1.65 gully 320: $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DPAGINEETIMPRIME -c @srcdir@/tree/paginate.c -o $@ 1.1 cvs 321: 1.14 cvs 322: print : ../bin ../bin/print 323: 324: ../bin : 325: @(mkdir ../bin) 1.1 cvs 326: 1.67 vatton 327: ../bin/print : $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) \ 1.35 cvs 328: ../amaya/libCSS.a 1.67 vatton 329: $(CXX) $(LDFLAGS) -o $@ $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../amaya/libCSS.a $(LIBS) 1.1 cvs 330: @$(ECHO) "====>" print is done 331: 1.6 cvs 332: CEXTRACT= ../bin/cextract 333: 334: $(CEXTRACT) : 1.10 cvs 335: @(cd ../tools/cextract-$(CEXTRACT_VER) ; $(MAKE) ) 1.6 cvs 336: 337: proto : ../bin/cextract 338: @(for i in @srcdir@/*/*.c ; \ 339: do \ 340: dir=`dirname $$i`;base=`basename $$i .c`; \ 341: dir="$$dir/../internals" ; \ 342: if [ ! -d $$dir/f ] ; then $(MKDIR) $$dir/f ;fi;\ 343: $(CEXTRACT) $(CEXTRACT_FLAGS) -o /tmp/cextract.$$base.$$$$ $$i 2> /dev/null ; \ 344: if [ -f $$dir/f/"$$base"_f.h ] ; \ 345: then \ 346: delta=`$(DIFF) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h` ; \ 347: if [ "$$delta" != "" ] ; \ 348: then \ 349: echo " $$i proto changed" ; \ 350: $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \ 351: else \ 352: $(RM) /tmp/cextract.$$base.$$$$ ; \ 353: fi ; \ 354: else \ 355: echo " $$i proto added" ; \ 356: $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \ 357: fi ; \ 358: done) 359: