blob: 3c3fc6fdcb0172d49d99e23492b1e54968bc526d (
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
30
31
32
33
34
|
$NetBSD: patch-aa,v 1.2 2004/04/16 15:39:27 drochner Exp $
--- ../unix/Makefile.in.orig 2004-01-26 10:54:45.000000000 +0100
+++ ../unix/Makefile.in 2004-04-16 16:45:19.000000000 +0200
@@ -76,7 +76,6 @@
-I$(tclincludedir)/generic \
-I$(tclincludedir)
CXX_SWITCHES_PY = $(CPPFLAGS) $(CXXFLAGS) \
- -I$(srcdir)/../include \
-I$(srcdir)/../python/scxx \
-I$(pyincludedir)
CXX_SWITCHES_LUA = $(CPPFLAGS) $(CXXFLAGS) \
@@ -124,7 +123,7 @@
install-python: Mk4py@MODULE_SUFFIX@
$(INSTALL_PROGRAM) Mk4py@MODULE_SUFFIX@ $(DESTDIR)$(pylibdir)
- $(INSTALL_PROGRAM) $(srcdir)/../python/metakit.py $(DESTDIR)$(pylibdir)
+ $(INSTALL_DATA) $(srcdir)/../python/metakit.py $(DESTDIR)$(pylibdir)
clean:
$L rm -f *.la *.o *.lo
@@ -162,10 +161,10 @@
cp .libs/libmk4py@MODULE_SUFFIX@ $@
-strip $(STRIP_FLAGS) $@ 2>/dev/null
-libmk4py.la: $(PYOBJS) $(LOBJS)
+libmk4py.la: $(PYOBJS)
$L --mode=link $(CXX) -o $@ $(CXX_SWITCHES) $(LIBTOOL_MODULE_FLAGS) \
-avoid-version -rpath $(libdir) \
- $(SPYOBJS) $(SHLOBJS)
+ $(SPYOBJS) -L${prefix}/lib -lmk4
Mk4lua@SHLIB_SUFFIX@: mk4lua.o libmk4.la
$(CXX) -o $@ $(CXX_SWITCHES) -shared mk4lua.lo $(SHLOBJS) \
|