diff options
Diffstat (limited to 'bin/MakeProjectCreator/templates/make.mpd')
-rw-r--r-- | bin/MakeProjectCreator/templates/make.mpd | 139 |
1 files changed, 0 insertions, 139 deletions
diff --git a/bin/MakeProjectCreator/templates/make.mpd b/bin/MakeProjectCreator/templates/make.mpd deleted file mode 100644 index 0af89d3c5f5..00000000000 --- a/bin/MakeProjectCreator/templates/make.mpd +++ /dev/null @@ -1,139 +0,0 @@ -#---------------------------------------------------------------------------- -# Macros -#---------------------------------------------------------------------------- -<%marker(top)%> -<%foreach(configurations)%> -CXX = <%cxx%> -<%endfor%> -CCC = $(CXX) -MAKEFILE = <%project_file%> -<%if(exename)%> -BIN = <%exename%> -<%endif%> -<%if(staticname)%> -LIB = lib<%staticname%>.a -<%endif%> -<%if(sharedname)%> -SHLIB = lib<%sharedname%>.$(SOEXT) -<%foreach(platforms)%> -SOEXT = <%soext%> -<%endfor%> -<%foreach(configurations)%> -<%if(cppflags)%> -CPPFLAGS += <%cppflags%> -<%endif%> -<%endfor%> -<%foreach(configurations)%> -CPPFLAGS += <%pic%> -SHFLAGS = <%shflags%> -<%endfor%> -<%endif%> -<%if(idl_files)%> -IDL_FILES =<%foreach(idl_files)%> <%noextension(idl_file)%><%endfor%> -IDL_SRC =<%foreach(idl_files)%> <%noextension(idl_file)%>C.cpp <%noextension(idl_file)%>S.cpp<%endfor%> -<%endif%> -SRC =<%foreach(source_files)%> <%source_file%><%endfor%> -OBJS =<%foreach(source_files)%> <%noextension(source_file)%>.o<%endfor%> -<%if(includes)%> -CPPFLAGS +=<%foreach(includes)%> -I<%include%><%endfor%> -<%endif%> -<%if(libpaths)%> -LDFLAGS +=<%foreach(libpaths)%> -L<%libpath%><%endfor%> -<%endif%> -<%foreach(configurations)%> -<%if(linkflags)%> -LDFLAGS += <%linkflags%> -<%endif%> -<%endfor%> -<%foreach(platforms)%> -LDLIBS += <%ldlibs%> -<%endfor%> -<%if(libs)%> -LDLIBS +=<%foreach(libs)%> -l<%lib%><%endfor%> -<%endif%> -<%if(defaultlibs)%> -LDLIBS +=<%foreach(defaultlibs)%> -l<%defaultlib%><%endfor%> -<%endif%> -<%if(lit_libs)%> -LDLIBS +=<%foreach(lit_libs)%> -l<%lit_lib%><%endfor%> -<%endif%> -<%if(ssl)%> -LDLIBS +=<%foreach(ssl_libs)%> -l<%ssl_lib%><%endfor%> -<%endif%> -OUTPUT_OPTION = -o $@ -<%marker(macros)%> - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -<%marker(local)%> - -<%if(custom_types)%> -<%foreach(custom_types)%> -<%foreach(custom_type->input_files)%> -GENERATED_DIRTY += <%foreach(custom_type->input_file->output_files)%><%if(custom_type->output_option)%><%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>/<%endif%><%endif%><%custom_type->input_file->output_file%><%endfor%> -<%foreach(custom_type->input_file->output_files)%> -<%if(custom_type->output_option)%><%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>/<%endif%><%endif%><%custom_type->input_file->output_file%>: <%custom_type->input_file%> - <%custom_type->command%> <%if(flag_overrides(custom_type->input_file, commandflags))%><%flag_overrides(custom_type->input_file, commandflags)%><%else%><%custom_type->commandflags%><%endif%> $^ <%if(custom_type->output_option)%><%custom_type->output_option%> $@<%endif%> - -<%endfor%> -<%endfor%> -<%endfor%> -.PRECIOUS: $(GENERATED_DIRTY) -all: $(GENERATED_DIRTY) - -<%endif%> -<%if(exename)%> -all: $(BIN) <%if(install)%>install<%endif%> - -$(BIN): $(OBJS) - $(LINK.cc) $(OUTPUT_OPTION) $(OBJS) $(LDLIBS) - -<%endif%> -<%if(sharedname)%> -all: $(SHLIB) <%if(install)%>install<%endif%> - -$(SHLIB): $(OBJS) - $(LINK.cc) $(SHFLAGS) $(OUTPUT_OPTION) $(OBJS) $(LDLIBS) - -<%endif%> -<%if(staticname)%> -$(LIB): $(OBJS) - $(AR) $(ARFLAGS) $(LIB) $(OBJS) - -<%endif%> -%.o: %.cpp - $(COMPILE.cc) $< $(OUTPUT_OPTION) - -<%if(install)%> -<%if(exename)%> -INSTARGET = $(BIN) -<%else%> -<%if(sharedname)%> -INSTARGET = $(SHLIB) -<%else%> -<%if(staticname)%> -INSTARGET = $(LIB) -<%endif%> -<%endif%> -<%endif%> -install: - @echo "Installing $(INSTARGET) -> <%install%>/$(INSTARGET)" - @mkdir -p "<%install%>" - @$(RM) "<%install%>/$(INSTARGET)" - @ln -s "$(PWD)/$(INSTARGET)" "<%install%>" - -<%endif%> -clean: - -$(RM) $(OBJS) - -realclean: clean - -$(RM) <%if(exename)%>$(BIN)<%else%>$(SHLIB) $(LIB)<%endif%><%if(install)%> <%install%>/$(INSTARGET)<%endif%> -<%if(custom_types)%> - -$(RM) $(GENERATED_DIRTY) -<%endif%> - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -<%marker(bottom)%> |