Annotation of Amaya/thotlib/Makefile.in, revision 1.52
1.1 cvs 1: #
2: # Makefile for thotlib directory
3: # Generated from thotlib/Makefile.in
4: # Daniel Veillard, 1997
5: #
6:
7: .SUFFIXES: .c .o ND.o
8:
9: @VPATHOPT@= @srcdir@
10: THOTDIR = @top_srcdir@
1.3 cvs 11:
12: include ../Options
13:
1.29 cvs 14: INCLUDES= -DHAVE_CONFIG_H -I.. -I@top_srcdir@/amaya/xpm -I@top_srcdir@/tablelib/f @THOTINCLUDES@ $(X_FLAGS)
1.30 cvs 15: LIBS = -L../tablelib -L. -L.. $(IMGLIBS) $(GTK_LIBRARIES) \
16: $(X_LIBS) -lXext $(X_PRE_LIBS) \
1.47 cheyroul 17: -lX11 $(X_EXTRA_LIBS) @LIBS@ $(EXTRA_LIBS) -lm $(GL_LIBRARIES)
1.1 cvs 18:
19: prefix = @prefix@
20: exec_prefix = @exec_prefix@
21: libdir = @libdir@
1.7 cvs 22: bindir = @bindir@
1.8 cvs 23: MACHINE= @target@
1.1 cvs 24:
25: SUBDIRS = include
1.31 cvs 26: OBJDIRS = base content dialogue document editing image presentation tree unicode view
1.1 cvs 27:
28: @SET_MAKE@
29:
30: #
31: # Rule to build standard objects
32: #
33: .c.o :
1.25 cvs 34: $(CC) $(CFLAGS) $(THOT_OPTIONS) $(INCLUDES) -c $< -o $@
1.1 cvs 35:
36: #
37: # Rule to build specific objects for libThotKernel.a
38: #
39: .cND.o :
1.45 kahan 40: $(CC) $(CFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DNODISPLAY -c $< -o $@
1.1 cvs 41:
1.28 cvs 42: all : directories libThotKernel.a libThotEditor.a
1.1 cvs 43:
44: clean :
45: $(RM) libThotKernel.a libThotEditor.a
1.9 cvs 46: (for dir in $(OBJDIRS) ; do $(RM) -r $$dir/*.o ; done)
1.1 cvs 47:
1.12 cvs 48: install :
1.7 cvs 49:
50: uninstall:
1.1 cvs 51:
52: directories :
53: @(for dir in $(OBJDIRS) ; \
54: do if test ! -d $$dir ; then $(MKDIR) $$dir ; fi ; done)
55:
56: force :
57:
58: ../tablelib/libThotTable.a : force
1.5 cvs 59: @(cd ../tablelib ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" libThotTable)
1.1 cvs 60:
1.28 cvs 61: ../amaya/libCSS.a : force
62: @(cd ../amaya ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" libCSS)
63:
1.1 cvs 64: include .depends
65:
66: ../tools/mkdep/mkdep :
67: @(cd ../tools/mkdep ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)")
68:
69: .depends depend : ../tools/mkdep/mkdep
70: ../tools/mkdep/mkdep -relative -vpath $(VPATH) $(INCLUDES) $(VPATH)/*/*.c > .depends
71:
72: #########################################################################
73: # #
74: # Rules to build the main libraries #
75: # #
76: #########################################################################
77:
78: THOTK_OBJ = \
79: base/fileaccess.o \
80: base/memory.o \
81: base/message.o \
82: base/platform.o \
83: base/registry.o \
84: base/actions.o \
85: base/units.o \
86: document/externalref.o \
87: document/language.o \
88: document/readprs.o \
89: document/readstr.o \
90: document/readtra.o \
91: document/schtrad.o \
92: tree/exceptions.o \
93: tree/tree.o \
94: tree/checkaccess.o \
1.15 cvs 95: tree/labelalloc.o \
1.19 cvs 96: unicode/uconvert.o \
1.42 cvs 97: unicode/ustring.o
1.1 cvs 98:
99: KERNEL_OBJ = \
100: base/batchmessage.o \
1.28 cvs 101: base/structlist.o \
1.1 cvs 102: content/contentapiND.o \
103: content/contentND.o \
104: dialogue/nodisplay.o \
105: document/documentapiND.o \
1.28 cvs 106: document/pivot.o \
1.1 cvs 107: document/readpivot.o \
1.38 cvs 108: document/schemasND.o \
1.1 cvs 109: document/writepivotND.o \
110: editing/applicationapiND.o \
111: presentation/presentationapiND.o \
112: tree/attributeapiND.o \
1.28 cvs 113: tree/references.o \
1.1 cvs 114: tree/referenceapiND.o \
1.28 cvs 115: tree/structschema.o \
1.15 cvs 116: tree/treeapiND.o
1.1 cvs 117:
1.28 cvs 118: DISPLAY_OBJ = \
119: content/content.o \
120: content/dictionary.o \
1.49 cheyroul 121: view/glwindowdisplay.o \
1.50 cheyroul 122: view/gldisplay.o \
1.48 cheyroul 123: dialogue/openglfont.o \
124: dialogue/fontserver.o \
1.52 ! cheyroul 125: dialogue/fontconfig.o \
1.28 cvs 126: dialogue/font.o \
1.51 cheyroul 127: dialogue/stix.o \
1.28 cvs 128: document/documentapi.o \
129: document/readpivot.o \
130: document/schemas.o \
1.36 cvs 131: document/translation.o \
1.28 cvs 132: editing/applicationapi.o \
133: image/abspictures.o \
1.1 cvs 134: image/epshandler.o \
1.28 cvs 135: image/gifhandler.o \
1.1 cvs 136: image/jpeghandler.o \
137: image/picture.o \
1.28 cvs 138: image/pnghandler.o \
139: image/xbmhandler.o \
140: image/xpmattrib.o \
141: image/xpmcreate.o \
142: image/xpmcrifrdata.o \
143: image/xpmcrpfrdata.o \
144: image/xpmcrpfri.o \
145: image/xpmdata.o \
1.1 cvs 146: image/xpmhandler.o \
1.28 cvs 147: image/xpmhashtab.o \
148: image/xpmimage.o \
149: image/xpminfo.o \
150: image/xpmmisc.o \
151: image/xpmparse.o \
152: image/xpmrdftoi.o \
153: image/xpmrdftop.o \
1.24 cvs 154: presentation/attrpresent.o \
1.1 cvs 155: presentation/changepresent.o \
1.28 cvs 156: presentation/presrules.o \
1.1 cvs 157: presentation/presvariables.o \
158: presentation/pschemaapi.o \
1.24 cvs 159: presentation/style.o \
1.28 cvs 160: tree/attributes.o \
1.1 cvs 161: tree/pagecommands.o \
1.28 cvs 162: tree/references.o \
163: tree/structschema.o \
1.1 cvs 164: view/absboxes.o \
165: view/boxmoves.o \
166: view/boxpositions.o \
167: view/boxrelations.o \
168: view/buildboxes.o \
169: view/buildlines.o \
170: view/changeabsbox.o \
171: view/createabsbox.o \
172: view/createpages.o \
1.28 cvs 173: view/displaybox.o \
174: view/displayview.o \
1.1 cvs 175: view/frame.o \
1.28 cvs 176: view/hyphen.o
1.1 cvs 177:
1.28 cvs 178: EDITOR_OBJ = \
179: base/alloca.o \
180: base/config.o \
181: base/thotmsg.o \
182: base/structlist.o \
183: content/contentapi.o \
184: content/search.o \
185: content/searchref.o \
186: content/word.o \
187: dialogue/callback.o\
188: dialogue/callbackinit.o \
1.1 cvs 189: dialogue/LiteClue.o \
190: dialogue/appdialogue.o \
191: dialogue/appli.o \
192: dialogue/attrmenu.o \
193: dialogue/browser.o \
194: dialogue/closedoc.o \
195: dialogue/colors.o \
196: dialogue/context.o \
197: dialogue/creationmenu.o \
198: dialogue/dialogapi.o \
1.28 cvs 199: dialogue/geom.o \
1.1 cvs 200: dialogue/input.o \
201: dialogue/interface.o \
202: dialogue/keyboards.o \
203: dialogue/modiftype.o \
1.27 cvs 204: dialogue/profiles.o \
1.1 cvs 205: dialogue/presentmenu.o \
206: dialogue/printmenu.o \
207: dialogue/quit.o \
208: dialogue/searchmenu.o \
209: dialogue/selectmenu.o \
1.28 cvs 210: document/pivot.o \
211: document/docs.o \
1.1 cvs 212: document/views.o \
1.15 cvs 213: document/writedoc.o \
1.1 cvs 214: document/writepivot.o \
215: editing/checkermenu.o \
216: editing/editcommands.o \
1.28 cvs 217: editing/scroll.o \
218: editing/spellchecker.o \
1.1 cvs 219: editing/selectionapi.o \
220: editing/structchange.o\
221: editing/structcommands.o \
222: editing/structcreation.o \
223: editing/structmodif.o \
224: editing/structselect.o \
225: editing/textcommands.o \
1.28 cvs 226: editing/undo.o \
227: editing/undoapi.o \
1.1 cvs 228: editing/unstructchange.o\
1.28 cvs 229: image/pictureapi.o \
230: presentation/presentationapi.o \
231: tree/attributeapi.o \
232: tree/paginate.o \
233: tree/referenceapi.o \
234: tree/res.o \
235: tree/resmatch.o \
236: tree/resgen.o \
237: tree/treeapi.o \
1.1 cvs 238: view/boxlocate.o \
1.28 cvs 239: view/boxparams.o \
1.1 cvs 240: view/boxselection.o \
241: view/displayselect.o \
1.28 cvs 242: view/inites.o \
1.1 cvs 243: view/structlocate.o\
244: view/unstructlocate.o\
1.28 cvs 245: view/viewapi.o \
1.31 cvs 246: view/xwindowdisplay.o
1.1 cvs 247:
248: base/registry.o : @srcdir@/base/registry.c
1.45 kahan 249: $(CC) $(CFLAGS) $(THOT_OPTIONS) $(INCLUDES) \
250: -DCOMPILED_IN_THOTDIR=\"@top_srcdir@\" \
1.17 cvs 251: -DCOMPILED_IN_THOTDIR2=\"@prefix@/thot\" \
1.46 kahan 252: -DNODISPLAY \
1.8 cvs 253: -DMACHINE=\"$(MACHINE)\" -c @srcdir@/base/registry.c -o $@
1.1 cvs 254:
1.4 cvs 255: libThotKernel : directories libThotKernel.a
256:
257: libThotKernel.a : $(THOTK_OBJ) $(KERNEL_OBJ)
1.1 cvs 258: $(AR) libThotKernel.a $(THOTK_OBJ) $(KERNEL_OBJ)
259: $(RANLIB) libThotKernel.a
260: @$(ECHO) "====>" libThotKernel is done
261:
1.4 cvs 262: libThotEditor : directories libThotEditor.a
263:
1.28 cvs 264: libThotEditor.a : $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
265: $(AR) libThotEditor.a $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
1.1 cvs 266: $(RANLIB) libThotEditor.a
267: @$(ECHO) "====>" libThotEditor is done
268:
269: #
270: # Rules for producing the print binary
271: #
272:
273: PRINT_OBJ= \
274: dialogue/nodialog.o \
275: tree/paginatePP.o \
276: view/initpses.o \
277: view/psdisplay.o \
278: editing/print.o
279:
1.22 cvs 280: tree/paginatePP.o : @srcdir@/tree/paginate.c @srcdir@/include/thot_sys.h
1.34 cvs 281: $(CC) $(CFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DPAGINEETIMPRIME -c @srcdir@/tree/paginate.c -o $@
1.1 cvs 282:
1.14 cvs 283: print : ../bin ../bin/print
284:
285: ../bin :
286: @(mkdir ../bin)
1.1 cvs 287:
1.28 cvs 288: ../bin/print : $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../tablelib/libThotTable.a \
1.35 cvs 289: ../amaya/libCSS.a
1.28 cvs 290: $(CC) $(LDFLAGS) -o $@ $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../amaya/libCSS.a -lThotTable $(LIBS)
1.1 cvs 291: @$(ECHO) "====>" print is done
292:
1.6 cvs 293: CEXTRACT= ../bin/cextract
294:
295: $(CEXTRACT) :
1.10 cvs 296: @(cd ../tools/cextract-$(CEXTRACT_VER) ; $(MAKE) )
1.6 cvs 297:
298: proto : ../bin/cextract
299: @(for i in @srcdir@/*/*.c ; \
300: do \
301: dir=`dirname $$i`;base=`basename $$i .c`; \
302: dir="$$dir/../internals" ; \
303: if [ ! -d $$dir/f ] ; then $(MKDIR) $$dir/f ;fi;\
304: $(CEXTRACT) $(CEXTRACT_FLAGS) -o /tmp/cextract.$$base.$$$$ $$i 2> /dev/null ; \
305: if [ -f $$dir/f/"$$base"_f.h ] ; \
306: then \
307: delta=`$(DIFF) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h` ; \
308: if [ "$$delta" != "" ] ; \
309: then \
310: echo " $$i proto changed" ; \
311: $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
312: else \
313: $(RM) /tmp/cextract.$$base.$$$$ ; \
314: fi ; \
315: else \
316: echo " $$i proto added" ; \
317: $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
318: fi ; \
319: done)
320:
Webmaster