File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 55# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
66# Portions Copyright (c) 1994, Regents of the University of California
77#
8- # $PostgreSQL: pgsql/src/backend/Makefile,v 1.135 2009/09/04 23:11:05 tgl Exp $
8+ # $PostgreSQL: pgsql/src/backend/Makefile,v 1.136 2009/09/05 21:14:04 tgl Exp $
99#
1010# -------------------------------------------------------------------------
1111
@@ -20,9 +20,17 @@ SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \
2020
2121include $(srcdir ) /common.mk
2222
23+ # As of 9/2009:
24+ # * The probes.o file is necessary for dtrace support on Solaris.
25+ # * OS X's dtrace doesn't use it and doesn't even recognize the -G option.
26+ # * Systemtap's dtrace will take -G, but it produces a useless empty file.
27+ # So, build probes.o only on Solaris.
28+ # This will likely need adjustment as other platforms add dtrace support.
29+ ifeq ($(PORTNAME ) , solaris)
2330ifeq ($(enable_dtrace ) , yes)
2431LOCALOBJS += utils/probes.o
2532endif
33+ endif
2634
2735OBJS = $(SUBDIROBJS ) $(LOCALOBJS ) $(top_builddir ) /src/port/libpgport_srv.a
2836
You can’t perform that action at this time.
0 commit comments