Annotation of Amaya/thotlib/Makefile.in, revision 1.43

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.9       cvs        17:           -lX11 $(X_EXTRA_LIBS) @LIBS@ $(EXTRA_LIBS) -lm 
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 :
                     40:        $(CC) $(CFLAGS) $(INCLUDES) -DNODISPLAY -c $< -o $@
                     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 \
                    121:        dialogue/font.o \
                    122:        document/documentapi.o \
                    123:        document/readpivot.o \
                    124:        document/schemas.o \
1.36      cvs       125:        document/translation.o \
1.28      cvs       126:        editing/applicationapi.o \
                    127:        image/abspictures.o \
1.1       cvs       128:        image/epshandler.o \
1.28      cvs       129:        image/gifhandler.o \
1.1       cvs       130:        image/jpeghandler.o \
                    131:        image/picture.o \
1.28      cvs       132:        image/pnghandler.o \
                    133:        image/xbmhandler.o \
                    134:        image/xpmattrib.o \
                    135:        image/xpmcreate.o \
                    136:        image/xpmcrifrdata.o \
                    137:        image/xpmcrpfrdata.o \
                    138:        image/xpmcrpfri.o \
                    139:        image/xpmdata.o \
1.1       cvs       140:        image/xpmhandler.o \
1.28      cvs       141:        image/xpmhashtab.o \
                    142:        image/xpmimage.o \
                    143:        image/xpminfo.o \
                    144:        image/xpmmisc.o \
                    145:        image/xpmparse.o \
                    146:        image/xpmrdftoi.o \
                    147:        image/xpmrdftop.o \
1.24      cvs       148:        presentation/attrpresent.o \
1.1       cvs       149:        presentation/changepresent.o \
1.28      cvs       150:        presentation/presrules.o \
1.1       cvs       151:        presentation/presvariables.o \
                    152:        presentation/pschemaapi.o \
1.24      cvs       153:        presentation/style.o \
1.28      cvs       154:        tree/attributes.o \
1.1       cvs       155:        tree/pagecommands.o \
1.28      cvs       156:        tree/references.o \
                    157:        tree/structschema.o \
1.1       cvs       158:        view/absboxes.o \
                    159:        view/boxmoves.o \
                    160:        view/boxpositions.o \
                    161:        view/boxrelations.o \
                    162:        view/buildboxes.o \
                    163:        view/buildlines.o \
                    164:        view/changeabsbox.o \
                    165:        view/createabsbox.o \
                    166:        view/createpages.o \
1.28      cvs       167:        view/displaybox.o \
                    168:        view/displayview.o \
1.1       cvs       169:        view/frame.o \
1.28      cvs       170:        view/hyphen.o
1.1       cvs       171: 
1.28      cvs       172: EDITOR_OBJ = \
                    173:        base/alloca.o \
                    174:        base/config.o \
                    175:        base/thotmsg.o \
                    176:        base/structlist.o \
                    177:        content/contentapi.o \
                    178:        content/search.o \
                    179:        content/searchref.o \
                    180:        content/word.o \
                    181:        dialogue/callback.o\
                    182:        dialogue/callbackinit.o \
1.1       cvs       183:        dialogue/LiteClue.o \
                    184:        dialogue/appdialogue.o \
                    185:        dialogue/appli.o \
                    186:        dialogue/attrmenu.o \
                    187:        dialogue/browser.o \
                    188:        dialogue/closedoc.o \
                    189:        dialogue/colors.o \
                    190:        dialogue/context.o \
                    191:        dialogue/creationmenu.o \
                    192:        dialogue/dialogapi.o \
1.28      cvs       193:        dialogue/geom.o \
1.1       cvs       194:        dialogue/input.o \
                    195:        dialogue/interface.o \
                    196:        dialogue/keyboards.o \
                    197:        dialogue/modiftype.o \
1.27      cvs       198:        dialogue/profiles.o \
1.1       cvs       199:        dialogue/presentmenu.o \
                    200:        dialogue/printmenu.o \
                    201:        dialogue/quit.o \
                    202:        dialogue/searchmenu.o \
                    203:        dialogue/searchmenustr.o \
                    204:        dialogue/selectmenu.o \
1.28      cvs       205:        document/pivot.o \
                    206:        document/docs.o \
1.1       cvs       207:        document/views.o \
1.15      cvs       208:        document/writedoc.o \
1.1       cvs       209:        document/writepivot.o \
                    210:        editing/checkermenu.o \
                    211:        editing/editcommands.o \
1.28      cvs       212:        editing/scroll.o \
                    213:        editing/spellchecker.o \
1.1       cvs       214:        editing/selectionapi.o \
                    215:        editing/structchange.o\
                    216:        editing/structcommands.o \
                    217:        editing/structcreation.o \
                    218:        editing/structmodif.o \
                    219:        editing/structselect.o \
                    220:        editing/textcommands.o \
1.28      cvs       221:        editing/undo.o \
                    222:        editing/undoapi.o \
1.1       cvs       223:        editing/unstructchange.o\
1.28      cvs       224:        image/pictureapi.o \
                    225:        presentation/presentationapi.o \
                    226:        tree/attributeapi.o \
                    227:        tree/paginate.o \
                    228:        tree/referenceapi.o \
                    229:        tree/res.o \
                    230:        tree/resmatch.o \
                    231:        tree/resgen.o \
                    232:        tree/treeapi.o \
1.1       cvs       233:        view/boxlocate.o \
1.28      cvs       234:        view/boxparams.o \
1.1       cvs       235:        view/boxselection.o \
                    236:        view/displayselect.o \
1.28      cvs       237:        view/inites.o \
1.1       cvs       238:        view/structlocate.o\
                    239:        view/unstructlocate.o\
1.28      cvs       240:        view/viewapi.o \
1.31      cvs       241:        view/xwindowdisplay.o
1.1       cvs       242: 
                    243: base/registry.o : @srcdir@/base/registry.c
                    244:        $(CC) $(CFLAGS) $(INCLUDES) -DCOMPILED_IN_THOTDIR=\"@top_srcdir@\" \
1.17      cvs       245:           -DCOMPILED_IN_THOTDIR2=\"@prefix@/thot\" \
1.8       cvs       246:           -DMACHINE=\"$(MACHINE)\" -c @srcdir@/base/registry.c -o $@
1.1       cvs       247: 
1.4       cvs       248: libThotKernel : directories libThotKernel.a
                    249: 
                    250: libThotKernel.a : $(THOTK_OBJ) $(KERNEL_OBJ)
1.1       cvs       251:        $(AR) libThotKernel.a $(THOTK_OBJ) $(KERNEL_OBJ)
                    252:        $(RANLIB) libThotKernel.a
                    253:        @$(ECHO) "====>" libThotKernel is done
                    254: 
1.4       cvs       255: libThotEditor : directories libThotEditor.a
                    256: 
1.28      cvs       257: libThotEditor.a : $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
                    258:        $(AR) libThotEditor.a $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
1.1       cvs       259:        $(RANLIB) libThotEditor.a
                    260:        @$(ECHO) "====>" libThotEditor is done
                    261: 
                    262: #
                    263: # Rules for producing the print binary
                    264: #
                    265: 
                    266: PRINT_OBJ= \
                    267:        dialogue/nodialog.o \
                    268:        tree/paginatePP.o \
                    269:        view/initpses.o \
                    270:        view/psdisplay.o \
                    271:        editing/print.o
                    272: 
1.22      cvs       273: tree/paginatePP.o : @srcdir@/tree/paginate.c @srcdir@/include/thot_sys.h
1.34      cvs       274:        $(CC) $(CFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DPAGINEETIMPRIME -c @srcdir@/tree/paginate.c -o $@
1.1       cvs       275: 
1.14      cvs       276: print : ../bin ../bin/print
                    277: 
                    278: ../bin :
                    279:        @(mkdir ../bin)
1.1       cvs       280: 
1.28      cvs       281: ../bin/print : $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../tablelib/libThotTable.a \
1.35      cvs       282:         ../amaya/libCSS.a
1.28      cvs       283:        $(CC) $(LDFLAGS) -o $@ $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../amaya/libCSS.a -lThotTable $(LIBS)
1.1       cvs       284:        @$(ECHO) "====>" print is done
                    285: 
1.6       cvs       286: CEXTRACT= ../bin/cextract
                    287: 
                    288: $(CEXTRACT) :
1.10      cvs       289:        @(cd ../tools/cextract-$(CEXTRACT_VER) ; $(MAKE) )
1.6       cvs       290: 
                    291: proto : ../bin/cextract
                    292:        @(for i in @srcdir@/*/*.c ; \
                    293:          do \
                    294:          dir=`dirname $$i`;base=`basename $$i .c`; \
                    295:          dir="$$dir/../internals" ; \
                    296:          if [ ! -d $$dir/f ] ; then $(MKDIR) $$dir/f ;fi;\
                    297:          $(CEXTRACT) $(CEXTRACT_FLAGS) -o /tmp/cextract.$$base.$$$$ $$i 2> /dev/null ; \
                    298:          if [ -f $$dir/f/"$$base"_f.h ] ; \
                    299:          then \
                    300:              delta=`$(DIFF) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h` ; \
                    301:              if [ "$$delta" != "" ] ; \
                    302:              then \
                    303:                  echo "  $$i proto changed" ; \
                    304:                  $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
                    305:               else \
                    306:                  $(RM) /tmp/cextract.$$base.$$$$ ; \
                    307:              fi ; \
                    308:          else \
                    309:              echo "  $$i proto added" ; \
                    310:              $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
                    311:          fi ; \
                    312:         done)
                    313: 

Webmaster