mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
32 lines
704 B
Makefile
32 lines
704 B
Makefile
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
PROGRAMS = wmc$(EXEEXT) wmc-installed
|
|
MANPAGE = wmc.man
|
|
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWINE) $(LIBPORT)
|
|
|
|
C_SRCS = \
|
|
lang.c \
|
|
mcl.c \
|
|
po.c \
|
|
utils.c \
|
|
wmc.c \
|
|
write.c
|
|
|
|
BISON_SRCS = mcy.y
|
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
wmc$(EXEEXT): $(OBJS)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
|
|
|
|
wmc-installed: $(OBJS)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
|
|
|
|
install install-dev:: wmc-installed $(DESTDIR)$(bindir)
|
|
$(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT)
|