Commit db13a81a authored by Tom Lane's avatar Tom Lane

Revert ill-considered restriction of dtrace support to Solaris only.

parent 47ef623c
......@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.134 2009/08/28 20:26:18 petere Exp $
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.135 2009/09/04 23:11:05 tgl Exp $
#
#-------------------------------------------------------------------------
......@@ -20,11 +20,9 @@ SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \
include $(srcdir)/common.mk
ifeq ($(PORTNAME), solaris)
ifeq ($(enable_dtrace), yes)
LOCALOBJS += utils/probes.o
endif
endif
OBJS = $(SUBDIROBJS) $(LOCALOBJS) $(top_builddir)/src/port/libpgport_srv.a
......@@ -145,10 +143,8 @@ $(top_builddir)/src/include/utils/probes.h: utils/probes.h
$(LN_S) ../../../$(subdir)/utils/probes.h .
ifeq ($(PORTNAME), solaris)
utils/probes.o: utils/probes.d $(SUBDIROBJS)
$(DTRACE) $(DTRACEFLAGS) -C -G -s $(call expand_subsys,$^) -o $@
endif
##########################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment