1996-10-13 19:45:47 +02:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2002-05-21 21:42:29 +02:00
|
|
|
MODULE = winhelp.exe
|
2002-05-12 01:06:32 +02:00
|
|
|
APPMODE = gui
|
2002-05-17 05:37:12 +02:00
|
|
|
IMPORTS = comdlg32 shell32 user32 gdi32 kernel32
|
2000-11-11 00:45:20 +01:00
|
|
|
PROGRAMS = hlp2sgml
|
1996-05-06 18:06:24 +02:00
|
|
|
|
2000-01-29 23:07:03 +01:00
|
|
|
C_SRCS = \
|
1996-10-13 19:45:47 +02:00
|
|
|
winhelp.c \
|
|
|
|
hlpfile.c \
|
2000-01-29 23:07:03 +01:00
|
|
|
macro.c \
|
|
|
|
string.c
|
1996-10-13 19:45:47 +02:00
|
|
|
|
1997-09-28 19:43:24 +02:00
|
|
|
EXTRA_SRCS = macro.yacc.y macro.lex.l
|
2002-02-14 20:47:29 +01:00
|
|
|
EXTRA_OBJS = y.tab.o @LEX_OUTPUT_ROOT@.o
|
1997-09-28 19:43:24 +02:00
|
|
|
|
2000-01-29 23:07:03 +01:00
|
|
|
RC_SRCS = rsrc.rc
|
1996-05-06 18:06:24 +02:00
|
|
|
|
2000-11-11 00:45:20 +01:00
|
|
|
@MAKE_PROG_RULES@
|
1996-05-06 18:06:24 +02:00
|
|
|
|
2000-11-11 00:45:20 +01:00
|
|
|
all: $(PROGRAMS)
|
1996-05-06 18:06:24 +02:00
|
|
|
|
|
|
|
hlp2sgml: hlp2sgml.o hlpfile.o
|
|
|
|
$(CC) -o hlp2sgml hlp2sgml.o hlpfile.o
|
|
|
|
|
|
|
|
y.tab.c y.tab.h: macro.yacc.y
|
1996-10-13 19:45:47 +02:00
|
|
|
$(YACC) -d -t $(SRCDIR)/macro.yacc.y
|
1996-05-06 18:06:24 +02:00
|
|
|
|
2002-02-14 20:47:29 +01:00
|
|
|
@LEX_OUTPUT_ROOT@.c: macro.lex.l
|
1996-10-13 19:45:47 +02:00
|
|
|
$(LEX) -8 -i $(SRCDIR)/macro.lex.l
|
1996-05-06 18:06:24 +02:00
|
|
|
|
|
|
|
### Dependencies:
|