Link the tools and the server against libwine so we can use the
[wine/multimedia.git] / tools / winebuild / Makefile.in
blob5bbb830934e73927b25d7165a3edee14fe57f50f
1 DEFS = -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
7 PROGRAMS = winebuild
8 MODULE = none
10 C_SRCS = \
11 import.c \
12 main.c \
13 parser.c \
14 relay.c \
15 res16.c \
16 res32.c \
17 spec16.c \
18 spec32.c \
19 utils.c
21 all: $(PROGRAMS)
23 @MAKE_RULES@
25 winebuild: $(OBJS)
26 $(CC) $(CFLAGS) -o winebuild $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LDFLAGS)
28 install:: $(PROGRAMS)
29 [ -d $(bindir) ] || $(MKDIR) $(bindir)
30 $(INSTALL_PROGRAM) winebuild $(bindir)/winebuild
32 uninstall::
33 $(RM) $(bindir)/winebuild
35 ### Dependencies: