Added support for loading .res files for 16-bit resources.
[wine] / tools / winebuild / Makefile.in
1 DEFS      = -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 LIBEXT    = @LIBEXT@
7
8 PROGRAMS = winebuild
9 MODULE   = none
10
11 C_SRCS = \
12         import.c \
13         main.c \
14         parser.c \
15         relay.c \
16         res16.c \
17         res32.c \
18         spec16.c \
19         spec32.c \
20         utils.c
21
22 all: $(PROGRAMS)
23
24 @MAKE_RULES@
25
26 winebuild: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT)
27         $(CC) $(CFLAGS) -o winebuild $(OBJS) -L$(TOPOBJDIR) -lwine_unicode
28
29 $(TOPOBJDIR)/libwine_unicode.$(LIBEXT):
30         cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT)
31
32 install:: $(PROGRAMS)
33         [ -d $(bindir) ] || $(MKDIR) $(bindir)
34         $(INSTALL_PROGRAM) winebuild $(bindir)/winebuild
35
36 uninstall::
37         $(RM) $(bindir)/winebuild
38
39 ### Dependencies: