Fix set_append_rel_pathlist() to deal intelligently with cases where
[PostgreSQL.git] / src / makefiles / Makefile.darwin
blobdebad62e8a3a483847b01c4c9c7c1bba972e57a0
1 AROPT = crs
2 AWK= awk
3  
4 DLSUFFIX = .so
5 CFLAGS_SL =
7 ifdef PGXS
8 BE_DLLLIBS= -bundle_loader $(bindir)/postgres
9 else
10 BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres
11 endif
13 # Rule for building shared libs (currently used only for regression test
14 # shlib ... should go away, since this is not really enough knowledge)
15 %.so: %.o
16         $(CC) $(CFLAGS) -bundle -o $@ $< $(BE_DLLLIBS)