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

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.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.64    ! gully      35:        $(CC) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -c $< -o $@
        !            36: 
        !            37: #
        !            38: # Rule to build c++ files
        !            39: #
        !            40: .cpp.o :
        !            41:        $(CXX) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -c $< -o $@
1.1       cvs        42: 
                     43: #
                     44: # Rule to build specific objects for libThotKernel.a
                     45: #
                     46: .cND.o :
1.64    ! gully      47:        $(CC) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DNODISPLAY -c $< -o $@
1.1       cvs        48: 
1.28      cvs        49: all : directories libThotKernel.a libThotEditor.a
1.1       cvs        50: 
                     51: clean :
                     52:        $(RM) libThotKernel.a libThotEditor.a
1.9       cvs        53:        (for dir in $(OBJDIRS) ; do $(RM) -r $$dir/*.o ; done)
1.1       cvs        54: 
1.12      cvs        55: install :
1.7       cvs        56: 
                     57: uninstall:
1.1       cvs        58: 
                     59: directories :
                     60:        @(for dir in $(OBJDIRS) ; \
                     61:          do if test ! -d $$dir ; then $(MKDIR) $$dir ; fi ; done)
                     62: 
                     63: force :
                     64: 
                     65: ../tablelib/libThotTable.a : force
1.5       cvs        66:        @(cd ../tablelib ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" libThotTable)
1.1       cvs        67: 
1.28      cvs        68: ../amaya/libCSS.a : force
                     69:        @(cd ../amaya ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" libCSS)
                     70: 
1.1       cvs        71: include .depends
                     72: 
                     73: ../tools/mkdep/mkdep : 
                     74:        @(cd ../tools/mkdep ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)")
                     75: 
                     76: .depends depend : ../tools/mkdep/mkdep
                     77:        ../tools/mkdep/mkdep -relative -vpath $(VPATH) $(INCLUDES) $(VPATH)/*/*.c  > .depends
                     78: 
                     79: #########################################################################
                     80: #                                                                      #
                     81: #              Rules to build the main libraries                       #
                     82: #                                                                      #
                     83: #########################################################################
                     84: 
                     85: THOTK_OBJ = \
1.64    ! gully      86:        base/global.o \
1.1       cvs        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:        tree/exceptions.o \
                    101:        tree/tree.o \
                    102:        tree/checkaccess.o \
1.15      cvs       103:        tree/labelalloc.o \
1.19      cvs       104:        unicode/uconvert.o \
1.42      cvs       105:        unicode/ustring.o
1.1       cvs       106: 
                    107: KERNEL_OBJ = \
                    108:        base/batchmessage.o \
1.28      cvs       109:        base/structlist.o \
1.1       cvs       110:        content/contentapiND.o \
                    111:        content/contentND.o \
                    112:        dialogue/nodisplay.o \
                    113:        document/documentapiND.o \
1.60      vatton    114:        document/pivot.o \
                    115:        document/readpivot.o \
1.38      cvs       116:        document/schemasND.o \
1.60      vatton    117:        document/writepivotND.o \
1.1       cvs       118:        editing/applicationapiND.o \
                    119:        presentation/presentationapiND.o \
                    120:        tree/attributeapiND.o \
1.28      cvs       121:        tree/references.o \
1.1       cvs       122:        tree/referenceapiND.o \
1.28      cvs       123:        tree/structschema.o \
1.15      cvs       124:        tree/treeapiND.o 
1.1       cvs       125: 
1.28      cvs       126: DISPLAY_OBJ = \
                    127:        content/content.o \
                    128:        content/dictionary.o \
1.53      cheyroul  129:        image/encdec.o \
1.48      cheyroul  130:        dialogue/fontserver.o \
1.52      cheyroul  131:        dialogue/fontconfig.o \
1.28      cvs       132:        dialogue/font.o \
1.51      cheyroul  133:        dialogue/stix.o \
1.28      cvs       134:        document/documentapi.o \
                    135:        document/readpivot.o \
                    136:        document/schemas.o \
1.36      cvs       137:        document/translation.o \
1.28      cvs       138:        editing/applicationapi.o \
                    139:        image/abspictures.o \
1.1       cvs       140:        image/epshandler.o \
1.28      cvs       141:        image/gifhandler.o \
1.1       cvs       142:        image/jpeghandler.o \
                    143:        image/picture.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.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/LiteClue.o \
                    203:        dialogue/appdialogue.o \
                    204:        dialogue/appli.o \
                    205:        dialogue/attrmenu.o \
                    206:        dialogue/browser.o \
                    207:        dialogue/closedoc.o \
                    208:        dialogue/colors.o \
                    209:        dialogue/context.o \
                    210:        dialogue/creationmenu.o \
                    211:        dialogue/dialogapi.o \
1.28      cvs       212:        dialogue/geom.o \
1.1       cvs       213:        dialogue/input.o \
                    214:        dialogue/interface.o \
                    215:        dialogue/keyboards.o \
                    216:        dialogue/modiftype.o \
1.27      cvs       217:        dialogue/profiles.o \
1.1       cvs       218:        dialogue/presentmenu.o \
                    219:        dialogue/printmenu.o \
                    220:        dialogue/quit.o \
                    221:        dialogue/searchmenu.o \
                    222:        dialogue/selectmenu.o \
1.28      cvs       223:        document/pivot.o \
                    224:        document/docs.o \
1.1       cvs       225:        document/views.o \
1.15      cvs       226:        document/writedoc.o \
1.1       cvs       227:        document/writepivot.o \
                    228:        editing/checkermenu.o \
                    229:        editing/editcommands.o \
1.28      cvs       230:        editing/scroll.o \
                    231:        editing/spellchecker.o \
1.1       cvs       232:        editing/selectionapi.o \
                    233:        editing/structcommands.o \
                    234:        editing/structcreation.o \
                    235:        editing/structmodif.o \
                    236:        editing/structselect.o \
                    237:        editing/textcommands.o \
1.28      cvs       238:        editing/undo.o \
                    239:        editing/undoapi.o \
1.1       cvs       240:        editing/unstructchange.o\
1.28      cvs       241:        image/pictureapi.o \
                    242:        presentation/presentationapi.o \
                    243:        tree/attributeapi.o \
                    244:        tree/paginate.o \
                    245:        tree/referenceapi.o \
                    246:        tree/res.o \
                    247:        tree/resmatch.o \
                    248:        tree/resgen.o \
                    249:        tree/treeapi.o \
1.1       cvs       250:        view/boxlocate.o \
1.28      cvs       251:        view/boxparams.o \
1.1       cvs       252:        view/boxselection.o \
                    253:        view/displayselect.o \
1.28      cvs       254:        view/inites.o \
1.1       cvs       255:        view/unstructlocate.o\
1.28      cvs       256:        view/viewapi.o \
1.62      cheyroul  257:        view/xwindowdisplay.o \
1.63      cheyroul  258:        view/animbox.o \
                    259:        view/gltimer.o \
                    260:        view/glbox.o
1.1       cvs       261: 
                    262: base/registry.o : @srcdir@/base/registry.c
1.64    ! gully     263:        $(CC) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) \
1.45      kahan     264:           -DCOMPILED_IN_THOTDIR=\"@top_srcdir@\" \
1.17      cvs       265:           -DCOMPILED_IN_THOTDIR2=\"@prefix@/thot\" \
1.46      kahan     266:           -DNODISPLAY \
1.8       cvs       267:           -DMACHINE=\"$(MACHINE)\" -c @srcdir@/base/registry.c -o $@
1.1       cvs       268: 
1.4       cvs       269: libThotKernel : directories libThotKernel.a
                    270: 
                    271: libThotKernel.a : $(THOTK_OBJ) $(KERNEL_OBJ)
