doc Makefile: issue warning about chars that cannot be output
[pgsql.git] / src / backend / utils / activity / Makefile
blobb9fd66ea17ceae57fffb78c78da3aa7f320c3b00
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)
18 OBJS = \
19 backend_progress.o \
20 backend_status.o \
21 pgstat.o \
22 pgstat_archiver.o \
23 pgstat_bgwriter.o \
24 pgstat_checkpointer.o \
25 pgstat_database.o \
26 pgstat_function.o \
27 pgstat_io.o \
28 pgstat_relation.o \
29 pgstat_replslot.o \
30 pgstat_shmem.o \
31 pgstat_slru.o \
32 pgstat_subscription.o \
33 pgstat_wal.o \
34 pgstat_xact.o \
35 wait_event.o \
36 wait_event_funcs.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
45 touch $@
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 $<
50 clean:
51 rm -f wait_event_types.h pgstat_wait_event.c wait_event_funcs_data.c