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

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

Webmaster