Ethereal-dev: [Ethereal-dev] [patch] ethereal doesn't compile when it's done outside of the so

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: didier <dgautheron@xxxxxxxx>
Date: Wed, 13 Nov 2002 22:13:01 +0000
Hi,
Index: gtk/Makefile.am
===================================================================
RCS file: /cvsroot/ethereal/gtk/Makefile.am,v
retrieving revision 1.47
diff -u -r1.47 Makefile.am
--- Makefile.am	2002/11/09 20:00:35	1.47
+++ Makefile.am	2002/11/13 21:40:55
@@ -35,9 +35,9 @@
 	rpc_progs.c	\
 	rpc_progs.h	
 
-ethereal-tap-register.c: $(ETHEREAL_TAP_SRC)
+ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) $(top_srcdir)/make-tapreg-dotc
 	@echo Making ethereal-tap-register.c
-	../make-tapreg-dotc ethereal-tap-register.c . $(ETHEREAL_TAP_SRC)
+	@$(top_srcdir)/make-tapreg-dotc ethereal-tap-register.c $(top_srcdir) $(ETHEREAL_TAP_SRC)
 	
 
 if USE_GTK2