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 5
5
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
6
6
# Portions Copyright (c) 1994, Regents of the University of California
7
7
#
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 $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -20,9 +20,17 @@ SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \
20
20
21
21
include $(srcdir ) /common.mk
22
22
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)
23
30
ifeq ($(enable_dtrace ) , yes)
24
31
LOCALOBJS += utils/probes.o
25
32
endif
33
+ endif
26
34
27
35
OBJS = $(SUBDIROBJS ) $(LOCALOBJS ) $(top_builddir ) /src/port/libpgport_srv.a
28
36
You can’t perform that action at this time.
0 commit comments