Make targ-cpu.o depend on config.h so gas will build from scratch.
[deliverable/binutils-gdb.git] / gas / listing.h
CommitLineData
6efd877d 1
3340f7e5
RP
2/* This file is listing.h
3 Copyright (C) 1987-1992 Free Software Foundation, Inc.
6efd877d 4
3340f7e5 5 This file is part of GAS, the GNU Assembler.
6efd877d 6
3340f7e5
RP
7 GAS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
6efd877d 11
3340f7e5
RP
12 GAS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
6efd877d 16
3340f7e5
RP
17 You should have received a copy of the GNU General Public License
18 along with GAS; see the file COPYING. If not, write to
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
5d9f0ecf 20
3340f7e5
RP
21
22#ifndef __listing_h__
23#define __listing_h__
5d9f0ecf
SC
24
25#define LISTING_LISTING 1
26#define LISTING_SYMBOLS 2
27#define LISTING_NOFORM 4
8b228fe9
RP
28#define LISTING_HLL 8
29#define LISTING_NODEBUG 16
5d9f0ecf 30
8b228fe9 31#define LISTING_DEFAULT (LISTING_LISTING | LISTING_HLL | LISTING_SYMBOLS)
5d9f0ecf 32
3340f7e5
RP
33#ifndef NO_LISTING
34
35#define LISTING_NEWLINE() { if (listing) listing_newline(input_line_pointer); }
36
37
38#if __STDC__ == 1
39
6efd877d
KR
40void listing_eject (void);
41void listing_error (char *message);
42void listing_file (char *name);
43void listing_flags (void);
44void listing_list (unsigned int on);
45void listing_newline (char *ps);
46void listing_print (char *name);
47void listing_psize (void);
48void listing_source_file (char *);
49void listing_source_line (unsigned int);
50void listing_title (unsigned int depth);
51void listing_warning (char *message);
52void listing_width (unsigned int x);
3340f7e5
RP
53
54#else /* not __STDC__ */
55
6efd877d
KR
56void listing_eject ();
57void listing_error ();
58void listing_file ();
59void listing_flags ();
60void listing_list ();
61void listing_newline ();
62void listing_print ();
63void listing_psize ();
64void listing_source_file ();
65void listing_source_line ();
66void listing_title ();
67void listing_warning ();
68void listing_width ();
3340f7e5
RP
69
70#endif /* not __STDC__ */
71
6efd877d 72#else /* NO_LISTING */
3340f7e5
RP
73
74#define LISTING_NEWLINE() {;}
75
76/* Dummy functions for when compiled without listing enabled */
77
6efd877d
KR
78#define listing_flags() {;}
79#define listing_list() {;}
80#define listing_eject() {;}
81#define listing_psize() {;}
82#define listing_title(depth) {;}
83#define listing_file(name) {;}
84#define listing_newline(name) {;}
85#define listing_source_line(n) {;}
86#define listing_source_file(n) {;}
87
88#endif /* NO_LISTING */
3340f7e5
RP
89
90#endif /* __listing_h__ */
91
8b228fe9 92/* end of listing.h */
This page took 0.049134 seconds and 4 git commands to generate.