mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
36 lines
977 B
Makefile
36 lines
977 B
Makefile
# Global rules shared by all makefiles -*-Makefile-*-
|
|
#
|
|
# Each individual makefile may define the following variables:
|
|
# C_SRCS : C sources for the module
|
|
# OBJC_SRCS : Objective-C sources for the module
|
|
# RC_SRCS : resource source files
|
|
# EXTRA_OBJS : extra object files
|
|
# IMPORTS : dlls to import
|
|
# DELAYIMPORTS : dlls to import in delayed mode
|
|
# MODCFLAGS : extra CFLAGS for this module
|
|
|
|
# First some useful definitions
|
|
|
|
ALLCFLAGS = $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS)
|
|
IDLFLAGS = $(EXTRAIDLFLAGS)
|
|
RCFLAGS = --nostdinc $(PORCFLAGS)
|
|
|
|
OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(OBJC_SRCS:.m=.o) \
|
|
$(RC_SRCS:.rc=.res) $(MC_SRCS:.mc=.res) $(EXTRA_OBJS)
|
|
|
|
ALLCROSSCFLAGS = $(CPPFLAGS) $(CFLAGS)
|
|
|
|
# Rules for cleaning
|
|
|
|
clean::
|
|
$(RM) $(CLEAN_FILES)
|
|
|
|
.PHONY: clean
|
|
|
|
# Rules for installing
|
|
|
|
install install-lib install-dev uninstall::
|
|
|
|
.PHONY: install install-lib install-dev uninstall
|
|
|
|
# End of global rules
|