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

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

Webmaster