Allow the size of bitmaps to be changed after toolbar buttons have
[wine] / programs / winhelp / Makefile.in
1 DEFS      = -DWINELIB
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = none
7 PROGRAMS  = winhelp hlp2sgml
8 IMPORTS   = shell32 ole32 comdlg32 winspool.drv
9 WRCEXTRA  = -s -p winhelp
10
11 C_SRCS = \
12         winhelp.c \
13         hlpfile.c \
14         macro.c \
15         string.c
16
17 SPEC_SRCS = winhelp.spec
18
19 EXTRA_SRCS = macro.yacc.y macro.lex.l
20 EXTRA_OBJS = y.tab.o lex.yy.o
21
22 RC_SRCS = rsrc.rc
23
24 all: check_wrc $(PROGRAMS)
25
26 depend: y.tab.h
27
28 @MAKE_RULES@
29
30 winhelp: $(OBJS)
31         $(CC) -o winhelp $(OBJS) $(DLL_LINK) $(LIBS)
32
33 hlp2sgml: hlp2sgml.o hlpfile.o
34         $(CC) -o hlp2sgml hlp2sgml.o hlpfile.o
35
36 install::
37         $(INSTALL_PROGRAM) winhelp $(bindir)/winhelp
38         $(INSTALL_PROGRAM) hlp2sgml $(bindir)/hlp2sgml
39
40 uninstall::
41         $(RM) $(bindir)/winhelp $(bindir)/hlp2sgml
42
43 y.tab.c y.tab.h: macro.yacc.y
44         $(YACC) -d -t $(SRCDIR)/macro.yacc.y
45
46 lex.yy.c: macro.lex.l
47         $(LEX) -8 -i $(SRCDIR)/macro.lex.l
48
49 ### Dependencies: