mirror of
https://github.com/postgres/postgres.git
synced 2026-03-01 12:50:55 -05:00
another section if required by the platform (instead of the old way of building them in section "l" and always transforming them to the platform-specific section). This speeds up the installation on common platforms, and it avoids some funny business with the man page tools and build process.
16 lines
386 B
Makefile
16 lines
386 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)
|