2003-10-27 08:42:34 +01:00
|
|
|
AROPT = crs
|
2000-12-11 01:49:54 +01:00
|
|
|
AWK= awk
|
2000-10-31 20:55:20 +01:00
|
|
|
|
|
|
|
DLSUFFIX = .so
|
2001-10-05 23:15:38 +02:00
|
|
|
CFLAGS_SL =
|
2004-12-17 04:52:49 +01:00
|
|
|
|
|
|
|
ifdef PGXS
|
2006-01-19 22:19:12 +01:00
|
|
|
BE_DLLLIBS= -bundle_loader $(bindir)/postgres
|
2004-12-17 04:52:49 +01:00
|
|
|
else
|
2003-09-27 21:35:32 +02:00
|
|
|
BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres
|
2004-12-17 04:52:49 +01:00
|
|
|
endif
|
|
|
|
|
2003-09-27 21:35:32 +02:00
|
|
|
# Rule for building shared libs (currently used only for regression test
|
|
|
|
# shlib ... should go away, since this is not really enough knowledge)
|
2000-10-31 20:55:20 +01:00
|
|
|
%.so: %.o
|
2006-11-28 06:45:43 +01:00
|
|
|
$(CC) $(CFLAGS) -bundle -o $@ $< $(BE_DLLLIBS)
|
2001-08-29 21:14:40 +02:00
|
|
|
|
|
|
|
sqlmansect = 7
|