Tutorialmaketags




Prev | Up | Next | Back | Forward | Online Documentation Home Page


SYNOPSIS

       maketags [ -o tagfile] [-help] [-language 83|95]
                [-alsys] [-alsys_suffix s] [-alsys_family f]
                [-aonix]
                [-decada] [-A decada_library_name]
                [-gnat] [-G gnat_library_directory]
                [-greenhills] [-H library_name]
                [-greenhills95]
                [-tartan] [-L=tartan_library_name]
                [-vads] [-suffix s] [-L vads_library_name]



DESCRIPTION

       maketags consults a library, and uses aa.tags(1)  to  con-
       struct  a  tags file for use by the Ada-ASSURED's built-in
       Ada library browser. The tags file output contains entries
       for  each  package,  task, procedure, function, exception,
       and type declared or specified in one of the Ada files  in
       the scope of the library.

       Ada-ASSURED  uses tags files to find specifications, defi-
       nitions, or stubs associated with uses  of  names  in  Ada
       programs.

       Entries  in  the  tags file appear in no particular order.
       However, when a usage is ambiguous, Ada-ASSURED will  pre-
       sent  alternative  definitions  in the order in which they
       appear in the tags file.  A tags file  can  be  sorted  in
       order of increasing line numbers using the Unix command

              sort +2 -3 +1 -2 filename



OPTIONS

       -o tagfile
              Put  the  output  in  file tagfile.  The default is
              AATAGS.


       -help  Print a helpful usage message.


       -language
              Use the  specified  choice  for  the  Ada  language
              instead of the default.


       -vads  Create tags for a Vads Ada library.  Note that this
              is the same as SunAda.  This is the default under X
              Windows.


       -decada
              Create tags for a DEC-Ada library.


       -A decadalib
              Use  decadalib  as the location of the Ada library.
              This is valid only  in  conjunction  with  -decada.
              The  default  is the value of the environment vari-
              able ADALIB.


       -alsys Create tags for a ALSYS Object Ada library.


       -alsys_suffix s
              Scan source files that have the suffix s.  This  is
              only  valid  in  conjuction  with  -alsys.   It  is
              ignored  if  -alsys_family  or  -alsys_library  are
              specified.  The default is '{.ada,.ads,.adb}'


       -alsys_family f
              Scan all source files contained in all libraries in
              the family.  Only valid in conjuction with  -alsys.


       -alsys_library l
              Scan  all  source  files in library l.  The current
              working directory is the default.   Only  valid  in
              conjuction with -alsys.


       -aonix Create  tags  for  the  Aonix ObjectAda 7.x library
              structure.  The library is assumed  to  be  in  the
              current  directory.  Note, you must have the Objec-
              tAda environment variable set in order to use  this
              option.   This  is the default under Microsoft Win-
              dows.


       -tartan
              Create tags for a Tartan Ada library.


       -L=tartanlib
              Use tartanlib as the location of the  Ada  library.
              This  is  valid  only  in conjunction with -tartan.
              The default is the library set by the  setlib  com-
              mand  in  the  file .adalibrc in the current direc-
              tory.  For details, see the documentation  for  the
              Tartan command adalib1750a.
              Create  tags  for  the  Green  Hills  Ada  compiler
              library.


       -H library_name
              Use the library named by library_name.  Valid  only
              in  conjunction  with  -greenhills.  The default is
              './ada.lib'.


       -greenhills95
              Create tags for  the  Green  Hills  Ada95  compiler
              library.   The library is assumed to be in the cur-
              rent directory.



SEE ALSO

       aa(l), pprint(l), aa.tags(l).

       Ada-ASSURED User Guide & Reference Manual
       Part No. AA-RM-3.5, GrammaTech, Inc., 317 N.  Aurora  St.,
       Ithaca, NY 14850.
       Tel: +1 607 273 7340
       Fax: +1 607 273 8752
       Email: admin@grammatech.com
               support@grammatech.com


COPYRIGHT

       Copyright  1997--2004,  by GrammaTech, Inc., 317 N. Aurora
       St., Ithaca, NY 14850.



Ada-ASSURED        Release 3.5, July 2004        MAKETAGS(l)


Forward