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