## Process this file with automake to produce Makefile.in

INCLUDES = \
	-I$(top_srcdir) -I$(top_srcdir)/libltdl \
	-I$(top_srcdir)/src @gtk_cflags@ \
	-DLIBNETDUDE_CFLAGS="\"@LIBNETDUDE_CFLAGS@\"" \
	-DGTK_CFLAGS="\"@gtk_cflags@\"" \
        @LIBNETDUDE_CFLAGS@ -W -Wall ## -DMEMDEBUG

bin_PROGRAMS = netdude

pkgincludedir = $(includedir)/netdude/$(version_major)

pkginclude_HEADERS = \
	nd.h  \
	nd_debug.h \
	nd_macros.h \
	nd_clipboard.h \
	nd_dialog.h \
	nd_fam.h \
	nd_filter_gui.h \
	nd_gettext.h \
	nd_globals.h \
	nd_gui.h \
	nd_info_dialog.h \
	nd_main.h \
	nd_packet.h \
	nd_plugin.h \
	nd_prefs.h \
	nd_protocol.h \
	nd_protocol_inst.h \
	nd_protocol_plugin.h \
	nd_raw_protocol.h \
	nd_recent.h \
	nd_raw_protocol.h \
	nd_timestamp.h \
	nd_tp.h \
	nd_tpm_gui.h \
	nd_trace.h \
	nd_trace_area_gui.h \
	nd_trace_registry.h \
	nd_types.h

netdude_SOURCES = \
	nd.h \
	nd_debug.c nd_debug.h \
	nd_macros.h \
	nd_clipboard.c nd_clipboard.h \
	nd_dialog.c nd_dialog.h \
	nd_fam.c nd_fam.h \
	nd_filter_gui.c nd_filter_gui.h \
	nd_gettext.h \
	nd_globals.c nd_globals.h \
	nd_gui.c nd_gui.h \
	nd_info_dialog.c nd_info_dialog.h \
	nd_main.c nd_main.h \
	nd_packet.c nd_packet.h \
	nd_plugin.c nd_plugin.h \
	nd_prefs.c nd_prefs.h \
	nd_protocol.c nd_protocol.h \
	nd_protocol_inst.c nd_protocol_inst.h \
	nd_protocol_plugin.c nd_protocol_plugin.h \
	nd_raw_protocol.c nd_raw_protocol.h \
	nd_recent.c nd_recent.h \
	nd_timestamp.h \
	nd_tp.c nd_tp.h \
	nd_tpm_gui.c nd_tpm_gui.h \
	nd_trace.c nd_trace.h \
	nd_trace_area_gui.c nd_trace_area_gui.h \
	nd_trace_registry.c nd_trace_registry.h \
	nd_types.h \
	callbacks.c callbacks.h \
	interface.c interface.h \
	support.c support.h \
	gtkhex.c gtkhex.h

netdude_LDADD = \
	$(top_builddir)/libltdl/libltdlc.la @gtk_libs@ @LIBNETDUDE_LIBS@

## We want to suffix the netdude executable with our version
## number. If you know an easy, reliable way to do this:
## please let us know!

install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  p1=`echo $$p|sed 's/$(version_major)$(EXEEXT)$$//'`; \
	  if test -f $$p \
	     || test -f $$p1 \
	  ; then \
	    f=`echo $$p1|sed '$(transform);s/$$/$(version_major)$(EXEEXT)/'`; \
	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(version_major)$(EXEEXT)/'`; \
	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
	  rm -f $(DESTDIR)$(bindir)/$$f; \
	done

install-exec-local:
	if test ! -f "$(DESTDIR)$(bindir)/netdude"; then $(LN_S) netdude$(version_major) $(DESTDIR)$(bindir)/netdude; fi

uninstall-local:
	if test -L "$(DESTDIR)$(bindir)/netdude"; then rm -f $(DESTDIR)$(bindir)/netdude; fi


syntax highlighted by Code2HTML, v. 0.9.1