postgresql/src/makefiles/Makefile.darwin

19 lines
402 B
Makefile

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)
sqlmansect = 7