Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
xorg
util
makedepend
Commits
b61721fb
Commit
b61721fb
authored
Mar 17, 2004
by
Alexander Gottwald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge with XORG-RELEASE-1 (tag XORG-CYGWIN-LAST-MERGE)
parent
39892755
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
33 additions
and
23 deletions
+33
-23
cppsetup.c
cppsetup.c
+1
-1
def.h
def.h
+1
-1
ifparser.c
ifparser.c
+1
-1
ifparser.h
ifparser.h
+1
-1
imakemdep.h
imakemdep.h
+19
-7
include.c
include.c
+1
-1
main.c
main.c
+6
-8
makedepend.man
makedepend.man
+1
-1
parse.c
parse.c
+1
-1
pr.c
pr.c
+1
-1
No files found.
cppsetup.c
View file @
b61721fb
...
...
@@ -24,7 +24,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/config/makedepend/cppsetup.c,v 3.1
1
2001/12/1
7 20
:5
2
:2
2
dawes Exp $ */
/* $XFree86: xc/config/makedepend/cppsetup.c,v 3.1
0
2001/12/1
4 19
:5
3
:2
0
dawes Exp $ */
#include "def.h"
...
...
def.h
View file @
b61721fb
...
...
@@ -24,7 +24,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/config/makedepend/def.h,v 3.1
4 2003/01/17 17:09:49
tsi Exp $ */
/* $XFree86: xc/config/makedepend/def.h,v 3.1
3
tsi Exp $ */
#include "Xos.h"
#include "Xfuncproto.h"
...
...
ifparser.c
View file @
b61721fb
...
...
@@ -59,7 +59,7 @@
*
* ParseIfExpression parse a string for #if
*/
/* $XFree86: xc/config/makedepend/ifparser.c,v 3.1
1 2002/09/23 01:48:08
tsi Exp $ */
/* $XFree86: xc/config/makedepend/ifparser.c,v 3.1
0
tsi Exp $ */
#include "ifparser.h"
#include <ctype.h>
...
...
ifparser.h
View file @
b61721fb
...
...
@@ -57,7 +57,7 @@
* ParseIfExpression parse a string for #if
*/
/* $XFree86: xc/config/makedepend/ifparser.h,v 3.
5
2001/0
7/25 15:04:40
dawes Exp $ */
/* $XFree86: xc/config/makedepend/ifparser.h,v 3.
4
2001/0
1/17 16:38:58
dawes Exp $ */
#include <stdio.h>
...
...
imakemdep.h
View file @
b61721fb
...
...
@@ -371,11 +371,11 @@ char *cpp_argv[ARGUMENTS] = {
# ifdef __ia64__
"-D__ia64__"
,
# endif
# ifdef __
AMD
64__
"-D__
AMD
64__"
,
# ifdef __
amd
64__
"-D__
amd
64__"
,
# endif
# ifdef __x86_64__
"-D__
AMD
64__"
,
"-D__
amd
64__"
,
# endif
# ifdef __s390__
"-D__s390__"
,
...
...
@@ -1014,9 +1014,18 @@ struct symtab predefs[] = {
#ifdef sparc
{
"sparc"
,
"1"
},
#endif
#ifdef __sparc
{
"__sparc"
,
"1"
},
#endif
#ifdef __sparcv9
{
"__sparcv9"
,
"1"
},
#endif
#ifdef __sparc__
{
"__sparc__"
,
"1"
},
#endif
#ifdef __sparcv9__
{
"__sparcv9__"
,
"1"
},
#endif
#ifdef hpux
{
"hpux"
,
"1"
},
#endif
...
...
@@ -1255,14 +1264,17 @@ struct symtab predefs[] = {
# ifdef __ia64__
{
"__ia64__"
,
"1"
},
# endif
# if defined (
AMD
64) || defined (x86_64)
{
"
AMD
64"
,
"1"
},
# if defined (
amd
64) || defined (x86_64)
{
"
amd
64"
,
"1"
},
{
"x86_64"
,
"1"
},
# endif
# if defined (__
AMD
64__) || defined (__x86_64__)
{
"__
AMD
64__"
,
"1"
},
# if defined (__
amd
64__) || defined (__x86_64__)
{
"__
amd
64__"
,
"1"
},
{
"__x86_64__"
,
"1"
},
# endif
# ifdef __i386
{
"__i386"
,
"1"
},
# endif
# ifdef __i386__
{
"__i386__"
,
"1"
},
# endif
...
...
include.c
View file @
b61721fb
...
...
@@ -24,7 +24,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/config/makedepend/include.c,v 3.
7
2001/
12/14 19:53:20 dawes
Exp $ */
/* $XFree86: xc/config/makedepend/include.c,v 3.
6
2001/
04/29 23:25:02 tsi
Exp $ */
#include "def.h"
...
...
main.c
View file @
b61721fb
...
...
@@ -24,7 +24,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/config/makedepend/main.c,v 3.3
2 2003/03/26 20:43:48
tsi Exp $ */
/* $XFree86: xc/config/makedepend/main.c,v 3.3
1
tsi Exp $ */
#include "def.h"
#ifdef hpux
...
...
@@ -56,12 +56,10 @@ int _debugmask;
#endif
/* #define DEBUG_DUMP */
#if 0
#ifdef DEBUG_DUMP
#define DBG_PRINT(args
...
) fprintf(args)
#define DBG_PRINT(
file, fmt,
args) fprintf(
file, fmt,
args)
#else
#define DBG_PRINT(args...) /* empty */
#endif
#define DBG_PRINT(file, fmt, args)
/* empty */
#endif
#define DASH_INC_PRE "#include \""
...
...
@@ -492,7 +490,7 @@ main(int argc, char *argv[])
* now peruse through the list of files.
*/
for
(
fp
=
filelist
;
*
fp
;
fp
++
)
{
/*
DBG_PRINT(stderr,"file: %s\n",*fp);
*/
DBG_PRINT
(
stderr
,
"file: %s
\n
"
,
*
fp
);
filecontent
=
getfile
(
*
fp
);
setfile_cmdinc
(
filecontent
,
cmdinc_count
,
cmdinc_list
);
ip
=
newinclude
(
*
fp
,
(
char
*
)
NULL
);
...
...
@@ -614,7 +612,7 @@ char *getnextline(struct filepointer *filep)
char
*
buf
=
filep
->
cmdinc_list
[
2
*
filep
->
cmdinc_line
+
1
];
filep
->
cmdinc_line
++
;
sprintf
(
buf
,
"%s%s%s"
,
DASH_INC_PRE
,
inc
,
DASH_INC_POST
);
/*
DBG_PRINT(stderr,"%s\n",buf);
*/
DBG_PRINT
(
stderr
,
"%s
\n
"
,
buf
);
return
(
buf
);
}
...
...
@@ -719,7 +717,7 @@ done:
filep
->
f_line
=
lineno
;
#ifdef DEBUG_DUMP
if
(
bol
)
/*
DBG_PRINT(stderr,"%s\n",bol);
*/
DBG_PRINT
(
stderr
,
"%s
\n
"
,
bol
);
#endif
return
(
bol
);
}
...
...
makedepend.man
View file @
b61721fb
...
...
@@ -23,7 +23,7 @@
.\" dealing in this Software without prior written authorization from The
.\" Open Group.
.\"
.\" $XFree86: xc/config/makedepend/mkdepend.man,v 1.
7
200
2
/12/1
4 02:39:45
dawes Exp $
.\" $XFree86: xc/config/makedepend/mkdepend.man,v 1.
6
200
1
/12/1
7 20:52:22
dawes Exp $
.\"
.TH MAKEDEPEND 1 __xorgversion__
.UC 4
...
...
parse.c
View file @
b61721fb
...
...
@@ -24,7 +24,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/config/makedepend/parse.c,v 1.1
2
200
2/02/26 05:09:10 tsi
Exp $ */
/* $XFree86: xc/config/makedepend/parse.c,v 1.1
1
200
1/12/17 20:52:22 dawes
Exp $ */
#include "def.h"
...
...
pr.c
View file @
b61721fb
...
...
@@ -24,7 +24,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/config/makedepend/pr.c,v 1.
5
2001/
12/14 19:53:21 dawes
Exp $ */
/* $XFree86: xc/config/makedepend/pr.c,v 1.
4
2001/
04/29 23:25:02 tsi
Exp $ */
#include "def.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment