ws2_32: Cope with invalid hints in getaddrinfo/GetAddrInfoW.
[wine.git] / Make.rules.in
blob52fdf9c74254a2bef16bca165d7e9aa6d2780f26
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) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
16 IDLFLAGS     = $(DEFS) $(EXTRAIDLFLAGS)
17 RCFLAGS      = --nostdinc $(PORCFLAGS) $(TARGETFLAGS) $(DEFS) $(EXTRARCFLAGS)
19 IDL_GEN_C_SRCS  = $(IDL_C_SRCS:.idl=_c.c) $(IDL_I_SRCS:.idl=_i.c) \
20                   $(IDL_P_SRCS:.idl=_p.c) $(IDL_S_SRCS:.idl=_s.c)
22 OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(IDL_GEN_C_SRCS:.c=.o) $(OBJC_SRCS:.m=.o) \
23        $(IDL_R_SRCS:.idl=_r.res) $(IDL_TLB_RES) $(RC_SRCS:.rc=.res) $(MC_SRCS:.mc=.res) $(EXTRA_OBJS)
25 ALLCROSSCFLAGS = $(DEFS) -DWINE_CROSSTEST $(CPPFLAGS) $(CFLAGS)
27 # Rules for dependencies
29 depend: dummy
30         $(MAKEDEP) -M .
32 .PHONY: depend
34 # Rules for man pages
36 all: $(MANPAGES:.man.in=.man)
38 # Rules for cleaning
40 clean::
41         $(RM) $(CLEAN_FILES) $(PROGRAMS)
43 .PHONY: clean
45 # Rules for installing
47 install install-lib install-dev uninstall::
49 .PHONY: install install-lib install-dev uninstall
51 # End of global rules