summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.darwin
blob: debad62e8a3a483847b01c4c9c7c1bba972e57a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
AROPT = crs
AWK= awk
 
DLSUFFIX = .so
CFLAGS_SL =

ifdef PGXS
BE_DLLLIBS= -bundle_loader $(bindir)/postgres
else
BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres
endif

# Rule for building shared libs (currently used only for regression test
# shlib ... should go away, since this is not really enough knowledge)
%.so: %.o
	$(CC) $(CFLAGS) -bundle -o $@ $< $(BE_DLLLIBS)