📄 gnu.mpd
字号:
# -*- Makefile -*-
#----------------------------------------------------------------------------
# GNU Makefile
#
# @file <%project_file%>
#
# $Id: gnu.mpd 83821 2008-11-17 16:10:27Z mitza $
#
# This file was automatically generated by MPC. Any changes made directly to
# this file will be lost the next time it is generated.
#
#----------------------------------------------------------------------------
<%marker(top)%>
MAKEFILE = <%project_file%>
DEPENDENCY_FILE = .depend.<%project_name%>
<%if(exename)%>
BIN_UNCHECKED = <%exename%>
<%endif%>
<%if(staticname || sharedname)%>
LIB_PREFIX ?= lib
<%endif%>
<%if(staticname)%>
## LIB_CHECKED may be set to empty later on in this file
LIB_UNCHECKED = $(LIB_PREFIX)<%libname_prefix%><%staticname%>.$(LIBEXT)
LIB_CHECKED = $(LIB_UNCHECKED)
LIB_NAME = $(LIB_PREFIX)<%libname_prefix%><%staticname%>
<%if(!sharedname)%>
static_libs_only = 1
<%endif%>
<%endif%>
<%if(sharedname)%>
## SHLIB may be set to empty later on in this file
SHLIB_UNCHECKED = $(LIB_PREFIX)<%libname_prefix%><%sharedname%>.$(SOEXT)
SHLIB = $(SHLIB_UNCHECKED)
<%endif%>
<%if(tao || ciao)%>
TAO_ROOT ?= $(ACE_ROOT)/TAO
<%if(ciao)%>
CIAO_ROOT ?= $(TAO_ROOT)/CIAO
<%endif%>
<%endif%>
<%if(grouped_source_files)%>
<%foreach(grouped_source_files)%>
<%grouped_source_file%> = \
<%foreach(grouped_source_file->files)%>
<%grouped_source_file->file%><%fornotlast(" \\")%>
<%endfor%>
<%endfor%>
FILES += \
<%foreach(grouped_source_files)%>
$(<%grouped_source_file%>)<%fornotlast(" \\")%>
<%endfor%>
<%else%>
FILES = \
<%foreach(source_files)%>
<%source_file%><%fornotlast(" \\")%>
<%endfor%>
<%endif%>
<%vpath%>
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
<%marker(macros)%>
<%if(xerceslib)%>
XERCESLIB ?= <%xerceslib%>
<%endif%>
<%if(exename)%>
LDLIBS =<%foreach(libs)%> -l<%libname_prefix%><%lib%><%endfor%><%foreach(lit_libs)%> -l<%lit_lib%><%endfor%><%foreach(pure_libs)%> <%pure_lib%><%endfor%>
<%else%>
<%if(sharedname)%>
ACE_SHLIBS =<%foreach(libs)%> -l<%libname_prefix%><%lib%><%endfor%><%foreach(lit_libs)%> -l<%lit_lib%><%endfor%><%foreach(pure_libs)%> <%pure_lib%><%endfor%>
<%endif%>
<%endif%>
<%if(tao_idl)%>
TAO_IDL = <%tao_idl%>
<%endif%>
<%if(tao_idl_dep)%>
TAO_IDL_DEP = <%tao_idl_dep%>$(EXEEXT)
<%endif%>
<%if(tao_idlflags)%>
TAO_IDLFLAGS = <%tao_idlflags%>
<%endif%>
<%if(cidlc)%>
CIDLC = <%cidlc%>
<%endif%>
<%if(cidlc_dep)%>
CIDLC_DEP = <%cidlc_dep%>$(EXEEXT)
<%endif%>
<%if(cidlc_flags)%>
CIDLC_FLAGS = <%cidlc_flags%>
<%endif%>
<%if(xsc_bin)%>
XSC_BIN = <%xsc_bin%>
<%endif%>
<%if(xsc_dep)%>
XSC_DEP = <%xsc_dep%>$(EXEEXT)
<%endif%>
<%if(xsc_flags)%>
XSC_FLAGS = <%xsc_flags%>
<%endif%>
<%if(tao_idl3_to_idl2)%>
TAO_IDL3_TO_IDL2 = <%tao_idl3_to_idl2%>
<%endif%>
<%if(tao_idl3_to_idl2_dep)%>
TAO_IDL3_TO_IDL2_DEP = <%tao_idl3_to_idl2_dep%>$(EXEEXT)
<%endif%>
<%if(exename)%>
PRJ_TYPE = rtp
<%else%>
PRJ_TYPE = library
<%endif%>
<%if(exename)%>
<%if(install)%>
INSBIN ?= <%install%>
<%endif%>
ifeq ($(INSBIN),.)
ifeq ($(CURDIR),)
ifeq ($(PWD),)
PWD=$(shell pwd)
endif
else
PWD=$(CURDIR)
endif
INSBIN = $(PWD)<%if(targetoutdir)%>/<%targetoutdir%><%endif%>
<%if(targetoutdir)%>
else
ifneq ($(INSBIN),)
INSBIN := $(INSBIN)/<%targetoutdir%>
endif
<%endif%>
endif
OUTPUT_DIRECTORY = $(INSBIN)
<%else%>
<%if(dllout || libout)%>
INSLIB ?= <%if(dllout)%><%dllout%><%else%><%libout%><%endif%>
<%endif%>
ifeq ($(INSLIB),.)
ifeq ($(CURDIR),)
ifeq ($(PWD),)
PWD=$(shell pwd)
endif
else
PWD=$(CURDIR)
endif
INSLIB = $(PWD)<%if(targetoutdir)%>/<%targetoutdir%><%endif%>
<%if(targetoutdir)%>
else
INSLIB := $(INSLIB)/<%targetoutdir%>
<%endif%>
endif
OUTPUT_DIRECTORY = $(INSLIB)
<%endif%>
<%if(targetoutdir)%>
VDIR = <%targetoutdir%>.obj/
VSHDIR = <%targetoutdir%>.shobj/
<%endif%>
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
<%if(!dds && version)%>
ifeq ($(versioned_so),1)
SOVERSION = .<%version%>
endif # versioned_so
<%endif%>
<%if(dds)%>
include $(DDS_ROOT)/rules.dds.GNU
<%endif%>
<%if(ciao)%>
include $(CIAO_ROOT)/rules.ciao.GNU
<%endif%>
<%if(tao)%>
include $(TAO_ROOT)/rules.tao.GNU
<%endif%>
<%if(resource_files)%>
ifneq (,$(RC))
RESOURCES += \
<%foreach(resource_files)%>
<%resource_file%><%fornotlast(" \\")%>
<%endfor%>
<%if(includes)%>
RC_INCLUDE_FLAG ?= --include-dir=
RCFLAGS = \
<%foreach(includes)%>
$(RC_INCLUDE_FLAG)<%include%><%fornotlast(" \\")%>
<%endfor%>
<%endif%>
endif
<%endif%>
# To build multiple targets in the same directory on AIX, it works
# best to have a template directory per project.
# The compiler/linker isn't too smart about instantiating templates...
ifdef TEMPINCDIR
TEMPINCDIR := $(TEMPINCDIR)/<%project_name%>
all: $(TEMPINCDIR)
endif
ifneq ($(OUTPUT_DIRECTORY),)
all: $(OUTPUT_DIRECTORY)
$(OUTPUT_DIRECTORY):
-@$(MKDIR) "$(OUTPUT_DIRECTORY)"
endif
<%if(sharedname || staticname || exename)%>
<%if(libs && libpaths)%>
# turn off libcheck if doing a dry run
ifeq ($(findstring n, $(MAKEFLAGS)),n)
LIBCHECK = 1
else
# turn off libcheck if keep going was passed too
ifeq ($(findstring k, $(MAKEFLAGS)),k)
LIBCHECK = 1
else
LIBCHECK ?= $(filter-out $(foreach lib,<%foreach(libs)%><%libname_prefix%><%lib%><%fornotlast(" ")%><%endfor%>,$(findstring $(lib),$(foreach libpath,<%foreach(libpaths)%><%if(targetoutdir)%><%libpath%>/<%targetoutdir%> <%endif%><%libpath%> <%endfor%>/usr/lib /usr/lib64 $(INSLIB),$(wildcard $(libpath)/lib$(lib).* $(libpath)/$(lib).lib)))),<%foreach(libs)%><%libname_prefix%><%lib%><%fornotlast(" ")%><%endfor%>)
ifeq ($(LIBCHECK),)
LIBCHECK = 1
endif
endif
endif
<%else%>
LIBCHECK = 1
<%endif%>
<%else%>
LIBCHECK = 1
<%endif%>
<%if(!exename)%>
<%foreach(requires)%>
ifeq ($(<%require%>),1)
<%endfor%>
<%foreach(avoids)%>
ifneq ($(<%avoid%>),1)
<%endfor%>
ifneq ($(LIBCHECK), 1)
<%if(staticname)%>
LIB_CHECKED =
<%endif%>
<%if(sharedname)%>
SHLIB =
<%endif%>
all: lib_warning
endif
<%foreach(avoids)%>
else
<%if(staticname)%>
LIB_CHECKED =
<%endif%>
<%if(sharedname)%>
SHLIB =
<%endif%>
all: avoid_warning
endif
<%endfor%>
<%foreach(requires)%>
else
<%if(staticname)%>
LIB_CHECKED =
<%endif%>
<%if(sharedname)%>
SHLIB =
<%endif%>
all: require_warning
endif
<%endfor%>
<%if(tagname)%>
ifeq (,$(<%tagname%>))
<%endif%>
<%foreach(requires)%>
ifeq ($(<%require%>),1)
<%endfor%>
<%foreach(avoids)%>
ifneq ($(<%avoid%>),1)
<%endfor%>
<%foreach(avoids)%>
else
<%if(staticname)%>
LIB_CHECKED =
<%endif%>
<%if(sharedname)%>
SHLIB =
<%endif%>
all: avoid_warning
endif
<%endfor%>
<%foreach(requires)%>
else
<%if(staticname)%>
LIB_CHECKED =
<%endif%>
<%if(sharedname)%>
SHLIB =
<%endif%>
all: require_warning
endif
<%endfor%>
<%if(tagname)%>
else
<%foreach(requires)%>
ifeq ($(<%require%>),1)
<%endfor%>
<%foreach(avoids)%>
ifneq ($(<%avoid%>),1)
<%endfor%>
<%foreach(tagchecks)%>
ifeq (<%tagcheck%>, $(findstring <%tagcheck%>, $(<%tagname%>)))
<%endfor%>
<%foreach(tagchecks)%>
else
LIB_CHECKED =
SHLIB =
endif
<%endfor%>
<%foreach(avoids)%>
else
LIB_CHECKED =
SHLIB =
all: avoid_warning
endif
<%endfor%>
<%foreach(requires)%>
else
LIB_CHECKED =
SHLIB =
all: require_warning
endif
<%endfor%>
endif
<%endif%>
<%endif%>
<%if(exename)%>
<%foreach(requires)%>
ifeq ($(<%require%>),1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -