blob: 40c840d1c07c35c62f113eccff7a284b39fedf26 [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
11# ASM_SRCS : assembly sources
Alexandre Julliard24c3c5e2000-05-24 03:31:04 +000012# GEN_C_SRCS : generated C files
Alexandre Julliardc53ceba2000-04-09 18:19:59 +000013# GEN_ASM_SRCS : generated assembly sources
14# RC_SRCS : resource source files
15# SPEC_SRCS : interface definition files
Alexandre Julliardc53ceba2000-04-09 18:19:59 +000016# EXTRA_SRCS : extra source files for make depend
17# EXTRA_OBJS : extra object files
Alexandre Julliard32459912002-05-09 00:05:48 +000018# IMPORTS : dlls to import
19# DELAYIMPORTS : dlls to import in delayed mode
Alexandre Julliardc53ceba2000-04-09 18:19:59 +000020# SUBDIRS : subdirectories that contain a Makefile
21# EXTRASUBDIRS : subdirectories that do not contain a Makefile
Alexandre Julliardf673b712002-06-14 23:48:27 +000022# INSTALLSUBDIRS : subdirectories to run make install/uninstall into
Alexandre Julliardff8331e1995-09-18 11:19:54 +000023
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +000024# First some useful definitions
25
Alexandre Julliard8664b891996-04-05 14:58:24 +000026SHELL = /bin/sh
27CC = @CC@
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +000028CPP = @CPP@
Alexandre Julliard4b922552002-08-02 19:12:01 +000029CFLAGS = @CFLAGS@ $(EXTRACFLAGS)
Alexandre Julliard0623a6f1998-01-18 18:01:49 +000030OPTIONS = @OPTIONS@ -D_REENTRANT
Alexandre Julliardff8331e1995-09-18 11:19:54 +000031X_CFLAGS = @X_CFLAGS@
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +000032X_LIBS = @X_LIBS@
Patrik Stridvallea584721998-11-01 16:22:07 +000033XLIB = @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@
Alexandre Julliard02e90081998-01-04 17:49:09 +000034LIBS = @LIBS@
Alexandre Julliardff8331e1995-09-18 11:19:54 +000035YACC = @YACC@
36LEX = @LEX@
37LEXLIB = @LEXLIB@
Alexandre Julliardfc01b722002-05-12 03:16:39 +000038EXEEXT = @EXEEXT@
39OBJEXT = @OBJEXT@
Alexandre Julliard2fa4f762000-10-31 00:20:51 +000040LIBEXT = @LIBEXT@
Alexandre Julliardc1bfca02002-03-20 22:19:06 +000041DLLEXT = @DLLEXT@
Alexandre Julliard2fa4f762000-10-31 00:20:51 +000042LDSHARED = @LDSHARED@
Hidenori Takeshimad48ca942000-12-22 22:28:00 +000043DLLWRAP = @DLLWRAP@
44DLLWRAPFLAGS = --add-stdcall-alias
Alexandre Julliardfc01b722002-05-12 03:16:39 +000045AR = @AR@ rc
Alexandre Julliard641ee761997-08-04 16:34:36 +000046RANLIB = @RANLIB@
Alexandre Julliardfc01b722002-05-12 03:16:39 +000047STRIP = @STRIP@
48WINDRES = @WINDRES@
Alexandre Julliarddf234a92002-05-22 02:10:39 +000049LN = @LN@
Alexandre Julliard641ee761997-08-04 16:34:36 +000050LN_S = @LN_S@
Alexandre Julliardfc01b722002-05-12 03:16:39 +000051TOOLSDIR = @TOOLSDIR@
Alexandre Julliard91222da2000-12-10 23:01:33 +000052DIVINCL = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL)
Marcus Meissnerd43eb2d2000-01-08 22:23:43 +000053ALLCFLAGS = $(DIVINCL) $(CFLAGS) $(DEFS) $(OPTIONS) $(X_CFLAGS)
Alexandre Julliardeb5f89c2002-05-24 21:22:10 +000054LD = @LD@
Marcus Meissnera387aa42000-09-26 23:09:47 +000055LDFLAGS = @LDFLAGS@
Alexandre Julliardeb5f89c2002-05-24 21:22:10 +000056LDCOMBINE = $(LD) -r
Alexandre Julliardff8331e1995-09-18 11:19:54 +000057RM = rm -f
Patrik Stridvalla9be64e1999-07-31 17:39:44 +000058MV = mv
Alexandre Julliardc7c217b1998-04-13 12:21:30 +000059C2MAN = @C2MAN@
Mike McCormack4306eaa2000-07-23 19:27:00 +000060MANSPECS = -w $(TOPSRCDIR)/dlls/gdi/gdi32.spec \
61 -w $(TOPSRCDIR)/dlls/user/user32.spec \
62 -w $(TOPSRCDIR)/dlls/comctl32/comctl32.spec \
Mike McCormack76e25f62001-07-26 20:06:00 +000063 -w $(TOPSRCDIR)/dlls/commdlg/comdlg32.spec \
Alexandre Julliard7cae5582002-06-01 02:55:48 +000064 -w $(TOPSRCDIR)/dlls/kernel/kernel32.spec
Patrik Stridvalla9be64e1999-07-31 17:39:44 +000065LINT = @LINT@
66LINTFLAGS = @LINTFLAGS@
67ALLLINTFLAGS = $(LINTFLAGS) $(DEFS) $(OPTIONS) $(DIVINCL)
Alexandre Julliardce830a92002-05-09 04:31:39 +000068MKINSTALLDIRS= $(TOPSRCDIR)/tools/mkinstalldirs
Patrik Stridvall385dc181999-09-29 10:24:19 +000069WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi_check/winapi_check
Alexandre Julliard35363162002-05-22 21:32:49 +000070WINEWRAPPER = $(TOPSRCDIR)/tools/winewrapper
Alexandre Julliardedeee892002-08-09 01:22:40 +000071RUNTEST = $(TOPSRCDIR)/programs/winetest/runtest
Alexandre Julliardfc01b722002-05-12 03:16:39 +000072WINEBUILD = $(TOOLSDIR)/tools/winebuild/winebuild
73MAKEDEP = $(TOOLSDIR)/tools/makedep
74WRC = $(TOOLSDIR)/tools/wrc/wrc
75WMC = $(TOOLSDIR)/tools/wmc/wmc
Hidenori Takeshimad48ca942000-12-22 22:28:00 +000076LDPATH = @LDPATH@
Alexandre Julliard0adad952000-01-26 01:45:58 +000077DLLDIR = $(TOPOBJDIR)/dlls
Alexandre Julliardb0182392000-12-06 00:04:10 +000078LIBWINE = -L$(TOPOBJDIR)/library -lwine
79LIBTSX11 = -L$(TOPOBJDIR)/tsx11 -lwine_tsx11
80LIBUNICODE= -L$(TOPOBJDIR)/unicode -lwine_unicode
Alexandre Julliardc4d11762000-12-27 19:06:44 +000081LIBUUID = -L$(TOPOBJDIR)/ole -lwine_uuid
Alexandre Julliardb0182392000-12-06 00:04:10 +000082
Alexandre Julliardff8331e1995-09-18 11:19:54 +000083@SET_MAKE@
84
Alexandre Julliard641ee761997-08-04 16:34:36 +000085# Installation infos
86
Alexandre Julliardf673b712002-06-14 23:48:27 +000087INSTALL = @INSTALL@ $(INSTALL_FLAGS)
88INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(INSTALL_PROGRAM_FLAGS)
89INSTALL_SCRIPT = @INSTALL_SCRIPT@ $(INSTALL_SCRIPT_FLAGS)
90INSTALL_DATA = @INSTALL_DATA@ $(INSTALL_DATA_FLAGS)
Alexandre Julliard641ee761997-08-04 16:34:36 +000091prefix = @prefix@
92exec_prefix = @exec_prefix@
93bindir = @bindir@
94libdir = @libdir@
Alexandre Julliard1d8d0172002-08-02 19:34:21 +000095datadir = @datadir@
Alexandre Julliard641ee761997-08-04 16:34:36 +000096infodir = @infodir@
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000097mandir = @mandir@
Alexandre Julliard9bb05fc2002-05-14 18:36:54 +000098sysconfdir = @sysconfdir@
99includedir = @includedir@/wine
Alexandre Julliardc1bfca02002-03-20 22:19:06 +0000100dlldir = @libdir@/wine
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000101prog_manext = 1
102conf_manext = 5
Alexandre Julliardfc01b722002-05-12 03:16:39 +0000103CLEAN_FILES = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
Alexandre Julliardad533832002-05-14 20:54:58 +0000104 *.flc *.spec.c *.spec.def *.glue.c *.dbg.c y.tab.c y.tab.h @LEX_OUTPUT_ROOT@.c core
Alexandre Julliard641ee761997-08-04 16:34:36 +0000105
Alexandre Julliard526531e2002-08-01 18:36:58 +0000106OBJS = $(C_SRCS:.c=.o) $(GEN_C_SRCS:.c=.o) $(GEN_ASM_SRCS:.s=.o) $(ASM_SRCS:.S=.o) $(EXTRA_OBJS)
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000107
Steven Edwards9138fbb2002-07-29 23:28:09 +0000108RCOBJS = $(RC_SRCS:.rc=.res.o)
109LINTS = $(C_SRCS:.c=.ln)
Patrik Stridvalla9be64e1999-07-31 17:39:44 +0000110
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000111# Implicit rules
112
Alexandre Julliard526531e2002-08-01 18:36:58 +0000113.SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.c .spec.def .pl .ok
Alexandre Julliardff8331e1995-09-18 11:19:54 +0000114
115.c.o:
François Gouget1c3a2422001-11-09 19:15:51 +0000116 $(CC) -c $(ALLCFLAGS) -o $@ $<
Alexandre Julliardff8331e1995-09-18 11:19:54 +0000117
Alexandre Julliard7e6ae4b1996-12-08 19:25:27 +0000118.s.o:
François Gouget1c3a2422001-11-09 19:15:51 +0000119 $(AS) -o $@ $<
Alexandre Julliard7e6ae4b1996-12-08 19:25:27 +0000120
Alexandre Julliardff8331e1995-09-18 11:19:54 +0000121.S.o:
François Gouget1c3a2422001-11-09 19:15:51 +0000122 $(CC) -c -o $@ $<
Alexandre Julliardff8331e1995-09-18 11:19:54 +0000123
Alexandre Julliard017a61e2000-11-06 05:30:48 +0000124.mc.mc.rc:
125 $(LDPATH) $(WMC) -i -H /dev/null -o $@ $<
Alexandre Julliardf5aee672000-07-25 17:52:08 +0000126
Alexandre Julliarda845b881998-06-01 10:44:35 +0000127.rc.res:
Alexandre Julliard017a61e2000-11-06 05:30:48 +0000128 $(LDPATH) $(WRC) $(WRCFLAGS) $(DIVINCL) -o $@ -r $<
Alexandre Julliarda845b881998-06-01 10:44:35 +0000129
Alexandre Julliardfc01b722002-05-12 03:16:39 +0000130.res.res.o:
131 $(WINDRES) -i $< -o $@
132
Ulrich Weigand3dff7bb1999-07-11 13:58:31 +0000133.spec.spec.c:
Alexandre Julliard77afd6c2002-06-21 19:15:45 +0000134 $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -M $(MODULE) -spec $<
Ulrich Weigand3dff7bb1999-07-11 13:58:31 +0000135
Dmitry Timoshkov93a5b862002-02-04 18:48:18 +0000136.spec.spec.def:
Alexandre Julliardad533832002-05-14 20:54:58 +0000137 $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -def $<
Dmitry Timoshkov93a5b862002-02-04 18:48:18 +0000138
Patrik Stridvalla9be64e1999-07-31 17:39:44 +0000139.c.ln:
140 $(LINT) -c $(ALLLINTFLAGS) $< || ( $(RM) $@ && exit 1 )
141
Alexandre Julliardcaa03382002-02-20 19:03:59 +0000142.c.ok:
Alexandre Julliardedeee892002-08-09 01:22:40 +0000143 $(RUNTEST) $(RUNTESTFLAGS) $< && touch $@
Alexandre Julliardcaa03382002-02-20 19:03:59 +0000144
Alexandre Julliard13b0c092002-01-10 03:30:21 +0000145.pl.ok:
Alexandre Julliardedeee892002-08-09 01:22:40 +0000146 $(RUNTEST) $(RUNTESTFLAGS) $< && touch $@
Alexandre Julliard13b0c092002-01-10 03:30:21 +0000147
Alexandre Julliardd0edc5f2000-03-04 22:31:27 +0000148# 'all' target first in case the enclosing Makefile didn't define any target
149
150all: Makefile
151
Patrik Stridvallb7190292001-07-29 20:20:13 +0000152filter:
153 @$(TOPSRCDIR)/tools/winapi/make_filter --make $(MAKE) all
154
Alexandre Julliardf673b712002-06-14 23:48:27 +0000155.PHONY: all filter
156
Alexandre Julliardad533832002-05-14 20:54:58 +0000157# Rule for main module debug channels
158
159$(MODULE).dbg.c: $(C_SRCS) $(WINEBUILD)
160 $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -debug -C$(SRCDIR) $(C_SRCS)
161
Alexandre Julliard526531e2002-08-01 18:36:58 +0000162# Rule for 16-bit glue
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000163
Alexandre Julliard526531e2002-08-01 18:36:58 +0000164$(MODULE).glue.c: $(C_SRCS) $(WINEBUILD)
165 $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -glue -C$(SRCDIR) $(C_SRCS)
Alexandre Julliarda845b881998-06-01 10:44:35 +0000166
Alexandre Julliard526531e2002-08-01 18:36:58 +0000167# Rule to rebuild the tools
Bertho Stultiens30855912000-06-13 04:34:41 +0000168
Alexandre Julliard526531e2002-08-01 18:36:58 +0000169$(MAKEDEP) $(WINEBUILD) $(WMC) $(WRC):
170 cd $(TOOLSDIR)/tools && $(MAKE) `basename $@`
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000171
Alexandre Julliarde66d4211999-03-14 15:22:29 +0000172# Rules for makefile
173
Marcus Meissnerca004e51999-01-03 12:26:22 +0000174Makefile: Makefile.in $(TOPSRCDIR)/configure
175 @echo Makefile is older than $?, please rerun $(TOPSRCDIR)/configure
176 @exit 1
177
Alexandre Julliard829fe321998-07-26 14:27:39 +0000178# Rules for auto documentation
Alexandre Julliard44ed71f1997-12-21 19:17:50 +0000179
Francois Gougetb83bb6d2001-08-22 18:01:39 +0000180$(SUBDIRS:%=%/__man__): dummy
181 cd `dirname $@` && $(MAKE) man
Alexandre Julliard829fe321998-07-26 14:27:39 +0000182
Francois Gougetb83bb6d2001-08-22 18:01:39 +0000183man: $(C_SRCS) $(SUBDIRS:%=%/__man__)
Alexandre Julliardce830a92002-05-09 04:31:39 +0000184 if [ -n "$(C_SRCS)" ]; then $(MKINSTALLDIRS) $(TOPOBJDIR)/documentation/man3w; for i in $(C_SRCS); do $(C2MAN) -L -o $(TOPOBJDIR)/documentation/man3w -S3w $(DIVINCL) -D__WINE__ $(MANSPECS) $$i; done; fi
Francois Gougetb83bb6d2001-08-22 18:01:39 +0000185
186$(SUBDIRS:%=%/__doc_html__): dummy
187 cd `dirname $@` && $(MAKE) doc-html
188
189doc-html: $(C_SRCS) $(SUBDIRS:%=%/__doc_html__)
Alexandre Julliardce830a92002-05-09 04:31:39 +0000190 if [ -n "$(C_SRCS)" ]; then $(MKINSTALLDIRS) $(TOPOBJDIR)/documentation/html; for i in $(C_SRCS); do $(C2MAN) -L -o $(TOPOBJDIR)/documentation/html -Th -iwindows.h $(DIVINCL) -D__WINE__ $(MANSPECS) $$i; done; fi
Alexandre Julliard829fe321998-07-26 14:27:39 +0000191
Alexandre Julliardf673b712002-06-14 23:48:27 +0000192.PHONY: man doc-html $(SUBDIRS:%=%/__man__) $(SUBDIRS:%=%/__doc_html__)
193
Alexandre Julliard46ea8b31998-05-03 19:01:20 +0000194# Rule for linting
195
Patrik Stridvalla9be64e1999-07-31 17:39:44 +0000196$(MODULE).ln : $(LINTS)
197 if test "$(LINTS)" ; \
198 then \
199 $(LINT) $(ALLLINTFLAGS) -o$(MODULE) $(LINTS) ; \
200 $(MV) llib-l$(MODULE).ln $(MODULE).ln ; \
201 else \
202 $(LINT) $(ALLLINTFLAGS) -C$(MODULE) /dev/null ; \
203 fi
204
205lint:: $(MODULE).ln
Alexandre Julliard46ea8b31998-05-03 19:01:20 +0000206
Patrik Stridvall385dc181999-09-29 10:24:19 +0000207# Rules for Windows API checking
208
Alexandre Julliardf673b712002-06-14 23:48:27 +0000209winapi_check:: dummy
Patrik Stridvall385dc181999-09-29 10:24:19 +0000210 $(WINAPI_CHECK) $(WINAPI_CHECK_FLAGS) $(WINAPI_CHECK_EXTRA_FLAGS) .
211
Alexandre Julliardf673b712002-06-14 23:48:27 +0000212.PHONY: winapi_check
213
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000214# Rules for dependencies
215
216$(SUBDIRS:%=%/__depend__): $(MAKEDEP) dummy
217 cd `dirname $@` && $(MAKE) depend
218
Alexandre Julliardad533832002-05-14 20:54:58 +0000219depend: $(MAKEDEP) $(SUBDIRS:%=%/__depend__)
Alexandre Julliardedeee892002-08-09 01:22:40 +0000220 $(MAKEDEP) $(DIVINCL) -C$(SRCDIR) $(C_SRCS) $(RC_SRCS) $(RC_SRCS16) $(MC_SRCS) $(EXTRA_SRCS)
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000221
Alexandre Julliardf673b712002-06-14 23:48:27 +0000222.PHONY: depend $(SUBDIRS:%=%/__depend__)
223
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000224# Rules for cleaning
225
226$(SUBDIRS:%=%/__clean__): dummy
227 cd `dirname $@` && $(MAKE) clean
228
Alexandre Julliard13b0c092002-01-10 03:30:21 +0000229$(SUBDIRS:%=%/__testclean__): dummy
230 cd `dirname $@` && $(MAKE) testclean
231
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000232$(EXTRASUBDIRS:%=%/__clean__): dummy
233 -cd `dirname $@` && $(RM) $(CLEAN_FILES)
234
Alexandre Julliard13b0c092002-01-10 03:30:21 +0000235testclean:: $(SUBDIRS:%=%/__testclean__)
Alexandre Julliard13b0c092002-01-10 03:30:21 +0000236
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000237clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
Alexandre Julliardedeee892002-08-09 01:22:40 +0000238 $(RM) $(CLEAN_FILES) $(GEN_C_SRCS) $(GEN_ASM_SRCS) $(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res) $(MC_SRCS:.mc=.mc.rc) $(PROGRAMS)
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000239
Alexandre Julliardf673b712002-06-14 23:48:27 +0000240.PHONY: clean testclean $(SUBDIRS:%=%/__clean__) $(SUBDIRS:%=%/__testclean__) $(EXTRASUBDIRS:%=%/__clean__)
241
Alexandre Julliard2f158c22000-06-14 21:45:38 +0000242# Rules for installing
243
Alexandre Julliardf673b712002-06-14 23:48:27 +0000244$(INSTALLSUBDIRS:%=%/__install__): dummy
Alexandre Julliard2f158c22000-06-14 21:45:38 +0000245 cd `dirname $@` && $(MAKE) install
246
Alexandre Julliardf673b712002-06-14 23:48:27 +0000247$(INSTALLSUBDIRS:%=%/__uninstall__): dummy
Alexandre Julliard2f158c22000-06-14 21:45:38 +0000248 cd `dirname $@` && $(MAKE) uninstall
249
Alexandre Julliardf673b712002-06-14 23:48:27 +0000250install:: $(INSTALLSUBDIRS:%=%/__install__)
251
252uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__)
253
254.PHONY: install uninstall $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__uninstall__)
255
Alexandre Julliardedeee892002-08-09 01:22:40 +0000256# Rules for checking that no imports are missing
Alexandre Julliard13b0c092002-01-10 03:30:21 +0000257
Alexandre Julliardedeee892002-08-09 01:22:40 +0000258$(SUBDIRS:%=%/__checklink__): dummy
259 @cd `dirname $@` && $(MAKE) checklink
260
261.PHONY: checklink $(SUBDIRS:%=%/__checklink__)
262
263# Rules for testing
Alexandre Julliard13b0c092002-01-10 03:30:21 +0000264
Alexandre Julliardd7c606d2002-04-02 02:58:45 +0000265$(SUBDIRS:%=%/__test__): dummy
266 @cd `dirname $@` && $(MAKE) test
267
Alexandre Julliardf673b712002-06-14 23:48:27 +0000268.PHONY: check test $(SUBDIRS:%=%/__test__)
269
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000270# Misc. rules
271
Alexandre Julliard7662ea12001-12-14 23:14:22 +0000272$(SPEC_SRCS:.spec=.spec.c): $(WINEBUILD)
Ulrich Weigand3dff7bb1999-07-11 13:58:31 +0000273
Alexandre Julliardcbeb6442000-10-25 20:33:58 +0000274$(RC_SRCS:.rc=.res): $(WRC)
Alexandre Julliardd0edc5f2000-03-04 22:31:27 +0000275
Dmitry Timoshkovdb790452001-05-31 21:37:29 +0000276$(RC_SRCS16:.rc=.res): $(WRC)
277
Alexandre Julliard017a61e2000-11-06 05:30:48 +0000278$(MC_SRCS:.mc=.mc.rc): $(WMC)
Alexandre Julliardf5aee672000-07-25 17:52:08 +0000279
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000280$(SUBDIRS): dummy
281 @cd $@ && $(MAKE)
Alexandre Julliardff8331e1995-09-18 11:19:54 +0000282
Alexandre Julliardff8331e1995-09-18 11:19:54 +0000283dummy:
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000284
Alexandre Julliardf673b712002-06-14 23:48:27 +0000285.PHONY: dummy $(SUBDIRS)
286
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000287# End of global rules