Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
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
Container Registry
Model registry
Operate
Environments
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
Jakob Huber
postgres-lambda-diff
Commits
e2da92f1
Commit
e2da92f1
authored
28 years ago
by
Bryan Henderson
Browse files
Options
Downloads
Patches
Plain Diff
Rename Makefile to GNUmakefile to catch people using other makes.
parent
7266928e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/GNUmakefile
+62
-0
62 additions, 0 deletions
src/GNUmakefile
src/Makefile
+12
-68
12 additions, 68 deletions
src/Makefile
with
74 additions
and
68 deletions
src/GNUmakefile
0 → 100644
+
62
−
0
View file @
e2da92f1
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Build and install postgres.
#
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile,v 1.1 1996/12/31 07:26:26 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR
=
.
include
Makefile.global
FIND
=
find
# assuming gnu tar and split here
TAR
=
tar
SPLIT
=
split
ETAGS
=
etags
XARGS
=
xargs
.DEFAULT all
:
@
if
test
$(
PORTNAME
)
=
UNDEFINED
;
then
\
echo
You must
set
the PORTNAME value
in
Makefile.global before
\
you can build Postgres.
;
\
false
;
\
fi
$(
MAKE
)
-C
utils
$@
$(
MAKE
)
-C
backend
$@
$(
MAKE
)
-C
libpq
$@
ifeq
($(HAVE_Cplusplus), true)
$(
MAKE
)
-C
libpq++
$@
endif
ifeq
($(USE_TCL), true)
$(
MAKE
)
-C
libpgtcl
$@
endif
$(
MAKE
)
-C
bin
$@
ifneq
($(wildcard man), )
$(
MAKE
)
-C
man
$@
endif
@
if
test
$@
.
=
all.
-o
$@
.
=
.
;
then
\
echo
All of Postgres95 is successfully made. Ready to install.
;
\
fi
TAGS
:
rm
-f
TAGS
;
\
for
i
in
backend libpq bin
;
do
\
$(
FIND
)
$$
i
-name
'*.[chyl]'
-print
|
$(
XARGS
)
$(
ETAGS
)
-a
;
\
done
# target to generate a backup tar file and split files that can be
# saved to 1.44M floppy
BACKUP
:
rm
-f
BACKUP.filelist BACKUP.tgz
;
\
$(
FIND
)
.
-not
-path
'*obj/*'
-not
-path
'*data/*'
-type
f
-print
>
BACKUP.filelist
;
\
$(
TAR
)
--files-from
BACKUP.filelist
-c
-z
-v
-f
BACKUP.tgz
$(
SPLIT
)
--bytes
=
1400k BACKUP.tgz pgBACKUP.
.PHONY
:
TAGS
.PHONY
:
BACKUP
This diff is collapsed.
Click to expand it.
src/Makefile
+
12
−
68
View file @
e2da92f1
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Build and install postgres.
#
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile,v 1.14 1996/12/19 08:03:46 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR
=
.
include
Makefile.global
FIND
=
find
# assuming gnu tar and split here
TAR
=
tar
SPLIT
=
split
ETAGS
=
etags
XARGS
=
xargs
.DEFAULT all
:
@
set
-
`
$(
MAKE
)
-v
-f
/dev/null 2>&1
`
.
;
\
if
test
$$
1
!=
GNU
;
then
\
echo
"This Makefile requires GNU make."
;
\
echo
"Please read the file INSTALL in this directory for details."
;
\
false
;
\
fi
@
if
test
$(
PORTNAME
)
=
UNDEFINED
;
then
\
echo
You must
set
the PORTNAME value
in
Makefile.global before
\
you can build Postgres.
;
\
false
;
\
fi
$(
MAKE
)
-C
utils
$@
$(
MAKE
)
-C
backend
$@
$(
MAKE
)
-C
libpq
$@
ifeq
($(HAVE_Cplusplus), true)
$(
MAKE
)
-C
libpq++
$@
endif
ifeq
($(USE_TCL), true)
$(
MAKE
)
-C
libpgtcl
$@
endif
$(
MAKE
)
-C
bin
$@
ifneq
($(wildcard man), )
$(
MAKE
)
-C
man
$@
endif
@
if
test
$@
.
=
all.
-o
$@
.
=
.
;
then
\
echo
All of Postgres95 is successfully made. Ready to install.
;
\
fi
TAGS
:
rm
-f
TAGS
;
\
for
i
in
backend libpq bin
;
do
\
$(
FIND
)
$$
i
-name
'*.[chyl]'
-print
|
$(
XARGS
)
$(
ETAGS
)
-a
;
\
done
# target to generate a backup tar file and split files that can be
# saved to 1.44M floppy
BACKUP
:
rm
-f
BACKUP.filelist BACKUP.tgz
;
\
$(
FIND
)
.
-not
-path
'*obj/*'
-not
-path
'*data/*'
-type
f
-print
>
BACKUP.filelist
;
\
$(
TAR
)
--files-from
BACKUP.filelist
-c
-z
-v
-f
BACKUP.tgz
$(
SPLIT
)
--bytes
=
1400k BACKUP.tgz pgBACKUP.
.PHONY
:
TAGS
.PHONY
:
BACKUP
# The Postgres make files exploit features of GNU make that other makes
# do not have. Because it is a common mistake for users to try to build
# Postgres with a different make, we have this make file that does nothing
# but tell the user to use GNU make.
# If the user were using GNU make now, this file would not get used because
# GNU make uses a make file named "GNUmakefile" in preference to "Makefile"
# if it exists. Postgres is shipped with a "GNUmakefile".
all install clean dep depend
:
@
echo
"You must use GNU make to use Postgres. It may be installed"
@
echo
"on your system with the name 'gmake'."
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