Fix a memory leak in dumping functions with TRANSFORMs
[pgsql.git] / src / backend / catalog / Makefile
blob1589a75fd5332edc483ca4221288679d140b757a
1 #-------------------------------------------------------------------------
3 # Makefile for backend/catalog
5 # Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
6 # Portions Copyright (c) 1994, Regents of the University of California
8 # src/backend/catalog/Makefile
10 #-------------------------------------------------------------------------
12 subdir = src/backend/catalog
13 top_builddir = ../../..
14 include $(top_builddir)/src/Makefile.global
16 OBJS = \
17 aclchk.o \
18 catalog.o \
19 dependency.o \
20 heap.o \
21 index.o \
22 indexing.o \
23 namespace.o \
24 objectaccess.o \
25 objectaddress.o \
26 partition.o \
27 pg_aggregate.o \
28 pg_attrdef.o \
29 pg_cast.o \
30 pg_class.o \
31 pg_collation.o \
32 pg_constraint.o \
33 pg_conversion.o \
34 pg_db_role_setting.o \
35 pg_depend.o \
36 pg_enum.o \
37 pg_inherits.o \
38 pg_largeobject.o \
39 pg_namespace.o \
40 pg_operator.o \
41 pg_parameter_acl.o \
42 pg_proc.o \
43 pg_publication.o \
44 pg_range.o \
45 pg_shdepend.o \
46 pg_subscription.o \
47 pg_type.o \
48 storage.o \
49 toasting.o
51 include $(top_srcdir)/src/backend/common.mk
53 .PHONY: install-data
54 install-data: installdirs
55 $(INSTALL_DATA) $(srcdir)/system_functions.sql '$(DESTDIR)$(datadir)/system_functions.sql'
56 $(INSTALL_DATA) $(srcdir)/system_views.sql '$(DESTDIR)$(datadir)/system_views.sql'
57 $(INSTALL_DATA) $(srcdir)/information_schema.sql '$(DESTDIR)$(datadir)/information_schema.sql'
58 $(INSTALL_DATA) $(srcdir)/sql_features.txt '$(DESTDIR)$(datadir)/sql_features.txt'
60 installdirs:
61 $(MKDIR_P) '$(DESTDIR)$(datadir)'
63 .PHONY: uninstall-data
64 uninstall-data:
65 rm -f $(addprefix '$(DESTDIR)$(datadir)'/, system_functions.sql system_views.sql information_schema.sql sql_features.txt)