Makefile.in 806 Bytes
Newer Older
1
DEFS      = -D__WINESRC__ $(EXTRADEFS)
2 3

PROGRAMS = winedump$(EXEEXT)
4
MANPAGE  = winedump.man
5 6

C_SRCS = \
7
	debug.c \
8
	dos.c \
9
	dump.c \
10
	emf.c \
11
	font.c \
Robert Reif's avatar
Robert Reif committed
12
	le.c \
13
	lib.c \
14
	lnk.c \
15 16 17
	main.c \
	minidump.c \
	misc.c \
18
	msc.c \
19
	msmangle.c \
20
	ne.c \
21
	output.c \
22
	pdb.c \
23
	pe.c \
24
	search.c \
25 26
	symbol.c

27 28
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)

29
all: $(PROGRAMS)
30 31 32

@MAKE_RULES@

33 34
winedump$(EXEEXT): $(OBJS)
	$(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS)
35

36
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir)
37
	$(INSTALL_PROGRAM) winedump$(EXEEXT) $(DESTDIR)$(bindir)/winedump$(EXEEXT)
38
	$(INSTALL_SCRIPT) $(srcdir)/function_grep.pl $(DESTDIR)$(bindir)/function_grep.pl
39 40

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