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

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.10      cvs        14: INCLUDES= -DHAVE_CONFIG_H -I.. @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.15    ! cvs        25: OBJDIRS = base content dialogue document editing image presentation tree view xml
1.1       cvs        26: 
                     27: @SET_MAKE@
                     28: 
                     29: #
                     30: # Rule to build standard objects
                     31: #
                     32: .c.o :
                     33:        $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
                     34: 
                     35: #
                     36: # Rule to build specific objects for libThotKernel.a
                     37: #
                     38: .cND.o :
                     39:        $(CC) $(CFLAGS) $(INCLUDES) -DNODISPLAY -c $< -o $@
                     40: 
                     41: all : directories libThotKernel.a libThotEditor.a print
                     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: 
                     69: include .depends
                     70: 
                     71: ../tools/mkdep/mkdep : 
                     72:        @(cd ../tools/mkdep ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)")
                     73: 
                     74: .depends depend : ../tools/mkdep/mkdep
                     75:        ../tools/mkdep/mkdep -relative -vpath $(VPATH) $(INCLUDES) $(VPATH)/*/*.c  > .depends
                     76: 
                     77: #########################################################################
                     78: #                                                                      #
                     79: #              Rules to build the main libraries                       #
                     80: #                                                                      #
                     81: #########################################################################
                     82: 
                     83: THOTK_OBJ = \
                     84:        base/fileaccess.o \
                     85:        base/memory.o \
                     86:        base/message.o \
                     87:        base/platform.o \
                     88:        base/registry.o \
                     89:        base/structlist.o \
                     90:        base/actions.o \
                     91:        base/units.o \
                     92:        document/externalref.o \
                     93:        document/language.o \
                     94:        document/pivot.o \
                     95:        document/readprs.o \
                     96:        document/readstr.o \
                     97:        document/readtra.o \
                     98:        document/schtrad.o \
                     99:        document/translation.o \
                    100:        tree/draw.o \
1.11      cvs       101:        tree/res.o \
                    102:        tree/resmatch.o \
                    103:        tree/resgen.o \
1.1       cvs       104:        tree/exceptions.o \
                    105:        tree/references.o \
                    106:        tree/structschema.o \
                    107:        tree/tree.o \
                    108:        tree/checkaccess.o \
1.15    ! cvs       109:        tree/labelalloc.o \
        !           110:        xml/writexml.o \
        !           111:        xml/savexml.o \
        !           112:        xml/translatexml.o \
        !           113:        xml/parsexml.o \
        !           114:        xml/xmlmodule.o \
        !           115:        xml/thotmodule.o
1.1       cvs       116: 
                    117: KERNEL_OBJ = \
                    118:        base/batchmessage.o \
                    119:        content/contentapiND.o \
                    120:        content/contentND.o \
                    121:        dialogue/nodisplay.o \
                    122:        document/documentapiND.o \
                    123:        document/readpivot.o \
                    124:        document/schemastr.o \
                    125:        document/writepivotND.o \
                    126:        editing/applicationapiND.o \
                    127:        presentation/presentationapiND.o \
                    128:        tree/attributeapiND.o \
                    129:        tree/referenceapiND.o \
1.15    ! cvs       130:        tree/treeapiND.o 
1.1       cvs       131: 
                    132: EDITOR_OBJ = \
                    133:        image/xbmhandler.o \
                    134:        image/epshandler.o \
                    135:        image/gifhandler.o      \
                    136:        image/jpeghandler.o \
                    137:        image/picture.o \
                    138:        image/picturebase.o \
                    139:        image/xpmhandler.o \
                    140:        image/pnghandler.o \
1.13      cvs       141:        image/xpmattrib.o\
1.1       cvs       142:        image/xpmcreate.o\
                    143:        image/xpmcrifrdata.o\
                    144:        image/xpmcrpfrdata.o\
1.13      cvs       145:        image/xpmcrpfri.o\
1.1       cvs       146:        image/xpmdata.o\
1.13      cvs       147:        image/xpmhashtab.o\
                    148:        image/xpmimage.o\
                    149:        image/xpminfo.o\
1.1       cvs       150:        image/xpmmisc.o\
                    151:        image/xpmparse.o\
                    152:        image/xpmrdftoi.o\
                    153:        image/xpmrdftop.o\
                    154:        base/alloca.o \
                    155:        base/config.o \
                    156:        base/thotmsg.o \
                    157:        content/contentapi.o \
                    158:        content/content.o \
                    159:        content/dictionary.o \
                    160:        content/search.o \
                    161:        content/searchref.o \
                    162:        content/word.o \
                    163:        dialogue/callback.o\
                    164:        dialogue/callbackinit.o \
                    165:        dialogue/font.o \
                    166:        dialogue/geom.o \
                    167:        editing/scroll.o \
                    168:        editing/selectionapi.o \
                    169:        editing/spellchecker.o \
                    170:        image/abspictures.o \
                    171:        image/pictureapi.o \
                    172:        presentation/changepresent.o \
                    173:        presentation/genericdriver.o \
                    174:        presentation/presentationapi.o \
                    175:        presentation/presentdriver.o \
                    176:        presentation/presvariables.o \
                    177:        presentation/pschemaapi.o \
                    178:        presentation/specificdriver.o \
                    179:        presentation/attrpresent.o \
                    180:        tree/attributeapi.o \
                    181:        tree/pagecommands.o \
                    182:        tree/paginate.o \
                    183:        tree/referenceapi.o \
                    184:        tree/treeapi.o \
                    185:        view/absboxes.o \
                    186:        view/boxmoves.o \
                    187:        view/boxparams.o \
                    188:        view/boxpositions.o \
                    189:        view/boxrelations.o \
                    190:        view/buildboxes.o \
                    191:        view/buildlines.o \
                    192:        view/changeabsbox.o \
                    193:        view/createabsbox.o \
                    194:        view/createpages.o \
                    195:        view/frame.o \
                    196:        view/hyphen.o \
                    197:        view/inites.o \
                    198:        view/windowdisplay.o
                    199: 
                    200: DIALOGUE_OBJ = \
                    201:        dialogue/LiteClue.o \
                    202:        dialogue/appdialogue.o \
                    203:        dialogue/appli.o \
                    204:        dialogue/attrmenu.o \
                    205:        dialogue/browser.o \
                    206:        dialogue/closedoc.o \
                    207:        dialogue/colors.o \
                    208:        dialogue/context.o \
                    209:        dialogue/createdoc.o \
                    210:        dialogue/creationmenu.o \
                    211:        dialogue/dialogapi.o \
                    212:        dialogue/input.o \
                    213:        dialogue/interface.o \
                    214:        dialogue/keyboards.o \
                    215:        dialogue/lookup.o \
                    216:        dialogue/modiftype.o \
                    217:        dialogue/opendoc.o \
                    218:        dialogue/openview.o \
                    219:        dialogue/picturemenu.o \
                    220:        dialogue/presentmenu.o \
                    221:        dialogue/printmenu.o \
                    222:        dialogue/extprintmenu.o \
                    223:        dialogue/quit.o \
                    224:        dialogue/savedoc.o \
                    225:        dialogue/searchmenu.o \
                    226:        dialogue/searchmenustr.o \
                    227:        dialogue/selectmenu.o \
                    228:        dialogue/visibility.o \
                    229:        dialogue/zoom.o \
                    230:        document/documentapi.o \
                    231:        document/readpivot.o \
                    232:        document/schemas.o \
                    233:        document/views.o \
                    234:        document/docs.o \
1.15    ! cvs       235:        document/writedoc.o \
1.1       cvs       236:        document/writepivot.o \
                    237:        editing/applicationapi.o \
                    238:        editing/checkermenu.o \
                    239:        editing/editcommands.o \
                    240:        editing/selectionapi.o \
                    241:        editing/structchange.o\
                    242:        editing/structcommands.o \
                    243:        editing/structcreation.o \
                    244:        editing/structmodif.o \
                    245:        editing/structselect.o \
                    246:        editing/textcommands.o \
                    247:        editing/unstructchange.o\
                    248:        editing/viewcommands.o \
                    249:        presentation/presrules.o \
                    250:        tree/attributes.o \
                    251:        view/boxlocate.o \
                    252:        view/boxselection.o \
                    253:        view/displaybox.o \
                    254:        view/displayselect.o \
                    255:        view/structlocate.o\
                    256:        view/unstructlocate.o\
1.15    ! cvs       257:        view/viewapi.o
1.1       cvs       258: 
                    259: base/registry.o : @srcdir@/base/registry.c
                    260:        $(CC) $(CFLAGS) $(INCLUDES) -DCOMPILED_IN_THOTDIR=\"@top_srcdir@\" \
1.8       cvs       261:           -DCOMPILED_IN_THOTDIR2=\"@datadir@/thot\" \
                    262:           -DMACHINE=\"$(MACHINE)\" -c @srcdir@/base/registry.c -o $@
1.1       cvs       263: 
1.4       cvs       264: libThotKernel : directories libThotKernel.a
                    265: 
                    266: libThotKernel.a : $(THOTK_OBJ) $(KERNEL_OBJ)
1.1       cvs       267:        $(AR) libThotKernel.a $(THOTK_OBJ) $(KERNEL_OBJ)
                    268:        $(RANLIB) libThotKernel.a
                    269:        @$(ECHO) "====>" libThotKernel is done
                    270: 
1.4       cvs       271: libThotEditor : directories libThotEditor.a
                    272: 
                    273: libThotEditor.a : $(THOTK_OBJ) $(EDITOR_OBJ) $(DIALOGUE_OBJ)
1.1       cvs       274:        $(AR) libThotEditor.a $(THOTK_OBJ) $(EDITOR_OBJ) $(DIALOGUE_OBJ)
                    275:        $(RANLIB) libThotEditor.a
                    276:        @$(ECHO) "====>" libThotEditor is done
                    277: 
                    278: #
                    279: # Rules for producing the print binary
                    280: #
                    281: 
                    282: PRINT_OBJ= \
                    283:        dialogue/nodialog.o \
                    284:        tree/paginatePP.o \
                    285:        view/initpses.o \
                    286:        view/psdisplay.o \
                    287:        editing/print.o
                    288: 
                    289: tree/paginatePP.o : @srcdir@/tree/paginate.c
                    290:        $(CC) $(CFLAGS) $(INCLUDES) -DPAGINEETIMPRIME -c @srcdir@/tree/paginate.c -o $@
                    291: 
1.14      cvs       292: print : ../bin ../bin/print
                    293: 
                    294: ../bin :
                    295:        @(mkdir ../bin)
1.1       cvs       296: 
                    297: ../bin/print : $(PRINT_OBJ) libThotEditor.a ../tablelib/libThotTable.a ../libpng.a ../libz.a ../libjpeg.a
                    298:        $(CC) $(LDFLAGS) -o $@ $(PRINT_OBJ) -lThotTable -lThotEditor $(LIBS)
                    299:        @$(ECHO) "====>" print is done
                    300: 
1.6       cvs       301: CEXTRACT= ../bin/cextract
                    302: 
                    303: $(CEXTRACT) :
1.10      cvs       304:        @(cd ../tools/cextract-$(CEXTRACT_VER) ; $(MAKE) )
1.6       cvs       305: 
                    306: proto : ../bin/cextract
                    307:        @(for i in @srcdir@/*/*.c ; \
                    308:          do \
                    309:          dir=`dirname $$i`;base=`basename $$i .c`; \
                    310:          dir="$$dir/../internals" ; \
                    311:          if [ ! -d $$dir/f ] ; then $(MKDIR) $$dir/f ;fi;\
                    312:          $(CEXTRACT) $(CEXTRACT_FLAGS) -o /tmp/cextract.$$base.$$$$ $$i 2> /dev/null ; \
                    313:          if [ -f $$dir/f/"$$base"_f.h ] ; \
                    314:          then \
                    315:              delta=`$(DIFF) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h` ; \
                    316:              if [ "$$delta" != "" ] ; \
                    317:              then \
                    318:                  echo "  $$i proto changed" ; \
                    319:                  $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
                    320:               else \
                    321:                  $(RM) /tmp/cextract.$$base.$$$$ ; \
                    322:              fi ; \
                    323:          else \
                    324:              echo "  $$i proto added" ; \
                    325:              $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
                    326:          fi ; \
                    327:         done)
                    328: 

Webmaster