Makefile.in 704 Bytes
Newer Older
1
DEFS     = -D__WINESRC__ $(EXTRADEFS)
2
PROGRAMS = wmc$(EXEEXT) wmc-installed
3
MANPAGE  = wmc.man
4
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWINE) $(LIBPORT)
5 6 7 8

C_SRCS = \
	lang.c \
	mcl.c \
9
	po.c \
10 11 12 13
	utils.c \
	wmc.c \
	write.c

14
BISON_SRCS = mcy.y
15

16 17
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)

18
all: $(PROGRAMS)
19 20 21

@MAKE_RULES@

22
wmc$(EXEEXT): $(OBJS)
23
	$(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
24

25
wmc-installed: $(OBJS)
26
	$(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
27

28
install install-dev:: wmc-installed $(DESTDIR)$(bindir)
29
	$(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
30 31

uninstall::
32
	$(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT)