mirror of
https://github.com/postgres/postgres.git
synced 2025-05-17 06:41:24 +03:00
Numerous flex and bison make rules have appeared in the source tree over time, and they are all virtually identical, so we can replace them by pattern rules with some variables for customization. Users of pgxs will also be able to benefit from this.
24 lines
624 B
Makefile
24 lines
624 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for the bootstrap module
|
|
#
|
|
# src/backend/bootstrap/Makefile
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/backend/bootstrap
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
|
|
|
|
OBJS= bootparse.o bootstrap.o
|
|
|
|
include $(top_srcdir)/src/backend/common.mk
|
|
|
|
# bootscanner is compiled as part of bootparse
|
|
bootparse.o: bootscanner.c
|
|
|
|
# bootparse.c and bootscanner.c are in the distribution tarball, so
|
|
# they are not cleaned here.
|