1 #-------------------------------------------------------------------------
3 # Makefile for backend/utils/activity
5 # Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
6 # Portions Copyright (c) 1994, Regents of the University of California
8 # src/backend/utils/activity/Makefile
10 #-------------------------------------------------------------------------
12 subdir
= src
/backend
/utils
/activity
13 top_builddir
= ..
/..
/..
/..
14 include $(top_builddir
)/src
/Makefile.global
16 override CPPFLAGS
:= -I.
-I
$(srcdir) $(CPPFLAGS
)
24 pgstat_checkpointer.o \
32 pgstat_subscription.o \
38 include $(top_srcdir
)/src
/backend
/common.mk
40 wait_event_funcs.o
: wait_event_funcs_data.c
41 wait_event_funcs_data.c
: wait_event_types.h
43 wait_event.o
: pgstat_wait_event.c
44 pgstat_wait_event.c
: wait_event_types.h
47 wait_event_types.h
: $(top_srcdir
)/src
/backend
/utils
/activity
/wait_event_names.txt generate-wait_event_types.pl
48 $(PERL
) $(srcdir)/generate-wait_event_types.pl
--code
$<
51 rm -f wait_event_types.h pgstat_wait_event.c wait_event_funcs_data.c