DEF_PGPORT already comes in from pg_config.h, so we don't need to pass
it in again with a -D option. Apparently a leftover from the shell
script conversion.
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
-override CPPFLAGS := -DDEF_PGPORT=$(DEF_PGPORT) -I$(libpq_srcdir) $(CPPFLAGS)
+override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
OBJS= pg_ctl.o $(WIN32RES)
clean distclean maintainer-clean:
rm -f pg_ctl$(X) $(OBJS)
-
-
-# ensure that changes in DEF_PGPORT propagate into object file
-pg_ctl.o: pg_ctl.c $(top_builddir)/src/Makefile.global