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

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