blob: 3f5d18e34416507fa18cc663bbe9d5f9cdbdb623 [file] [log] [blame]
Alexandre Julliard139a4b11996-11-02 14:24:07 +00001# Global rules shared by all makefiles -*-Makefile-*-
Alexandre Julliardbf9130a1996-10-13 17:45:47 +00002#
Alexandre Julliardc53ceba2000-04-09 18:19:59 +00003# Each individual makefile must define the following variables:
Alexandre Julliard7e6ae4b1996-12-08 19:25:27 +00004# TOPSRCDIR : top-level source directory
5# TOPOBJDIR : top-level object directory
6# SRCDIR : source directory for this module
7# MODULE : name of the module being built
Alexandre Julliardc53ceba2000-04-09 18:19:59 +00008#
9# Each individual makefile may define the following additional variables:
10# C_SRCS : C sources for the module
Alexandre Julliardc53ceba2000-04-09 18:19:59 +000011# RC_SRCS : resource source files
Alexandre Julliardc53ceba2000-04-09 18:19:59 +000012# EXTRA_SRCS : extra source files for make depend
13# EXTRA_OBJS : extra object files
Alexandre Julliard32459912002-05-09 00:05:48 +000014# IMPORTS : dlls to import
15# DELAYIMPORTS : dlls to import in delayed mode
Alexandre Julliardc53ceba2000-04-09 18:19:59 +000016# EXTRASUBDIRS : subdirectories that do not contain a Makefile
Mike McCormackb7443722005-08-11 17:12:18 +000017# MODCFLAGS : extra CFLAGS for this module
Alexandre Julliardff8331e1995-09-18 11:19:54 +000018
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +000019# First some useful definitions
20
Alexandre Julliard8664b891996-04-05 14:58:24 +000021SHELL = /bin/sh
22CC = @CC@
Alexandre Julliardfc094232003-04-14 21:46:41 +000023CFLAGS = @CFLAGS@
Alexandre Julliard15566392003-06-13 23:26:01 +000024CPPFLAGS = @CPPFLAGS@
Alexandre Julliard02e90081998-01-04 17:49:09 +000025LIBS = @LIBS@
Mike McCormackc068f672004-03-16 03:11:39 +000026BISON = @BISON@
Alexandre Julliard40916272007-03-08 13:19:50 +010027FLEX = @FLEX@
Alexandre Julliardfc01b722002-05-12 03:16:39 +000028EXEEXT = @EXEEXT@
29OBJEXT = @OBJEXT@
Alexandre Julliard2fa4f762000-10-31 00:20:51 +000030LIBEXT = @LIBEXT@
Alexandre Julliardc1bfca02002-03-20 22:19:06 +000031DLLEXT = @DLLEXT@
Alexandre Julliardb860c4a2009-09-01 22:36:13 +020032TOOLSEXT = @TOOLSEXT@
Alexandre Julliardada5e652002-12-12 22:03:14 +000033IMPLIBEXT = @IMPLIBEXT@
Alexandre Julliard2fa4f762000-10-31 00:20:51 +000034LDSHARED = @LDSHARED@
Alexandre Julliardada5e652002-12-12 22:03:14 +000035DLLTOOL = @DLLTOOL@
Hidenori Takeshimad48ca942000-12-22 22:28:00 +000036DLLWRAP = @DLLWRAP@
Rob Shearman0c694d72008-03-04 15:53:41 +000037AR = @AR@
38ARFLAGS = @ARFLAGS@
Alexandre Julliard641ee761997-08-04 16:34:36 +000039RANLIB = @RANLIB@
Alexandre Julliardfc01b722002-05-12 03:16:39 +000040STRIP = @STRIP@
Alexandre Julliard641ee761997-08-04 16:34:36 +000041LN_S = @LN_S@
Alexandre Julliardfc01b722002-05-12 03:16:39 +000042TOOLSDIR = @TOOLSDIR@
Marcus Meissnera387aa42000-09-26 23:09:47 +000043LDFLAGS = @LDFLAGS@
Alexandre Julliardadbb0982005-08-09 11:12:29 +000044PRELINK = @PRELINK@
Alexandre Julliardff8331e1995-09-18 11:19:54 +000045RM = rm -f
Patrik Stridvalla9be64e1999-07-31 17:39:44 +000046MV = mv
Patrik Stridvalla9be64e1999-07-31 17:39:44 +000047LINT = @LINT@
48LINTFLAGS = @LINTFLAGS@
Huw Davies00acb5f2004-08-17 22:33:14 +000049FONTFORGE = @FONTFORGE@
Alexandre Julliarddc4a4752008-03-20 16:09:18 +010050RSVG = @RSVG@
Joel Holdsworth476a2be2010-04-05 11:15:03 +010051CONVERT = @CONVERT@
Alexandre Julliarddc4a4752008-03-20 16:09:18 +010052ICOTOOL = @ICOTOOL@
Alexandre Julliardcce43872010-01-23 18:00:54 +010053CROSSCC = @CROSSCC@
Alexandre Julliard1f254212010-01-23 20:26:49 +010054CROSSTARGET = @CROSSTARGET@
55CROSSAR = $(CROSSTARGET)-ar
56CROSSRANLIB = $(CROSSTARGET)-ranlib
Alexandre Julliardf78a8ce2009-08-18 11:29:35 +020057FAKEEXT = $(DLLEXT:.so=.fake)
Alexandre Julliardfc094232003-04-14 21:46:41 +000058INCLUDES = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL)
59EXTRACFLAGS = @EXTRACFLAGS@
Mike McCormackb7443722005-08-11 17:12:18 +000060ALLCFLAGS = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
Alexandre Julliardfc094232003-04-14 21:46:41 +000061ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
Alexandre Julliard16cd8612003-09-24 19:01:44 +000062IDLFLAGS = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
Alexandre Julliard8c846362009-01-14 12:53:42 +010063TARGETFLAGS = @TARGETFLAGS@
Alexandre Julliardfc094232003-04-14 21:46:41 +000064MKINSTALLDIRS= $(TOPSRCDIR)/tools/mkinstalldirs -m 755
Hans Leidekkera7644502005-05-04 09:55:17 +000065WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi/winapi_check
Joel Holdsworth465e6532010-05-16 23:07:57 +010066BUILDIMAGE = $(TOPSRCDIR)/tools/buildimage
Richard Cohen6039fb02003-07-21 22:01:07 +000067C2MAN = $(TOPSRCDIR)/tools/c2man.pl
Dimitrie O. Paune39e8a12002-11-11 20:25:54 +000068RUNTEST = $(TOPSRCDIR)/tools/runtest
Alexandre Julliardb860c4a2009-09-01 22:36:13 +020069WINEBUILD = $(TOOLSDIR)/tools/winebuild/winebuild$(TOOLSEXT)
70MAKEDEP = $(TOOLSDIR)/tools/makedep$(TOOLSEXT)
71MAKECTESTS = $(TOOLSDIR)/tools/make_ctests$(TOOLSEXT)
72WRC = $(TOOLSDIR)/tools/wrc/wrc$(TOOLSEXT)
73WMC = $(TOOLSDIR)/tools/wmc/wmc$(TOOLSEXT)
74WIDL = $(TOOLSDIR)/tools/widl/widl$(TOOLSEXT)
Alexandre Julliard6c142382010-04-11 12:47:30 +020075WINEGCC = $(TOOLSDIR)/tools/winegcc/winegcc $(TARGETFLAGS) -B$(TOOLSDIR)/tools/winebuild --sysroot=$(TOPOBJDIR) @UNWINDFLAGS@
Alexandre Julliard4945a132010-01-23 20:33:37 +010076CROSSWINEGCC = $(TOOLSDIR)/tools/winegcc/winegcc $(CROSSTARGET:%=-b %) -B$(TOOLSDIR)/tools/winebuild --sysroot=$(TOPOBJDIR) --lib-suffix=.cross.a
Alexandre Julliardb860c4a2009-09-01 22:36:13 +020077RELPATH = $(TOOLSDIR)/tools/relpath$(TOOLSEXT)
78SFNT2FNT = $(TOOLSDIR)/tools/sfnt2fnt$(TOOLSEXT)
Dimitrie O. Paun1a1f9bf2003-05-06 18:34:53 +000079RC = $(WRC)
Alexandre Julliard49b9c762003-12-13 03:19:34 +000080RCFLAGS = --nostdinc $(INCLUDES) $(DEFS) $(EXTRARCFLAGS)
Alexandre Julliard2a93f852002-12-11 01:34:51 +000081LDPATH = @LDPATH@
82DLLDIR = $(TOPOBJDIR)/dlls
Alexandre Julliard645cd6f2006-07-11 19:33:48 +020083LIBPORT = $(TOPOBJDIR)/libs/port/libwine_port.a
84LIBWPP = $(TOPOBJDIR)/libs/wpp/libwpp.a
Alexandre Julliard2d1c7902003-03-22 20:40:48 +000085LIBWINE = -L$(TOPOBJDIR)/libs/wine -lwine
Alexandre Julliard1f113332007-06-20 20:03:30 +020086LDRPATH_INSTALL = @LDRPATH_INSTALL@
87LDRPATH_LOCAL = @LDRPATH_LOCAL@
Alexandre Julliardb0182392000-12-06 00:04:10 +000088
Alexandre Julliardff8331e1995-09-18 11:19:54 +000089@SET_MAKE@
90
Alexandre Julliard641ee761997-08-04 16:34:36 +000091# Installation infos
92
Alexandre Julliardf673b712002-06-14 23:48:27 +000093INSTALL = @INSTALL@ $(INSTALL_FLAGS)
94INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(INSTALL_PROGRAM_FLAGS)
95INSTALL_SCRIPT = @INSTALL_SCRIPT@ $(INSTALL_SCRIPT_FLAGS)
96INSTALL_DATA = @INSTALL_DATA@ $(INSTALL_DATA_FLAGS)
Alexandre Julliard641ee761997-08-04 16:34:36 +000097prefix = @prefix@
98exec_prefix = @exec_prefix@
99bindir = @bindir@
100libdir = @libdir@
Alexandre Julliard74984112006-05-28 18:16:38 +0200101datarootdir = @datarootdir@
Alexandre Julliard1d8d0172002-08-02 19:34:21 +0000102datadir = @datadir@
Alexandre Julliard641ee761997-08-04 16:34:36 +0000103infodir = @infodir@
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000104mandir = @mandir@
Alexandre Julliard9bb05fc2002-05-14 18:36:54 +0000105sysconfdir = @sysconfdir@
106includedir = @includedir@/wine
Alexandre Julliardc1bfca02002-03-20 22:19:06 +0000107dlldir = @libdir@/wine
Alexandre Julliard5f105952009-08-18 11:33:26 +0200108fakedlldir = $(dlldir)/fakedlls
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000109prog_manext = 1
Jon Griffiths35345f22003-03-15 19:48:34 +0000110api_manext = 3w
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000111conf_manext = 5
Alexandre Julliardf78a8ce2009-08-18 11:29:35 +0200112CLEAN_FILES = *.o *.a *.so *.ln *.res *.fake *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej *.flc core
Alexandre Julliard641ee761997-08-04 16:34:36 +0000113
Alexandre Julliard1df72cc2007-02-09 14:32:36 +0100114IDL_GEN_C_SRCS = $(IDL_C_SRCS:.idl=_c.c) $(IDL_I_SRCS:.idl=_i.c) \
115 $(IDL_P_SRCS:.idl=_p.c) $(IDL_S_SRCS:.idl=_s.c)
116IDL_GEN_HEADERS = $(IDL_H_SRCS:.idl=.h) $(IDL_C_SRCS:.idl=.h) $(IDL_I_SRCS:.idl=.h) \
117 $(IDL_P_SRCS:.idl=.h) $(IDL_S_SRCS:.idl=.h)
Alexandre Julliardce251562006-12-29 12:42:25 +0100118
Alexandre Julliardb0585bf2007-12-10 14:26:13 +0100119CLEAN_TARGETS = $(IDL_GEN_C_SRCS) $(IDL_GEN_HEADERS) $(IDL_TLB_SRCS:.idl=.tlb) $(IDL_P_SRCS:%=dlldata.c) \
Alexandre Julliard1137f4b2008-03-13 11:47:23 +0100120 $(BISON_SRCS:.y=.tab.c) $(BISON_SRCS:.y=.tab.h) $(LEX_SRCS:.l=.yy.c) $(MC_SRCS:.mc=.mc.rc)
Alexandre Julliardce251562006-12-29 12:42:25 +0100121
Alexandre Julliardd6cc6ca2009-07-03 15:47:43 +0200122OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(IDL_GEN_C_SRCS:.c=.o) \
123 $(RC_SRCS:.rc=.res) $(MC_SRCS:.mc=.mc.res) $(EXTRA_OBJS)
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000124
Alexandre Julliardcce43872010-01-23 18:00:54 +0100125CROSSOBJS = $(OBJS:.o=.cross.o)
Steven Edwards9138fbb2002-07-29 23:28:09 +0000126LINTS = $(C_SRCS:.c=.ln)
Patrik Stridvalla9be64e1999-07-31 17:39:44 +0000127
Alexandre Julliardd8e3d182008-04-24 12:46:43 +0200128# 'all' target first in case the enclosing Makefile didn't define any target
129
130all:
131
132filter: dummy
133 @$(TOPSRCDIR)/tools/winapi/make_filter --make $(MAKE) all
134
135.PHONY: all filter
136
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000137# Implicit rules
138
Joel Holdsworth66bd5f72010-04-24 14:06:11 +0100139.SUFFIXES: .mc .rc .mc.rc .res .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c .cross.o @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
Alexandre Julliardff8331e1995-09-18 11:19:54 +0000140
141.c.o:
François Gouget1c3a2422001-11-09 19:15:51 +0000142 $(CC) -c $(ALLCFLAGS) -o $@ $<
Alexandre Julliardff8331e1995-09-18 11:19:54 +0000143
Alexandre Julliardcce43872010-01-23 18:00:54 +0100144.c.cross.o:
Alexandre Julliard5d2b8e72010-04-08 17:29:11 +0200145 $(CROSSCC) -c $(INCLUDES) $(DEFS) -DWINE_CROSSTEST $(CPPFLAGS) $(CFLAGS) -o $@ $<
Alexandre Julliardcce43872010-01-23 18:00:54 +0100146
Alexandre Julliard9c085cb2006-09-09 13:16:22 +0200147.y.tab.c:
Alexandre Julliardbcdc5fb2006-09-11 21:47:49 +0200148 $(BISON) $(BISONFLAGS) -p $*_ -o $@ $<
Alexandre Julliard9c085cb2006-09-09 13:16:22 +0200149
150.y.tab.h:
Alexandre Julliardbcdc5fb2006-09-11 21:47:49 +0200151 $(BISON) $(BISONFLAGS) -p $*_ -o $*.tab.c -d $<
Alexandre Julliard9c085cb2006-09-09 13:16:22 +0200152
153.l.yy.c:
Alexandre Julliard40916272007-03-08 13:19:50 +0100154 $(FLEX) $(LEXFLAGS) -o$@ $<
Alexandre Julliard9c085cb2006-09-09 13:16:22 +0200155
Alexandre Julliard017a61e2000-11-06 05:30:48 +0000156.mc.mc.rc:
Martin Fuchs3f441672002-10-19 17:15:00 +0000157 $(LDPATH) $(WMC) -i -U -H /dev/null -o $@ $<
Alexandre Julliardf5aee672000-07-25 17:52:08 +0000158
Alexandre Julliarda845b881998-06-01 10:44:35 +0000159.rc.res:
Dimitrie O. Paun1a1f9bf2003-05-06 18:34:53 +0000160 $(LDPATH) $(RC) $(RCFLAGS) -fo$@ $<
Alexandre Julliarda845b881998-06-01 10:44:35 +0000161
Alexandre Julliard233766a2004-09-20 21:48:42 +0000162.idl.h:
Alexandre Julliardd0629242004-10-05 04:44:20 +0000163 $(WIDL) $(IDLFLAGS) -h -H $@ $<
Alexandre Julliard233766a2004-09-20 21:48:42 +0000164
Alexandre Julliard4e67a452006-08-09 12:38:15 +0200165.idl_c.c:
166 $(WIDL) $(IDLFLAGS) -c -C $@ $<
167
168.idl_i.c:
169 $(WIDL) $(IDLFLAGS) -u -U $@ $<
170
171.idl_p.c:
172 $(WIDL) $(IDLFLAGS) -p -P $@ $<
173
174.idl_s.c:
175 $(WIDL) $(IDLFLAGS) -s -S $@ $<
176
Huw Davies40468462005-01-28 14:13:08 +0000177.idl.tlb:
Alexandre Julliardf914b572009-05-21 11:37:34 +0200178 $(WIDL) $(TARGETFLAGS) $(IDLFLAGS) -t -T $@ $<
Huw Davies40468462005-01-28 14:13:08 +0000179
Patrik Stridvalla9be64e1999-07-31 17:39:44 +0000180.c.ln:
181 $(LINT) -c $(ALLLINTFLAGS) $< || ( $(RM) $@ && exit 1 )
182
Alexandre Julliardcaa03382002-02-20 19:03:59 +0000183.c.ok:
Alexandre Julliardedeee892002-08-09 01:22:40 +0000184 $(RUNTEST) $(RUNTESTFLAGS) $< && touch $@
Alexandre Julliardcaa03382002-02-20 19:03:59 +0000185
Huw Davies00acb5f2004-08-17 22:33:14 +0000186.sfd.ttf:
Robert Shearman8b00c3d2005-07-20 17:48:26 +0000187 $(FONTFORGE) -script $(TOPSRCDIR)/fonts/genttf.ff $< $@
Huw Davies00acb5f2004-08-17 22:33:14 +0000188
Alexandre Julliard664e4102005-10-06 16:06:04 +0000189.man.in.man:
Alexandre Julliard1716f032007-12-12 14:39:54 +0100190 LC_ALL=C sed -e 's,@bindir\@,$(bindir),g' -e 's,@dlldir\@,$(dlldir),g' -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $< >$@ || ($(RM) $@ && false)
Alexandre Julliard664e4102005-10-06 16:06:04 +0000191
Alexandre Julliarddc4a4752008-03-20 16:09:18 +0100192.svg.ico:
Joel Holdsworth465e6532010-05-16 23:07:57 +0100193 CONVERT="$(CONVERT)" ICOTOOL="$(ICOTOOL)" RSVG="$(RSVG)" $(BUILDIMAGE) $< $@
Alexandre Julliarddc4a4752008-03-20 16:09:18 +0100194
Joel Holdsworth66bd5f72010-04-24 14:06:11 +0100195.svg.bmp:
Joel Holdsworth465e6532010-05-16 23:07:57 +0100196 CONVERT="$(CONVERT)" ICOTOOL="$(ICOTOOL)" RSVG="$(RSVG)" $(BUILDIMAGE) $< $@
Joel Holdsworth66bd5f72010-04-24 14:06:11 +0100197
Alexandre Julliardb0585bf2007-12-10 14:26:13 +0100198# Rules for IDL files
199
200dlldata.c: $(WIDL) Makefile.in
201 $(WIDL) $(IDLFLAGS) --dlldata-only --dlldata=$@ $(IDL_P_SRCS)
202
Alexandre Julliard46ea8b31998-05-03 19:01:20 +0000203# Rule for linting
204
Patrik Stridvalla9be64e1999-07-31 17:39:44 +0000205$(MODULE).ln : $(LINTS)
206 if test "$(LINTS)" ; \
207 then \
208 $(LINT) $(ALLLINTFLAGS) -o$(MODULE) $(LINTS) ; \
209 $(MV) llib-l$(MODULE).ln $(MODULE).ln ; \
210 else \
211 $(LINT) $(ALLLINTFLAGS) -C$(MODULE) /dev/null ; \
212 fi
213
214lint:: $(MODULE).ln
Alexandre Julliard46ea8b31998-05-03 19:01:20 +0000215
Patrik Stridvall385dc181999-09-29 10:24:19 +0000216# Rules for Windows API checking
217
Alexandre Julliardf673b712002-06-14 23:48:27 +0000218winapi_check:: dummy
Patrik Stridvall385dc181999-09-29 10:24:19 +0000219 $(WINAPI_CHECK) $(WINAPI_CHECK_FLAGS) $(WINAPI_CHECK_EXTRA_FLAGS) .
220
Alexandre Julliardf673b712002-06-14 23:48:27 +0000221.PHONY: winapi_check
222
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000223# Rules for dependencies
224
Alexandre Julliardc6ae9a32009-12-29 12:45:37 +0100225DEPEND_SRCS = $(C_SRCS) $(RC_SRCS) $(MC_SRCS) \
Alexandre Julliardda191222008-04-24 22:13:57 +0200226 $(IDL_H_SRCS) $(IDL_C_SRCS) $(IDL_I_SRCS) $(IDL_P_SRCS) $(IDL_S_SRCS) \
227 $(IDL_GEN_C_SRCS) $(IDL_TLB_SRCS) $(IDL_TLB_SRCS:.idl=.tlb) \
228 $(BISON_SRCS) $(LEX_SRCS) $(EXTRA_SRCS)
Alexandre Julliard9c085cb2006-09-09 13:16:22 +0200229
Alexandre Julliard93f03392010-02-10 20:27:52 +0100230depend: dummy
Francois Gouget7bb43a32009-06-30 10:25:19 +0200231 $(MAKEDEP) $(MAKEDEPFLAGS) -C$(SRCDIR) -S$(TOPSRCDIR) -T$(TOPOBJDIR) $(EXTRAINCL) $(DEPEND_SRCS)
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000232
Alexandre Julliard93f03392010-02-10 20:27:52 +0100233.PHONY: depend
Alexandre Julliardf673b712002-06-14 23:48:27 +0000234
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000235# Rules for cleaning
236
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000237$(EXTRASUBDIRS:%=%/__clean__): dummy
238 -cd `dirname $@` && $(RM) $(CLEAN_FILES)
239
Alexandre Julliard93f03392010-02-10 20:27:52 +0100240clean:: $(EXTRASUBDIRS:%=%/__clean__)
Alexandre Julliardb64ceef2007-09-18 13:29:07 +0200241 $(RM) $(CLEAN_FILES) $(CLEAN_TARGETS) $(PROGRAMS) $(MANPAGES)
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000242
Alexandre Julliard93f03392010-02-10 20:27:52 +0100243.PHONY: clean $(EXTRASUBDIRS:%=%/__clean__)
Alexandre Julliardf673b712002-06-14 23:48:27 +0000244
Alexandre Julliard2f158c22000-06-14 21:45:38 +0000245# Rules for installing
246
Alexandre Julliard2886e9b2006-08-07 17:48:18 +0200247$(INSTALLDIRS):
248 $(MKINSTALLDIRS) $@
249
Alexandre Julliard93f03392010-02-10 20:27:52 +0100250install install-lib install-dev uninstall::
Alexandre Julliardf673b712002-06-14 23:48:27 +0000251
Alexandre Julliard93f03392010-02-10 20:27:52 +0100252.PHONY: install install-lib install-dev uninstall
Alexandre Julliardf673b712002-06-14 23:48:27 +0000253
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000254# Misc. rules
255
Alexandre Julliard017a61e2000-11-06 05:30:48 +0000256$(MC_SRCS:.mc=.mc.rc): $(WMC)
Alexandre Julliardf5aee672000-07-25 17:52:08 +0000257
Alexandre Julliard1df72cc2007-02-09 14:32:36 +0100258$(IDL_GEN_HEADERS) $(IDL_GEN_C_SRCS) $(IDL_TLB_SRCS:.idl=.tlb): $(WIDL)
Vincent BĂ©ron860c84b2005-02-08 12:13:10 +0000259
Alexandre Julliardc6ae9a32009-12-29 12:45:37 +0100260$(RC_SRCS:.rc=.res) $(MC_SRCS:.mc=.mc.res): $(WRC)
Alexandre Julliardda191222008-04-24 22:13:57 +0200261
Alexandre Julliardff8331e1995-09-18 11:19:54 +0000262dummy:
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000263
Alexandre Julliard93f03392010-02-10 20:27:52 +0100264.PHONY: dummy
Alexandre Julliardf673b712002-06-14 23:48:27 +0000265
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000266# End of global rules