2 TOPSRCDIR
= @top_srcdir@
7 PROGRAMS
= winhelp hlp2sgml
8 IMPORTS
= shell32 ole32 comdlg32 winspool.drv
9 WRCEXTRA
= -s
-p winhelp
17 SPEC_SRCS
= winhelp.spec
19 EXTRA_SRCS
= macro.
yacc.y macro.
lex.l
20 EXTRA_OBJS
= y.tab.o
lex.yy.o
24 all: check_wrc
$(PROGRAMS
)
30 # Override resource compiler rules
32 $(CPP
) $(DEFS
) $(OPTIONS
) $(DIVINCL
) -DRC_INVOKED
-P
-x c
$< |
$(WRC
) $(WRCFLAGS
) $(WRCEXTRA
) -o
$*.s
35 $(CC
) -o winhelp
$(OBJS
) $(DLL_LINK
) $(LIBS
)
37 hlp2sgml
: hlp2sgml.o hlpfile.o
38 $(CC
) -o hlp2sgml hlp2sgml.o hlpfile.o
41 $(INSTALL_PROGRAM
) winhelp
$(bindir)/winhelp
42 $(INSTALL_PROGRAM
) hlp2sgml
$(bindir)/hlp2sgml
45 $(RM
) $(bindir)/winhelp
$(bindir)/hlp2sgml
47 y.tab.c y.tab.h
: macro.
yacc.y
48 $(YACC
) -d
-t
$(SRCDIR
)/macro.
yacc.y
51 $(LEX
) -8 -i
$(SRCDIR
)/macro.
lex.l