2000-06-13 04:34:41 +00:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2002-05-30 20:36:29 +00:00
|
|
|
EXEEXT = @EXEEXT@
|
2000-06-13 04:34:41 +00:00
|
|
|
|
2002-05-30 20:36:29 +00:00
|
|
|
PROGRAMS = wmc$(EXEEXT)
|
2005-10-06 16:10:01 +00:00
|
|
|
MANPAGES = wmc.man
|
2000-06-13 04:34:41 +00:00
|
|
|
MODULE = none
|
|
|
|
|
|
|
|
C_SRCS = \
|
|
|
|
lang.c \
|
|
|
|
mcl.c \
|
|
|
|
utils.c \
|
|
|
|
wmc.c \
|
|
|
|
write.c
|
|
|
|
|
2006-09-09 11:16:22 +00:00
|
|
|
BISON_SRCS = mcy.y
|
2000-06-13 04:34:41 +00:00
|
|
|
|
2006-08-07 15:48:18 +00:00
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
|
2005-10-06 16:10:01 +00:00
|
|
|
all: $(PROGRAMS) $(MANPAGES)
|
2000-06-13 04:34:41 +00:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2003-03-19 22:09:16 +00:00
|
|
|
wmc$(EXEEXT): $(OBJS)
|
2006-08-25 15:23:44 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE_LDFLAGS) $(LIBPORT) $(LEXLIB) $(LDFLAGS)
|
2002-05-30 20:36:29 +00:00
|
|
|
|
2006-08-07 15:48:18 +00:00
|
|
|
install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
|
2006-02-14 12:51:38 +00:00
|
|
|
$(INSTALL_DATA) wmc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
|
|
|
|
$(INSTALL_PROGRAM) wmc$(EXEEXT) $(DESTDIR)$(bindir)/wmc$(EXEEXT)
|
2000-06-13 04:34:41 +00:00
|
|
|
|
|
|
|
uninstall::
|
2006-02-14 12:51:38 +00:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
|
2000-06-13 04:34:41 +00:00
|
|
|
|
|
|
|
### Dependencies:
|
2006-09-09 11:16:22 +00:00
|
|
|
|
|
|
|
mcy.tab.o: mcy.tab.c
|
|
|
|
mcl.o: mcy.tab.h
|