DEFS      = -D__WINE__ -DNO_LIBWINE -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\""
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR    = @srcdir@
VPATH     = @srcdir@

PROGRAMS = makedep fnt2bdf bin2res
MODULE   = none

C_SRCS = makedep.c fnt2bdf.c bin2res.c

SUBDIRS = \
	widl \
	winebuild \
	winedump \
	wmc \
	wpp \
	wrc

INSTALLSUBDIRS = $(SUBDIRS)

EXTRASUBDIRS = \
	winapi_check \
	wineconf.libs

all: $(PROGRAMS) $(SUBDIRS)

@MAKE_RULES@

widl wrc: wpp

makedep: makedep.o
	$(CC) $(CFLAGS) -o makedep makedep.o

fnt2bdf: fnt2bdf.o
	$(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o

bin2res: bin2res.o
	$(CC) $(CFLAGS) -o bin2res bin2res.o

install::
	$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
	$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
	$(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)

uninstall::
	$(RM) $(bindir)/winemaker $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)

### Dependencies:
