mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Add comment about the use of pg_config_paths.h.
This commit is contained in:
parent
ca0d2197ca
commit
ecae3a9689
@ -15,7 +15,7 @@
|
|||||||
# for use only by the backend binaries
|
# for use only by the backend binaries
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $PostgreSQL: pgsql/src/port/Makefile,v 1.31 2006/05/08 02:18:50 momjian Exp $
|
# $PostgreSQL: pgsql/src/port/Makefile,v 1.32 2006/06/26 18:40:50 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -64,6 +64,10 @@ thread_srv.o: thread.c
|
|||||||
$(CC) $(CFLAGS) $(subst -DFRONTEND,, $(CPPFLAGS)) -c $< -o $@
|
$(CC) $(CFLAGS) $(subst -DFRONTEND,, $(CPPFLAGS)) -c $< -o $@
|
||||||
|
|
||||||
# Dependency is to ensure that path changes propagate
|
# Dependency is to ensure that path changes propagate
|
||||||
|
#
|
||||||
|
# We create a separate file rather than put these in pg_config.h
|
||||||
|
# because many of these values come from makefiles and are not
|
||||||
|
# available to configure.
|
||||||
pg_config_paths.h: $(top_builddir)/src/Makefile.global
|
pg_config_paths.h: $(top_builddir)/src/Makefile.global
|
||||||
echo "#define PGBINDIR \"$(bindir)\"" >$@
|
echo "#define PGBINDIR \"$(bindir)\"" >$@
|
||||||
echo "#define PGSHAREDIR \"$(datadir)\"" >>$@
|
echo "#define PGSHAREDIR \"$(datadir)\"" >>$@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user