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 ALLCFLAGS = $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS)
15 IDLFLAGS = $(EXTRAIDLFLAGS)
16 RCFLAGS = --nostdinc $(PORCFLAGS)
18 OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(OBJC_SRCS:.m=.o) \
19 $(RC_SRCS:.rc=.res) $(MC_SRCS:.mc=.res) $(EXTRA_OBJS)
21 ALLCROSSCFLAGS = $(CPPFLAGS) $(CFLAGS)
30 # Rules for installing
32 install install-lib install-dev uninstall::
34 .PHONY: install install-lib install-dev uninstall