Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6047d503
Commit
6047d503
authored
Dec 07, 2000
by
Bruce Korb
Committed by
Bruce Korb
Dec 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the fixinc/Makefile.* files more similar
From-SVN: r38083
parent
becf1647
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
21 deletions
+25
-21
gcc/ChangeLog
+5
-0
gcc/fixinc/Makefile.BEOS
+7
-7
gcc/fixinc/Makefile.DOS
+6
-7
gcc/fixinc/Makefile.in
+6
-6
gcc/fixinc/fixincl.c
+1
-1
No files found.
gcc/ChangeLog
View file @
6047d503
2000-12-06 Bruce Korb <bkorb@gnu.org>
* fixinc/Makefile.*: Reduce differences to (ultimately) reduce
the number of them.
2000-11-06 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.c: Include expr.h before c-tree.h.
...
...
gcc/fixinc/Makefile.BEOS
View file @
6047d503
...
...
@@ -23,9 +23,9 @@
# Its purpose is to build the fixincl and applyfix programs for
# the Be port of GCC.
FIXINC_DEFS
=
-DIN_GCC
$(CFLAGS)
$(CPPFLAGS)
$(INCLUDES)
-DSEPARATE_FIX_PROC
FL_LIST
=
$(CFLAGS)
$(CPPFLAGS)
$(WARN_CFLAGS)
FIXINC_DEFS
=
-DIN_GCC
$(FL_LIST)
$(INCLUDES)
-DSEPARATE_FIX_PROC
target
=
i586-pc-beos
# Directory where sources are, from where we are.
VPATH
=
$(srcdir)
subdir
=
fixinc
...
...
@@ -64,19 +64,19 @@ OBJ = fixincl.o fixtests.o fixfixes.o server.o procopen.o \
HDR
=
server.h gnu-regex.h fixlib.h machname.h
TARGETS
=
fixincl
applyfix
TARGETS
=
fixincl
@exeext@ applyfix@exeext@
all
:
$(TARGETS)
gen
:
$(srcdir)/fixincl.x
FIXINCL_OBJ
=
fixincl.o fixlib.o fixtests.o gnu-regex.o
fixincl
:
$(FIXINCL_OBJ) $(LIBERTY)
fixincl
@exeext@
:
$(FIXINCL_OBJ) $(LIBERTY)
$(CC)
$(FIXINC_DEFS)
$(LDFLAGS)
-o
$@
$(FIXINCL_OBJ)
$(LIBERTY)
APPLY_OBJ
=
fixfixes.o fixlib.o gnu-regex.o
applyfix
:
$(APPLY_OBJ) $(LIBERTY)
applyfix
@exeext@
:
$(APPLY_OBJ) $(LIBERTY)
$(CC)
$(FIXINC_DEFS)
$(LDFLAGS)
-o
$@
$(APPLY_OBJ)
$(LIBERTY)
$(OBJ)
:
$(HDR)
...
...
@@ -100,14 +100,14 @@ $(srcdir)/fixincl.x: fixincl.tpl inclhack.def
clean
:
rm
-f
*
.o
$(TARGETS)
machname.h
*
~
maintainer-clean
:
clean
maintainer-clean
:
clean
rm
-f
$(srcdir)
/fixincl.x
# Build the executable and copy up into gcc dir.
# We still copy the script because we still have alternative scripts.
#
install-bin
:
$(TARGETS)
./fixincl
-v
./fixincl
@exeext@
-v
@
if
[
-f
../fixinc.sh
]
;
then
rm
-f
../fixinc.sh
||
\
mv
-f
../fixinc.sh ../fixinc.sh.
$$
||
exit
1
;
fi
@
if
[
-f
./fixincl.sh
]
;
\
...
...
gcc/fixinc/Makefile.DOS
View file @
6047d503
...
...
@@ -23,10 +23,9 @@
# Its purpose is to build the fixincl and applyfix programs for
# the DJGPP (aka MS-DOS) port of GCC.
F
IXINC_DEFS
=
-DIN_GCC
$(CFLAGS)
$(CPPFLAGS)
$(INCLUDES)
\
-D__MSDOS__
-DSEPARATE_FIX_PROC
F
L_LIST
=
$(CFLAGS)
$(CPPFLAGS)
$(WARN_CFLAGS)
FIXINC_DEFS
=
-DIN_GCC
$(FL_LIST)
$(INCLUDES)
-DSEPARATE_FIX_PROC
target
=
i386-pc-msdosdjgpp
# Directory where sources are, from where we are.
VPATH
=
$(srcdir)
subdir
=
fixinc
...
...
@@ -65,19 +64,19 @@ OBJ = fixincl.o fixtests.o fixfixes.o server.o procopen.o \
HDR
=
server.h gnu-regex.h fixlib.h machname.h
TARGETS
=
fixincl
.exe applyfix.exe
TARGETS
=
fixincl
@exeext@ applyfix@exeext@
all
:
$(TARGETS)
gen
:
$(srcdir)/fixincl.x
FIXINCL_OBJ
=
fixincl.o fixlib.o fixtests.o gnu-regex.o
fixincl
.exe
:
$(FIXINCL_OBJ) $(LIBERTY)
fixincl
@exeext@
:
$(FIXINCL_OBJ) $(LIBERTY)
$(CC)
$(FIXINC_DEFS)
$(LDFLAGS)
-o
$@
$(FIXINCL_OBJ)
$(LIBERTY)
APPLY_OBJ
=
fixfixes.o fixlib.o gnu-regex.o
applyfix
.exe
:
$(APPLY_OBJ) $(LIBERTY)
applyfix
@exeext@
:
$(APPLY_OBJ) $(LIBERTY)
$(CC)
$(FIXINC_DEFS)
$(LDFLAGS)
-o
$@
$(APPLY_OBJ)
$(LIBERTY)
$(OBJ)
:
$(HDR)
...
...
@@ -108,7 +107,7 @@ maintainer-clean : clean
# We still copy the script because we still have alternative scripts.
#
install-bin
:
$(TARGETS)
./fixincl
.exe
-v
./fixincl
@exeext@
-v
@
if
[
-f
../fixinc.sh
]
;
then
rm
-f
../fixinc.sh
||
\
mv
-f
../fixinc.sh ../fixinc.sh.
$$
||
exit
1
;
fi
@
if
[
-f
./fixincl.sh
]
;
\
...
...
gcc/fixinc/Makefile.in
View file @
6047d503
...
...
@@ -22,9 +22,9 @@
# The makefile built from this file lives in the fixinc subdirectory.
# Its purpose is to build the any-platforms fixinc.sh script.
FIXINC_DEFS
=
-DIN_GCC
$(WARN_CFLAGS)
$(CFLAGS)
$(CPPFLAGS)
$(INCLUDES)
FL_LIST
=
$(CFLAGS)
$(CPPFLAGS)
$(WARN_CFLAGS)
FIXINC_DEFS
=
-DIN_GCC
$(FL_LIST)
$(INCLUDES)
target
=
@target@
# Directory where sources are, from where we are.
srcdir
=
@srcdir@
VPATH
=
$(srcdir)
...
...
@@ -64,12 +64,12 @@ OBJ = fixincl.o fixtests.o fixfixes.o server.o procopen.o \
HDR
=
server.h gnu-regex.h fixlib.h machname.h
TARGETS
=
fixincl
TARGETS
=
fixincl
@exeext@
all
:
$(TARGETS)
gen
:
$(srcdir)/fixincl.x
fixincl
:
$(OBJ) $(LIBERTY)
fixincl
@exeext@
:
$(OBJ) $(LIBERTY)
$(CC)
$(FIXINC_DEFS)
$(LDFLAGS)
-o
$@
$(OBJ)
$(LIBERTY)
$(OBJ)
:
$(HDR)
...
...
@@ -100,7 +100,7 @@ maintainer-clean : clean
# We still copy the script because we still have alternative scripts.
#
install-bin
:
$(TARGETS)
./fixincl
-v
./fixincl
@exeext@
-v
@
if
[
-f
../fixinc.sh
]
;
then
rm
-f
../fixinc.sh
||
\
mv
-f
../fixinc.sh ../fixinc.sh.
$$
||
exit
1
;
fi
@
if
[
-f
./fixincl.sh
]
;
\
...
...
@@ -115,7 +115,7 @@ Makefile: Makefile.in ../config.status
&&
CONFIG_FILES
=
$(subdir)
/
$@
CONFIG_HEADERS
=
\
$(SHELL)
./config.status
check
:
fixincl
check
:
$(TARGETS)
autogen
-T
$(srcdir)
/check.tpl
$(srcdir)
/inclhack.def
$(SHELL)
./check.sh
$(srcdir)
/tests/base
@
rm
-f
./check.sh
gcc/fixinc/fixincl.c
View file @
6047d503
...
...
@@ -1015,7 +1015,7 @@ fix_with_system (p_fixd, pz_fix_file, pz_file_source, pz_temp_file)
/*
* add the file machinations.
*/
#ifdef
SEPARATE_FIX_PROC
#ifdef
__MSDOS__
sprintf
(
pz_scan
,
z_cmd_fmt
,
pz_file_source
,
pz_temp_file
);
#else
sprintf
(
pz_scan
,
z_cmd_fmt
,
pz_file_source
,
pz_temp_file
,
...
...
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