mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
38 lines
758 B
Makefile
38 lines
758 B
Makefile
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
|
|
PROGRAMS = widl$(EXEEXT)
|
|
MANPAGE = widl.man
|
|
|
|
C_SRCS = \
|
|
client.c \
|
|
expr.c \
|
|
hash.c \
|
|
header.c \
|
|
proxy.c \
|
|
register.c \
|
|
server.c \
|
|
typegen.c \
|
|
typelib.c \
|
|
typetree.c \
|
|
utils.c \
|
|
widl.c \
|
|
write_msft.c
|
|
|
|
LEX_SRCS = parser.l
|
|
BISON_SRCS = parser.y
|
|
|
|
EXTRADEFS = -DDEFAULT_INCLUDE_DIR=\"$(includedir)/windows/\"
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
widl$(EXEEXT): $(OBJS) $(LIBWPP)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
|
|
|
|
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir) install-man-pages
|
|
$(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT)
|