kopia lustrzana https://github.com/Hamlib/Hamlib
Fix bindings build by replacing *all* INCLUDES!
rodzic
a5f13e0056
commit
33f25820ac
|
@ -20,7 +20,7 @@ AM_CFLAGS = -fno-strict-aliasing
|
||||||
# Perl binding
|
# Perl binding
|
||||||
|
|
||||||
hamlibperl_wrap.c: hamlib.swg $(SWIGDEP)
|
hamlibperl_wrap.c: hamlib.swg $(SWIGDEP)
|
||||||
$(SWIG) -perl5 -shadow @INCLUDES@ -I$(top_srcdir)/bindings -o $@ \
|
$(SWIG) -perl5 -shadow @AM_CPPFLAGS@ -I$(top_srcdir)/bindings -o $@ \
|
||||||
`test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg
|
`test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg
|
||||||
|
|
||||||
Hamlib-pl.mk: $(srcdir)/Makefile.PL
|
Hamlib-pl.mk: $(srcdir)/Makefile.PL
|
||||||
|
@ -28,7 +28,7 @@ Hamlib-pl.mk: $(srcdir)/Makefile.PL
|
||||||
perl `test -f Makefile.PL || echo '$(srcdir)/'`Makefile.PL \
|
perl `test -f Makefile.PL || echo '$(srcdir)/'`Makefile.PL \
|
||||||
MAKEFILE="Hamlib-pl.mk" \
|
MAKEFILE="Hamlib-pl.mk" \
|
||||||
PREFIX="$(prefix)" \
|
PREFIX="$(prefix)" \
|
||||||
INC="$(INCLUDES)" \
|
INC="$(AM_CPPFLAGS)" \
|
||||||
CC="$(CC)" \
|
CC="$(CC)" \
|
||||||
OBJECT="hamlibperl_wrap.o" \
|
OBJECT="hamlibperl_wrap.o" \
|
||||||
VERSION="$(PACKAGE_VERSION)" \
|
VERSION="$(PACKAGE_VERSION)" \
|
||||||
|
@ -85,7 +85,7 @@ pkgIndex.tcl: Makefile
|
||||||
echo 'package ifneeded Hamlib $(PKG_VER) [list load [file join $$dir $(DLL)] Hamlib]' > pkgIndex.tcl
|
echo 'package ifneeded Hamlib $(PKG_VER) [list load [file join $$dir $(DLL)] Hamlib]' > pkgIndex.tcl
|
||||||
|
|
||||||
hamlibtcl_wrap.c: hamlib.swg $(SWGDEP)
|
hamlibtcl_wrap.c: hamlib.swg $(SWGDEP)
|
||||||
$(SWIG) -tcl -pkgversion $(PKG_VER) @INCLUDES@ -I$(top_srcdir)/bindings -o $@ \
|
$(SWIG) -tcl -pkgversion $(PKG_VER) @AM_CPPFLAGS@ -I$(top_srcdir)/bindings -o $@ \
|
||||||
`test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg
|
`test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg
|
||||||
|
|
||||||
all-tcl: pkgIndex.tcl $(tcl_ltlib)
|
all-tcl: pkgIndex.tcl $(tcl_ltlib)
|
||||||
|
@ -131,7 +131,7 @@ BUILT_SOURCES += hamlibpy_wrap.c Hamlib.py
|
||||||
|
|
||||||
Hamlib.py: hamlibpy_wrap.c
|
Hamlib.py: hamlibpy_wrap.c
|
||||||
hamlibpy_wrap.c: hamlib.swg $(SWGDEP)
|
hamlibpy_wrap.c: hamlib.swg $(SWGDEP)
|
||||||
$(SWIG) -python @INCLUDES@ -I$(top_srcdir)/bindings -o $@ \
|
$(SWIG) -python @AM_CPPFLAGS@ -I$(top_srcdir)/bindings -o $@ \
|
||||||
`test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg
|
`test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg
|
||||||
|
|
||||||
install-py:
|
install-py:
|
||||||
|
|
Ładowanie…
Reference in New Issue