Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gcc-cobol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COBOLworx
gcc-cobol
Commits
5fff0193
Commit
5fff0193
authored
1 month ago
by
James K. Lowden
Browse files
Options
Downloads
Patches
Plain Diff
correct srcextra
parent
c4dcdfd4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gcc/cobol/Make-lang.in
+19
-19
19 additions, 19 deletions
gcc/cobol/Make-lang.in
with
19 additions
and
19 deletions
gcc/cobol/Make-lang.in
+
19
−
19
View file @
5fff0193
# Top level -*- makefile -*- fragment for Cobol
# Copyright (C) 20
16
Free Software Foundation, Inc.
# Copyright (C) 20
21-2024
Free Software Foundation, Inc.
# This file is part of GCC.
...
...
@@ -42,7 +42,6 @@ gcobol_INSTALL_NAME := $(shell echo gcobol|sed '$(program_transform_name)')
gcobol_TARGET_INSTALL_NAME
:=
$(
target_noncanonical
)
-
$(
shell
echo
gcobol|sed
'
$(
program_transform_name
)
'
)
cobol
:
cobol1$(exeext)
.PHONY
:
cobol
BINCLUDE
?=
./gcc
...
...
@@ -159,23 +158,6 @@ cobol/cdf.c: cobol/cdf.y
$(
BISON
)
-o
$@
$(
YFLAGS
)
\
--defines
=
cobol/cdf.h
--report-file
=
cobol/cdf.out
$<
# The src<foo> targets are executed if
# ‘--enable-generated-files-in-srcdir’ was specified as a configure
# option.
#
# srcextra copies generated dependencies into the source
# directory. This is used for files such as Flex/Bison output: files
# that are not version-controlled but should be included in any
# release tarballs.
#
# Although versioned snapshots require Flex to be installed, they do
# not require Bison. Release tarballs always include Flex/Bison
# output, and do not require those tools to be installed.
cobol.srcextra
:
cobol/parse.c cobol/cdf.c
ln
-f
$^
cobol/parse.h cobol/cdf.h
$(
srcdir
)
/cobol/
# See "Trailing context is getting confused with trailing optional patterns"
# in Flex manual. We suppress those messages, as a convenience.
FLEX_WARNING
=
warning, dangerous trailing context
...
...
@@ -263,6 +245,24 @@ cobol/scan.o: cobol/scan.c \
cobol/cdf.c
\
cobol/parse.c
#
# The src<foo> targets are executed if
# ‘--enable-generated-files-in-srcdir’ was specified as a configure
# option.
#
# srcextra copies generated dependencies into the source
# directory. This is used for files such as Flex/Bison output: files
# that are not version-controlled but should be included in any
# release tarballs.
#
# Although versioned snapshots require Flex to be installed, they do
# not require Bison. Release tarballs always include Flex/Bison
# output, and do not require those tools to be installed.
#
cobol.srcextra
:
cobol/parse.c cobol/cdf.c cobol/scan.c
ln
-f
$^
cobol/parse.h cobol/cdf.h
$(
srcdir
)
/cobol/
# And the cobol1.exe front end
cobol1$(exeext)
:
$(cobol1_OBJS) $(BACKEND) $(LIBDEPS) attribs.o
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment