Skip to content

Commit

Permalink
Handle PORTAUDIO_API_1 and add clean-deps target to distclean.
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=19159
  • Loading branch information
AndersBroman committed Sep 5, 2006
1 parent adc56b8 commit 1129da5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile.nmake
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ config.h : config.h.win32 config.nmake
-e "s/@HAVE_LUA_5_1@/$(LUA_VERSION)/" \
-e "s/@HAVE_AIRPCAP@/$(AIRPCAP_CONFIG)/" \
-e "s/@HAVE_PORTAUDIO@/$(PORTAUDIO_CONFIG)/" \
-e "s/@HAVE_PORTAUDIO_API@/$(PORTAUDIO_API_CONFIG)/" \
< config.h.win32 > $@

ps.c : rdps.exe print.ps
Expand Down Expand Up @@ -326,7 +327,7 @@ clean: gtk2_distclean

# "distclean" removes all files not part of the distribution.
# It does not remove generated files that are part of the distribution.
distclean: clean gtk2_distclean
distclean: clean gtk2_distclean clean-deps
rm -f config.h $(BUILT_SOURCES)
cd wiretap
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
Expand Down
2 changes: 2 additions & 0 deletions config.h.win32
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@

/* Define to use Portaudio library */
@HAVE_PORTAUDIO@
/* Define version of of the Portaudio library API */
@HAVE_PORTAUDIO_API@

#ifndef WIN32
#define WIN32 1
Expand Down
4 changes: 3 additions & 1 deletion config.nmake
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ LUA_DIR=$(WIRESHARK_LIBS)\lua5.1
# If you don't have PORTAUDIO, comment this line out, so that
# PORTAUDIO_DIR isn't defined.
#
#PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1
PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1
PORTAUDIO_API_CONFIG=^#define PORTAUDIO_API_1 1


#
# Mandatory for GTK >= 2: Iconv
Expand Down

0 comments on commit 1129da5

Please sign in to comment.