summaryrefslogtreecommitdiff
path: root/src/backend/utils/sort/Makefile
blob: 370b12cee6cc97c6496387b7a436ac63774eeb2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for utils/sort
#
# IDENTIFICATION
#    src/backend/utils/sort/Makefile
#
#-------------------------------------------------------------------------

subdir = src/backend/utils/sort
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global

override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)

OBJS = logtape.o sortsupport.o tuplesort.o tuplestore.o

tuplesort.o: qsort_tuple.c

qsort_tuple.c: gen_qsort_tuple.pl
	$(PERL) $(srcdir)/gen_qsort_tuple.pl $< > $@

include $(top_srcdir)/src/backend/common.mk

maintainer-clean:
	rm -f qsort_tuple.c