1.1       cvs       272:        $(AR) libThotKernel.a $(THOTK_OBJ) $(KERNEL_OBJ)
                    273:        $(RANLIB) libThotKernel.a
                    274:        @$(ECHO) "====>" libThotKernel is done
                    275: 
1.4       cvs       276: libThotEditor : directories libThotEditor.a
                    277: 
1.28      cvs       278: libThotEditor.a : $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
                    279:        $(AR) libThotEditor.a $(THOTK_OBJ) $(DISPLAY_OBJ) $(EDITOR_OBJ)
1.1       cvs       280:        $(RANLIB) libThotEditor.a
                    281:        @$(ECHO) "====>" libThotEditor is done
                    282: 
                    283: #
                    284: # Rules for producing the print binary
                    285: #
                    286: 
                    287: PRINT_OBJ= \
                    288:        dialogue/nodialog.o \
                    289:        tree/paginatePP.o \
                    290:        view/initpses.o \
                    291:        view/psdisplay.o \
1.63      cheyroul  292:        view/printgl.o \
1.1       cvs       293:        editing/print.o
                    294: 
1.22      cvs       295: tree/paginatePP.o : @srcdir@/tree/paginate.c @srcdir@/include/thot_sys.h
1.64    ! gully     296:        $(CC) $(CXXFLAGS) $(THOT_OPTIONS) $(INCLUDES) -DPAGINEETIMPRIME -c @srcdir@/tree/paginate.c -o $@
1.1       cvs       297: 
1.14      cvs       298: print : ../bin ../bin/print
                    299: 
                    300: ../bin :
                    301:        @(mkdir ../bin)
1.1       cvs       302: 
1.28      cvs       303: ../bin/print : $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../tablelib/libThotTable.a \
1.35      cvs       304:         ../amaya/libCSS.a
1.28      cvs       305:        $(CC) $(LDFLAGS) -o $@ $(THOTK_OBJ) $(DISPLAY_OBJ) $(PRINT_OBJ) ../amaya/libCSS.a -lThotTable $(LIBS)
1.1       cvs       306:        @$(ECHO) "====>" print is done
                    307: 
1.6       cvs       308: CEXTRACT= ../bin/cextract
                    309: 
                    310: $(CEXTRACT) :
1.10      cvs       311:        @(cd ../tools/cextract-$(CEXTRACT_VER) ; $(MAKE) )
1.6       cvs       312: 
                    313: proto : ../bin/cextract
                    314:        @(for i in @srcdir@/*/*.c ; \
                    315:          do \
                    316:          dir=`dirname $$i`;base=`basename $$i .c`; \
                    317:          dir="$$dir/../internals" ; \
                    318:          if [ ! -d $$dir/f ] ; then $(MKDIR) $$dir/f ;fi;\
                    319:          $(CEXTRACT) $(CEXTRACT_FLAGS) -o /tmp/cextract.$$base.$$$$ $$i 2> /dev/null ; \
                    320:          if [ -f $$dir/f/"$$base"_f.h ] ; \
                    321:          then \
                    322:              delta=`$(DIFF) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h` ; \
                    323:              if [ "$$delta" != "" ] ; \
                    324:              then \
                    325:                  echo "  $$i proto changed" ; \
                    326:                  $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
                    327:               else \
                    328:                  $(RM) /tmp/cextract.$$base.$$$$ ; \
                    329:              fi ; \
                    330:          else \
                    331:              echo "  $$i proto added" ; \
                    332:              $(MV) /tmp/cextract.$$base.$$$$ $$dir/f/"$$base"_f.h ; \
                    333:          fi ; \
                    334:         done)
                    335: 

Webmaster