Started moving some X11 window management code to windows/x11drv.
[wine] / programs / view / Makefile.in
1 DEFS      = -DWINELIB
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = none
7 PROGRAMS  = view
8 ALL_LIBS  = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
9 RCFLAGS   = -w32 -h
10 WRCEXTRA  = -A -p $*
11
12 C_SRCS = \
13         init.c \
14         view.c \
15         winmain.c
16
17 RC_SRCS = \
18         viewrc.rc
19
20 all: check_wrc $(PROGRAMS)
21
22 depend:: $(RC_SRCS:.rc=.h)
23
24 @MAKE_RULES@
25
26 # Override resource compiler rules
27 .rc.s:
28         $(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
29
30 .rc.h:
31         $(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -nH $*.h
32
33
34 view: $(OBJS)
35         $(CC) -o view $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
36
37 install: dummy
38         $(INSTALL_PROGRAM) view $(bindir)/view
39
40 uninstall: dummy
41         $(RM) $(bindir)/view
42
43 $(RC_SRCS:.rc=.s): $(WRC)
44
45 dummy:
46
47 ### Dependencies: