mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
35 lines
808 B
Makefile
35 lines
808 B
Makefile
DEFS = -D__WINESRC__ -DINCLUDEDIR="\"$(includedir)\"" $(EXTRADEFS)
|
|
PROGRAMS = wrc$(EXEEXT) wrc-installed
|
|
MANPAGE = wrc.man
|
|
|
|
C_SRCS = \
|
|
dumpres.c \
|
|
genres.c \
|
|
newstruc.c \
|
|
readres.c \
|
|
translation.c \
|
|
utils.c \
|
|
wrc.c \
|
|
writeres.c
|
|
|
|
LEX_SRCS = parser.l
|
|
BISON_SRCS = parser.y
|
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
wrc$(EXEEXT): $(OBJS) $(LIBWPP)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
|
|
|
|
wrc-installed: $(OBJS) $(LIBWPP)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
|
|
|
|
install:: wrc-installed $(DESTDIR)$(bindir)
|
|
$(INSTALL_PROGRAM) wrc-installed $(DESTDIR)$(bindir)/wrc$(EXEEXT)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
|