2000-06-13 06:34:41 +02:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2002-05-30 22:36:29 +02:00
|
|
|
EXEEXT = @EXEEXT@
|
2009-10-05 14:55:25 +02:00
|
|
|
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
2000-06-13 06:34:41 +02:00
|
|
|
|
2007-06-20 20:03:30 +02:00
|
|
|
PROGRAMS = wmc$(EXEEXT) wmc-installed
|
2005-10-06 18:10:01 +02:00
|
|
|
MANPAGES = wmc.man
|
2000-06-13 06:34:41 +02:00
|
|
|
MODULE = none
|
|
|
|
|
|
|
|
C_SRCS = \
|
|
|
|
lang.c \
|
|
|
|
mcl.c \
|
|
|
|
utils.c \
|
|
|
|
wmc.c \
|
|
|
|
write.c
|
|
|
|
|
2006-09-09 13:16:22 +02:00
|
|
|
BISON_SRCS = mcy.y
|
2000-06-13 06:34:41 +02:00
|
|
|
|
2006-08-07 17:48:18 +02:00
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
|
2005-10-06 18:10:01 +02:00
|
|
|
all: $(PROGRAMS) $(MANPAGES)
|
2000-06-13 06:34:41 +02:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2003-03-19 23:09:16 +01:00
|
|
|
wmc$(EXEEXT): $(OBJS)
|
2007-06-20 20:03:30 +02:00
|
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
|
2002-05-30 22:36:29 +02:00
|
|
|
|
2007-06-20 20:03:30 +02:00
|
|
|
wmc-installed: $(OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
|
|
|
|
|
2008-08-25 14:27:03 +02:00
|
|
|
install install-dev:: wmc-installed $(MANPAGES) $(INSTALLDIRS)
|
2006-02-14 13:51:38 +01:00
|
|
|
$(INSTALL_DATA) wmc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
|
2007-06-20 20:03:30 +02:00
|
|
|
$(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
|
2000-06-13 06:34:41 +02:00
|
|
|
|
|
|
|
uninstall::
|
2006-02-14 13:51:38 +01:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
|
2000-06-13 06:34:41 +02:00
|
|
|
|
2006-09-11 21:43:11 +02:00
|
|
|
mcy.tab.c: mcy.tab.h # for parallel makes
|
|
|
|
|
2006-09-14 09:38:16 +02:00
|
|
|
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|