Copy the first 128 colors from the default colormap to Wine's private
[wine.git] / tools / wmc / Makefile.in
blobcccb6c5617a22bc8721cfa930f5d4af9ad2919ef
1 DEFS = -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 YACCOPT = #-v
8 PROGRAMS = wmc
9 MODULE = none
11 C_SRCS = \
12 lang.c \
13 mcl.c \
14 utils.c \
15 wmc.c \
16 write.c
18 EXTRA_SRCS = mcy.y
19 EXTRA_OBJS = y.tab.o
21 all: $(PROGRAMS)
23 mcl.o: y.tab.h
25 @MAKE_RULES@
27 wmc: $(OBJS) $(TOPOBJDIR)/unicode/libwine_unicode.$(LIBEXT)
28 $(CC) $(CFLAGS) -o wmc $(OBJS) $(LIBUNICODE) $(LEXLIB) $(LDFLAGS)
30 $(TOPOBJDIR)/unicode/libwine_unicode.$(LIBEXT):
31 cd `dirname $@` && $(MAKE) `basename $@`
33 y.tab.c y.tab.h: mcy.y
34 $(YACC) $(YACCOPT) -d -t $(SRCDIR)/mcy.y
36 clean::
37 $(RM) y.tab.c y.tab.h y.output
39 install:: $(PROGRAMS)
40 [ -d $(bindir) ] || $(MKDIR) $(bindir)
41 [ -d $(mandir)/man$(prog_manext) ] || $(MKDIR) $(mandir)/man$(prog_manext)
42 $(INSTALL_DATA) $(SRCDIR)/wmc.man $(mandir)/man$(prog_manext)/wmc.$(prog_manext)
43 $(INSTALL_PROGRAM) wmc $(bindir)/wmc
45 uninstall::
46 $(RM) $(bindir)/wmc $(mandir)/man$(prog_manext)/wmc.$(prog_manext)
48 ### Dependencies: