Changed imports of winspool to winspool.drv.
[wine/wine64.git] / programs / winhelp / Makefile.in
bloba59e55eedac9d2e38874ae3acb27aac56a6e8473
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
11 C_SRCS = \
12 winhelp.c \
13 hlpfile.c \
14 macro.c \
15 string.c
17 SPEC_SRCS = winhelp.spec
19 EXTRA_SRCS = macro.yacc.y macro.lex.l
20 EXTRA_OBJS = y.tab.o lex.yy.o
22 RC_SRCS = rsrc.rc
24 all: check_wrc $(PROGRAMS)
26 depend: y.tab.h
28 @MAKE_RULES@
30 # Override resource compiler rules
31 .rc.s:
32 $(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
34 winhelp: $(OBJS)
35 $(CC) -o winhelp $(OBJS) $(DLL_LINK) $(LIBS)
37 hlp2sgml: hlp2sgml.o hlpfile.o
38 $(CC) -o hlp2sgml hlp2sgml.o hlpfile.o
40 install::
41 $(INSTALL_PROGRAM) winhelp $(bindir)/winhelp
42 $(INSTALL_PROGRAM) hlp2sgml $(bindir)/hlp2sgml
44 uninstall::
45 $(RM) $(bindir)/winhelp $(bindir)/hlp2sgml
47 y.tab.c y.tab.h: macro.yacc.y
48 $(YACC) -d -t $(SRCDIR)/macro.yacc.y
50 lex.yy.c: macro.lex.l
51 $(LEX) -8 -i $(SRCDIR)/macro.lex.l
53 ### Dependencies: