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

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.77      gully      15: INCLUDES= -DHAVE_CONFIG_H -I.. -I@top_srcdir@/amaya/xpm ${THOTINCLUDES} $(GUI_INCLUDES) $(GL_INCLUDES) $(GTK_GL_INCLUDES) $(XFT_INCLUDES) $(FREETYPE_INCLUDES) ${EXTRA_INCLUDES}
                     16: LIBS   = -L. -L.. @LIBS@ $(IMGLIBS) $(EXTRA_LIBS) $(GL_LIBRARIES) $(GTK_GL_LIBRARIES) $(XFT_LIBRARIES) $(FREETYPE_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
1.78      gully      72:        ../tools/mkdep/mkdep -relative -vpath $(VPATH) $(INCLUDES) $(VPATH)/*/*.c $(VPATH)/*/*.cpp  > .depends
1.1       cvs        73: 
                     74: #########################################################################
                     75: #                                                                      #
                     76: #              Rules to build the main libraries                       #
                     77: #                                                                      #
                     78: #########################################################################
                     79: 
                     80: THOTK_OBJ = \
1.81      gully      81:        base/AmayaApp.o \
                     82:        base/wxAmayaTimer.o \
                     83:         base/wxAmayaSocketEvent.o \
                     84:         base/wxAmayaSocketEventLoop.o \
1.64      gully      85:        base/global.o \
1.1       cvs        86:        base/fileaccess.o \
                     87:        base/memory.o \
                     88:        base/message.o \
                     89:        base/platform.o \
                     90:        base/registry.o \
1.82    ! gully      91:        base/registry_wx.o \
        !            92:        base/message_wx.o \
1.1       cvs        93:        base/actions.o \
                     94:        base/units.o \
                     95:        document/externalref.o \
                     96:        document/language.o \
                     97:        document/readprs.o \
                     98:        document/readstr.o \
                     99:        document/readtra.o \
                    100:        document/schtrad.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/uconvert.o \
1.42      cvs       106:        unicode/ustring.o
1.1       cvs       107: 
                    108: KERNEL_OBJ = \
                    109:        base/batchmessage.o \
1.28      cvs       110:        base/structlist.o \
1.1       cvs       111:        content/contentapiND.o \
                    112:        content/contentND.o \
                    113:        dialogue/nodisplay.o \
                    114:        document/documentapiND.o \
1.60      vatton    115:        document/pivot.o \
                    116:        document/readpivot.o \
1.38      cvs       117:        document/schemasND.o \
1.60      vatton    118:        document/writepivotND.o \
1.1       cvs       119:        editing/applicationapiND.o \
                    120:        presentation/presentationapiND.o \
                    121:        tree/attributeapiND.o \
1.28      cvs       122:        tree/references.o \
1.1       cvs       123:        tree/referenceapiND.o \
1.28      cvs       124:        tree/structschema.o \
1.15      cvs       125:        tree/treeapiND.o 
1.1       cvs       126: 
1.28      cvs       127: DISPLAY_OBJ = \
                    128:        content/content.o \
                    129:        content/dictionary.o \
1.53      cheyroul  130:        image/encdec.o \
1.48      cheyroul  131:        dialogue/fontserver.o \
1.52      cheyroul  132:        dialogue/fontconfig.o \
1.28      cvs       133:        dialogue/font.o \
1.51      cheyroul  134:        dialogue/stix.o \
1.28      cvs       135:        document/documentapi.o \
                    136:        document/readpivot.o \
                    137:        document/schemas.o \
1.36      cvs       138:        document/translation.o \
1.28      cvs       139:        editing/applicationapi.o \
                    140:        image/abspictures.o \
1.1       cvs       141:        image/epshandler.o \
1.28      cvs       142:        image/gifhandler.o \
1.1       cvs       143:        image/jpeghandler.o \
                    144:        image/picture.o \
1.28      cvs       145:        image/pnghandler.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.62      cheyroul  182:        view/hyphen.o \
                    183:         view/tesse.o \
                    184:        view/glgradient.o \
                    185:        dialogue/glglyph.o \
                    186:        dialogue/openglfont.o \
1.63      cheyroul  187:        view/glwindowdisplay.o \
                    188:        view/gldisplay.o \
                    189:        view/spline.o
1.1       cvs       190: 
1.28      cvs       191: EDITOR_OBJ = \
                    192:        base/alloca.o \
                    193:        base/config.o \
                    194:        base/thotmsg.o \
                    195:        base/structlist.o \
                    196:        content/contentapi.o \
                    197:        content/search.o \
                    198:        content/searchref.o \
                    199:        content/word.o \
                    200:        dialogue/callback.o\
                    201:        dialogue/callbackinit.o \
1.1       cvs       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/creationmenu.o \
                    210:        dialogue/dialogapi.o \
1.28      cvs       211:        dialogue/geom.o \
1.1       cvs       212:        dialogue/input.o \
                    213:        dialogue/interface.o \
                    214:        dialogue/keyboards.o \
                    215:        dialogue/modiftype.o \
1.27      cvs       216:        dialogue/profiles.o \
1.1       cvs       217:        dialogue/presentmenu.o \
                    218:        dialogue/printmenu.o \
                    219:        dialogue/searchmenu.o \
                    220:        dialogue/selectmenu.o \
1.68      gully     221:        dialogue/AmayaWindow.o \
1.80      gully     222:        dialogue/AmayaSimpleWindow.o \
                    223:        dialogue/AmayaNormalWindow.o \
1.68      gully     224:        dialogue/AmayaPanel.o \
                    225:        dialogue/AmayaPage.o \
1.66      gully     226:        dialogue/AmayaFrame.o \
1.68      gully     227:        dialogue/AmayaCanvas.o \
1.69      gully     228:        dialogue/AmayaNotebook.o \
1.71      gully     229:        dialogue/AmayaURLBar.o \
1.72      gully     230:        dialogue/AmayaToolBar.o \
1.79      gully     231:        dialogue/AmayaTextGraber.o \
1.68      gully     232:        dialogue/appdialogue_wx.o \
1.28      cvs       233:        document/pivot.o \
                    234:        document/docs.o \
1.1       cvs       235:        document/views.o \
1.15      cvs       236:        document/writedoc.o \
1.1       cvs       237:        document/writepivot.o \
                    238:        editing/checkermenu.o \
                    239:        editing/editcommands.o \
1.28      cvs       240:        editing/scroll.o \
                    241:        editing/spellchecker.o \
1.1       cvs       242:        editing/selectionapi.o \
                    243:        editing/structcommands.o \
                    244:        editing/structcreation.o \
                    245:        editing/structmodif.o \
                    246:        editing/structselect.o \
                    247:        editing/textcommands.o \
1.28      cvs       248:        editing/undo.o \
                    249:        editing/undoapi.o \
1.1       cvs       250:        editing/unstructchange.o\
1.28      cvs       251:        image/pictureapi.o \
                    252:        presentation/presentationapi.o \
                    253:        tree/attributeapi.o \
                    254:        tree/paginate.o \
                    255:        tree/referenceapi.o \
                    256:        tree/res.o \
                    257:        tree/resmatch.o \
                    258:        tree/resgen.o \
                    259:        tree/treeapi.o \
1.67      vatton    260:        view/animbox.o \
1.1       cvs       261:        view/boxlocate.o \
1.28      cvs       262:        view/boxparams.o \
1.1       cvs       263:        view/boxselection.o \
                    264:        view/displayselect.o \
1.67      vatton    265:        view/glbox.o \
                    266:        view/gltimer.o \
1.28      cvs       267:        view/inites.o \
1.67      vatton    268:        view/tableH.o \
1.1       cvs       269:        view/unstructlocate.o\
1.28      cvs       270:        view/viewapi.o \
1.67      vatton    271:        view/xwindowdisplay.o
1.1       cvs       272: 
                    273: base/registry.o : @srcdir@/base/registry.c
1.65      gully     274:        $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) \
1.45      kahan     275:           -DCOMPILED_IN_THOTDIR=\"@top_srcdir@\" \
1.17      cvs       276:           -DCOMPILED_IN_THOTDIR2=\"@prefix@/thot\" \
1.46      kahan     277:           -DNODISPLAY \
1.8       cvs       278:           -DMACHINE=\"$(MACHINE)\" -c @srcdir@/base/registry.c -o $@
1.1       cvs       279: 
1.4       cvs       280: libThotKernel : directories libThotKernel.a
                    281: 
                    282: libThotKernel.a : $(THOTK_OBJ) $(KERNEL_OBJ)
1.1       cvs       283:        $(AR) libThotKernel.a $(THOTK_OBJ) $(KERNEL_OBJ)
                    284:        $(RANLIB) libThotKernel.a
                    285:        @$(ECHO) "====>" libThotKernel is done
                    286: 
1.4       cvs       287: libThotEditor : directories libThotEditor.a
                    288: 
1.28      cvs       289: libThotEditor.a : $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
                    290:        $(AR) libThotEditor.a $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
1.1       cvs       291:        $(RANLIB) libThotEditor.a
                    292:        @$(ECHO) "====>" libThotEditor is done
                    293: 
                    294: #
                    295: # Rules for producing the print binary
                    296: #
                    297: 
                    298: PRINT_OBJ= \
1.81      gully     299:        dialogue/AmayaPrintNotify.o \
1.1       cvs       300:        dialogue/nodialog.o \
                    301:        tree/paginatePP.o \
                    302:        view/initpses.o \
                    303:        view/psdisplay.o \
1.63      cheyroul  304:        view/printgl.o \
1.67      vatton    305:        view/tableH.o \
1.1       cvs       306:        editing/print.o
                    307: 
1.22      cvs       308: tree/paginatePP.o : @srcdir@/tree/paginate.c @srcdir@/include/thot_sys.h
1.65      gully     309:        $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DPAGINEETIMPRIME -c @srcdir@/tree/paginate.c -o $@
1.1       cvs       310: 
1.14      cvs       311: print : ../bin ../bin/print
                    312: 
                    313: ../bin :
                    314:        @(mkdir ../bin)
1.1       cvs       315: 
1.67      vatton    316: ../bin/print : $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) \
1.35      cvs       317:         ../amaya/libCSS.a
1.67      vatton    318:        $(CXX) $(LDFLAGS) -o $@ $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../amaya/libCSS.a $(LIBS)
1.1       cvs       319:        @$(ECHO) "====>" print is done
                    320: 
1.6       cvs       321: CEXTRACT= ../bin/cextract
                    322: 
                    323: $(CEXTRACT) :
1.10      cvs       324:        @(cd ../tools/cextract-$(CEXTRACT_VER) ; $(MAKE) )
1.6       cvs       325: 
                    326: proto : ../bin/cextract
                    327:        @(for i in @srcdir@/*/*.c ; \
                    328:          do \
                    329:          dir=`dirname $$i`;base=`basename $$i .c`; \
                    330:          dir="$$dir/../internals" ; \
                    331:          if [ ! -d $$dir/f ] ; then $(MKDIR) $$dir/f ;fi;\
                    332:          $(CEXTRACT) $(CEXTRACT_FLAGS) -o /tmp/cextract.$$base.$$$$ $$i 2> /dev/null ; \
                    333:          if [ -f $$dir/f/"$$base"_f.h ] ; \
                    334:          then \
                    335:              delta=`$(DIFF) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h` ; \
                    336:              if [ "$$delta" != "" ] ; \
                    337:              then \
                    338:                  echo "  $$i proto changed" ; \
                    339:                  $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
                    340:               else \
                    341:                  $(RM) /tmp/cextract.$$base.$$$$ ; \
                    342:              fi ; \
                    343:          else \
                    344:              echo "  $$i proto added" ; \
                    345:              $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
                    346:          fi ; \
                    347:         done)
                    348: 

Webmaster