1 DEFS = -DWINELIB -DSTRICT
2 TOPSRCDIR = @top_srcdir@
7 PROGRAMS = winhelp hlp2sgml
8 IMPORTS = advapi32 comctl32 shlwapi shell32 ole32 rpcrt4 comdlg32 winspool.drv user32 gdi32 kernel32 ntdll
16 SPEC_SRCS = winhelp.spec
18 EXTRA_SRCS = macro.yacc.y macro.lex.l
19 EXTRA_OBJS = y.tab.o lex.yy.o
29 $(SPEC_SRCS:.spec=.spec.c): $(RC_SRCS:.rc=.res)
32 $(CC) -o winhelp $(OBJS) $(DLL_LINK) $(LIBS)
34 hlp2sgml: hlp2sgml.o hlpfile.o
35 $(CC) -o hlp2sgml hlp2sgml.o hlpfile.o
38 $(INSTALL_PROGRAM) winhelp $(bindir)/winhelp
39 $(INSTALL_PROGRAM) hlp2sgml $(bindir)/hlp2sgml
42 $(RM) $(bindir)/winhelp $(bindir)/hlp2sgml
44 y.tab.c y.tab.h: macro.yacc.y
45 $(YACC) -d -t $(SRCDIR)/macro.yacc.y
48 $(LEX) -8 -i $(SRCDIR)/macro.lex.l