mirror of
https://github.com/reactos/wine.git
synced 2024-12-13 14:26:40 +00:00
6a9fe36de2
libwine routines in there.
46 lines
869 B
Makefile
46 lines
869 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
YACCOPT = #-v
|
|
EXEEXT = @EXEEXT@
|
|
|
|
PROGRAMS = wmc$(EXEEXT)
|
|
MODULE = none
|
|
|
|
C_SRCS = \
|
|
lang.c \
|
|
mcl.c \
|
|
utils.c \
|
|
wmc.c \
|
|
write.c
|
|
|
|
EXTRA_SRCS = mcy.y
|
|
EXTRA_OBJS = y.tab.o
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
mcl.o: y.tab.h
|
|
|
|
@MAKE_RULES@
|
|
|
|
wmc$(EXEEXT): $(OBJS)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBUNICODE) $(LIBPORT) $(LEXLIB) $(LDFLAGS)
|
|
|
|
y.tab.c y.tab.h: mcy.y
|
|
$(YACC) $(YACCOPT) -d -t $(SRCDIR)/mcy.y
|
|
|
|
# hack to allow parallel make
|
|
y.tab.h: y.tab.c
|
|
y.tab.o: y.tab.h
|
|
|
|
install:: $(PROGRAMS)
|
|
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
|
|
$(INSTALL_DATA) $(SRCDIR)/wmc.man $(mandir)/man$(prog_manext)/wmc.$(prog_manext)
|
|
$(INSTALL_PROGRAM) wmc$(EXEEXT) $(bindir)/wmc$(EXEEXT)
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/wmc$(EXEEXT) $(mandir)/man$(prog_manext)/wmc.$(prog_manext)
|
|
|
|
### Dependencies:
|