mscms: Print a fixme when compiled without support for liblcms2.
[wine/wine-gecko.git] / Make.rules.in
blob696614469c79e349c1f45217644aa68f92a3dbb6
1 # Global rules shared by all makefiles     -*-Makefile-*-
3 # Each individual makefile may define the following variables:
4 # C_SRCS       : C sources for the module
5 # OBJC_SRCS    : Objective-C sources for the module
6 # RC_SRCS      : resource source files
7 # EXTRA_OBJS   : extra object files
8 # IMPORTS      : dlls to import
9 # DELAYIMPORTS : dlls to import in delayed mode
10 # MODCFLAGS    : extra CFLAGS for this module
12 # First some useful definitions
14 DEFS         = -D__WINESRC__ $(EXTRADEFS)
15 ALLCFLAGS    = $(DEFS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
16 IDLFLAGS     = $(DEFS) $(EXTRAIDLFLAGS)
17 RCFLAGS      = --nostdinc $(PORCFLAGS) $(DEFS)
19 OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(OBJC_SRCS:.m=.o) \
20        $(RC_SRCS:.rc=.res) $(MC_SRCS:.mc=.res) $(EXTRA_OBJS)
22 ALLCROSSCFLAGS = $(DEFS) -DWINE_CROSSTEST $(CPPFLAGS) $(CFLAGS)
24 # Rules for dependencies
26 depend: dummy
27         $(MAKEDEP) -M .
29 .PHONY: depend
31 # Rules for cleaning
33 clean::
34         $(RM) $(CLEAN_FILES)
36 .PHONY: clean
38 # Rules for installing
40 install install-lib install-dev uninstall::
42 .PHONY: install install-lib install-dev uninstall
44 # End of global rules