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