DEFS      = -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR    = @srcdir@
VPATH     = @srcdir@

PROGRAMS = winedump
MODULE   = none

C_SRCS = \
	debug.c \
	main.c  \
	misc.c  \
	msmangle.c  \
	ne.c \
	output.c  \
	pe.c \
	search.c  \
	symbol.c

all: $(PROGRAMS)

@MAKE_RULES@

winedump: $(OBJS)
	$(CC) $(CFLAGS) -o winedump $(OBJS) $(LIBWINE) $(LDFLAGS)

install:: $(PROGRAMS)
	$(MKINSTALLDIRS) $(bindir)
	$(INSTALL_PROGRAM) winedump $(bindir)/winedump
	$(INSTALL_SCRIPT) $(SRCDIR)/function_grep.pl $(bindir)/function_grep.pl

uninstall::
	$(RM) $(bindir)/function_grep.pl $(bindir)/winedump

### Dependencies:
