VPATH build, avoid version on modules

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1238 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.4
Stéphane Fillod, F8CFE 2002-11-04 22:16:19 +00:00
rodzic 5a74273fc0
commit b219e102f7
1 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -14,25 +14,25 @@ INCLUDES = @INCLUDES@ -Dbool=char -I@PERL_INC_DIR@ -I@TCL_SRC_DIR@/generic -I$(t
#hamlibperl_la_INCLUDE = @INCLUDES@ -Dbool=char -I@PERL_INC_DIR@
nodist_hamlibperl_la_SOURCES = hamlibperl_wrap.c
hamlibperl_la_LDFLAGS = -no-undefined -module
hamlibperl_la_LDFLAGS = -no-undefined -module -avoid-version
hamlibperl_la_LIBADD = ../src/libhamlib.la
BUILT_SOURCES = hamlibperl_wrap.c hamlibtcl_wrap.c
DISTCLEANFILES = hamlibperl_wrap.c hamlibtcl_wrap.c
hamlibperl_wrap.c: hamlib.swg
swig -perl5 -shadow @INCLUDES@ -I$(top_srcdir)/bindings -o $@ $<
hamlibperl_wrap.c: hamlib.swg $(srcdir)/../include/hamlib/rig.h
swig -perl5 -shadow @INCLUDES@ -I$(top_srcdir)/bindings -o $@ `test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg
# Tcl binding
#hamlibtcl_la_INCLUDE = @INCLUDES@ -I@TCL_SRC_DIR@/generic
nodist_hamlibtcl_la_SOURCES = hamlibtcl_wrap.c
hamlibtcl_la_LDFLAGS = -no-undefined -module @TCL_LIB_SPEC@
hamlibtcl_la_LDFLAGS = -no-undefined -module -avoid-version @TCL_LIB_SPEC@
hamlibtcl_la_LIBADD = ../src/libhamlib.la
hamlibtcl_wrap.c: hamlib.swg
swig -tcl @INCLUDES@ -I$(top_srcdir)/bindings -o $@ $<
hamlibtcl_wrap.c: hamlib.swg $(srcdir)/../include/hamlib/rig.h
swig -tcl @INCLUDES@ -I$(top_srcdir)/bindings -o $@ `test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg
rig.swg: ../include/hamlib/rig.h ../include/hamlib/riglist.h
rotator.swg: ../include/hamlib/rotator.h ../include/hamlib/rotlist.h