From 9976a1a1439b3c6f6547d2b2035161f3d5df1a36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?=
 <fillods@users.sourceforge.net>
Date: Sun, 22 Jun 2003 19:54:06 +0000
Subject: [PATCH] add rotator and lists in deps

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1488 7ae35d74-ebe9-4afe-98af-79ac388436b8
---
 bindings/Makefile.am | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index 45819c15e..00ee745bd 100644
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
@@ -11,10 +11,13 @@ SWIG=swig
 #INCLUDES = @INCLUDES@ -Dbool=char -I@PERL_INC_DIR@ @TCL_INCLUDE_SPEC@ -I$(top_srcdir)/bindings
 INCLUDES = @INCLUDES@ -I$(top_srcdir)/bindings @TCL_INCLUDE_SPEC@
 
+SWGDEP=$(top_srcdir)/include/hamlib/rig.h $(top_srcdir)/include/hamlib/riglist.h \
+		$(top_srcdir)/include/hamlib/rotator.h $(top_srcdir)/include/hamlib/rotlist.h
+
 ##########################################
 # Perl binding
 
-hamlibperl_wrap.c: hamlib.swg $(top_srcdir)/include/hamlib/rig.h
+hamlibperl_wrap.c: hamlib.swg $(SWIGDEP)
 	$(SWIG) -perl5 -shadow @INCLUDES@ -I$(top_srcdir)/bindings -o $@ \
 			`test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg
 
@@ -61,7 +64,7 @@ hamlibtcl_la_LIBADD = $(top_builddir)/src/libhamlib.la
 pkgIndex.tcl: Makefile
 	echo 'package ifneeded Hamlib $(PKG_VER) [list load [file join $$dir $(DLL)] Hamlib]' > pkgIndex.tcl
 
-hamlibtcl_wrap.c: hamlib.swg $(top_srcdir)/include/hamlib/rig.h
+hamlibtcl_wrap.c: hamlib.swg $(SWGDEP)
 	$(SWIG) -tcl -pkgversion $(PKG_VER) @INCLUDES@ -I$(top_srcdir)/bindings -o $@ \
 		`test -f hamlib.swg || echo '$(srcdir)/'`hamlib.swg