blob: 9598e09ccb3aaba2c16c77c3512a01cae3e17904 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$NetBSD: patch-al,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
--- contrib/tsearch2/wordparser/Makefile.orig 2005-11-21 13:27:57.000000000 +0100
+++ contrib/tsearch2/wordparser/Makefile
@@ -1,6 +1,6 @@
# $PostgreSQL: pgsql/contrib/tsearch2/wordparser/Makefile,v 1.9 2005/11/21 12:27:57 teodor Exp $
-SUBOBJS = parser.o deflex.o
+SUBOBJS = parser.lo deflex.lo
EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
@@ -14,13 +14,14 @@ subdir = contrib/tsearch2/wordparser
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
+include $(top_srcdir)/src/Makefile.shlib
endif
override CFLAGS += $(CFLAGS_SL)
all: SUBSYS.o
-SUBSYS.o: $(SUBOBJS)
- $(LD) $(LDREL) $(LDOUT) $@ $^
+libSUBSYS.la: $(SUBOBJS)
+ libtool --mode=link ${CC} -o libSUBSYS.la ${SUBOBJS}
|