Added dependency on winestub.o
[wine] / programs / avitools / Makefile.in
1 DEFS      = -DWINELIB
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = none
7 PROGRAMS  = icinfo aviinfo aviplay
8 ALL_LIBS  = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
9 RCFLAGS   = -w32 -h
10 WRCEXTRA  = -t -A -p $*
11
12 LANGUAGES   =
13 LICENSELANG =
14
15 MOSTSRCS =              \
16         icinfo.c        \
17         aviinfo.c       \
18         aviinfo.c
19
20 MOSTOBJS = $(MOSTSRCS:.c=.o)
21
22 all: check_wrc $(PROGRAMS)
23
24 depend::
25
26 @MAKE_RULES@
27
28 # Override resource compiler rules
29 icinfo: icinfo.o $(WINESTUB)
30         $(CC) -o icinfo icinfo.o $(LDOPTIONS) $(ALL_LIBS)
31
32 aviinfo: aviinfo.o $(WINESTUB)
33         $(CC) -o aviinfo aviinfo.o $(LDOPTIONS) $(ALL_LIBS)
34 aviplay: aviplay.o $(WINESTUB)
35         $(CC) -o aviplay aviplay.o $(LDOPTIONS) $(ALL_LIBS)
36
37 install: dummy
38         $(INSTALL_PROGRAM) icinfo $(bindir)/icinfo
39         $(INSTALL_PROGRAM) aviinfo $(bindir)/aviinfo
40         $(INSTALL_PROGRAM) aviplay $(bindir)/aviplay
41
42 uninstall: dummy
43         $(RM) $(bindir)/aviinfo $(bindir)/icinfo $(bindir)/aviplay
44
45 dummy:
46
47 ### Dependencies: