Index: tcptrace-6.6.1/Makefile.in
===================================================================
--- tcptrace-6.6.1.orig/Makefile.in
+++ tcptrace-6.6.1/Makefile.in
@@ -152,6 +152,11 @@ INCLS = -I. @V_INCLS@ ${PCAP_INCS}
 # FreeBSD needs	-Ae
 # HP needs	-Ae
 CFLAGS = $(CCOPT) $(DEFINES) @DEFS@ @V_DEFINES@ $(INCLS)
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -O0
+else
+CFLAGS += -g -Wall -O2
+endif
 
 # Standard LIBS
 LDLIBS = @LIBS@ ${PCAP_LDLIBS}
@@ -286,6 +291,9 @@ bigtarfile:
 #
 # just a quick installation rule
 INSTALL = ./install-sh -c
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+INSTALL += -s
+endif
 install: tcptrace install-man
 	$(INSTALL) -m 755 -o bin -g bin tcptrace ${BINDIR}/tcptrace
 install-man: 
