diff options
Diffstat (limited to 'bin/MakeProjectCreator/templates/make.mpd')
-rw-r--r-- | bin/MakeProjectCreator/templates/make.mpd | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/bin/MakeProjectCreator/templates/make.mpd b/bin/MakeProjectCreator/templates/make.mpd deleted file mode 100644 index 219b65c13ec..00000000000 --- a/bin/MakeProjectCreator/templates/make.mpd +++ /dev/null @@ -1,100 +0,0 @@ -#---------------------------------------------------------------------------- -# Macros -#---------------------------------------------------------------------------- -<%marker(top)%> -SOEXT = so -MAKEFILE = <%project_file%> -<%if(exename)%> -BIN = <%exename%> -<%endif%> -<%if(staticname)%> -LIB = lib<%staticname%>.a -<%endif%> -<%if(sharedname)%> -SHLIB = lib<%sharedname%>.$(SOEXT) -CPPFLAGS += -KPIC -<%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%> -<%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%> -SHFLAGS = -G -OUTPUT_OPTION = -o $@ -<%marker(macros)%> - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- -<%marker(local)%> - -<%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%> - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -<%marker(bottom)%> |