Sweden-Number/tools/wmc/Makefile.in

29 lines
561 B
Makefile

PROGRAMS = wmc$(EXEEXT)
MANPAGE = wmc.man
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWINE_STATIC) $(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)
install install-dev:: wmc$(EXEEXT) $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_PROGRAM) wmc$(EXEEXT) $(DESTDIR)$(bindir)/wmc$(EXEEXT)
uninstall::
$(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT)