Ticket #239: xapdep.patch
File xapdep.patch, 46.3 KB (added by , 15 years ago) |
---|
-
ChangeLog
1 Tue Feb 16 14:19:05 GMT 2010 Charlie Hull <charlie@flax.co.uk> 2 3 * win32_tests.mak: remove some tests that no longer exist 4 * Makefile,README,config.mak,makedepend/,win32_api.mak, 5 win32_applications_omega.mak,win32_backends.mak, 6 win32_backends_chert.mak,win32_backends_flint.mak, 7 win32_backends_inmemory.mak,win32_backends_multi.mak, 8 win32_backends_quartz.mak,win32_backends_remote.mak,win32_bin.mak, 9 win32_common.mak,win32_examples.mak,win32_expand.mak, 10 win32_getopt.mak,win32_languages_compiler.mak,win32_matcher.mak, 11 win32_net.mak,win32_perftest.mak,win32_queryparser.mak, 12 win32_tests.mak,win32_testsuite.mak,win32_unicode.mak, 13 win32_weight.mak,xapdep/: Add Xapdep, and use this in conjunction 14 with the compiler's -showIncludes switch to generate dependency 15 information, and remove the old buggy makedepend tool. 16 1 17 Fri Feb 12 04:42:19 GMT 2010 Olly Betts <olly@survex.com> 2 18 3 19 * win32_bindings_python.mak: Update for generate-python-exception.in -
config.mak
208 208 # make sure inference rules work with all source files 209 209 .SUFFIXES : .cc .java 210 210 211 # makedepend is a tool used to calculate header dependencies, we supply our own version 212 DEPEND=makedepend.exe 213 # set some flags that are set internally by the MSVC compiler - prevents some spurious warnings 214 DEPEND_FLAGS=-D_MSC_VER=1300 -D__cplusplus -D_M_IX86 211 # xapdep is a tool to turn compiler output (using the -showIncludes option) into dependency lists 212 DEPEND=xapdep.exe 215 213 216 214 # We build with the following compiler options: 217 215 # /W3 Set warning level to 3 -
Makefile
51 51 cd ..\win32 52 52 53 53 CLEAN: COPYMAKFILES 54 cd makedepend55 nmake -f makedepend.mak CLEAN54 cd xapdep 55 nmake -f xapdep.mak CLEAN 56 56 cd .. 57 57 cd ..\net 58 58 nmake /$(MAKEFLAGS) DEBUG="$(DEBUG)" CLEAN … … 90 90 -@erase ..\include\xapian\error.h 91 91 -@erase ..\include\xapian\errordispatch.h 92 92 if exist "$(XAPIAN_DEBUG_OR_RELEASE)" rmdir $(XAPIAN_DEBUG_OR_RELEASE)\ /s /q 93 -@erase makedepend.exe93 -@erase xapdep.exe 94 94 echo All Win32 parts have been cleaned! 95 95 96 96 DISTCLEAN: CLEAN … … 138 138 if exist $(XAPIAN_APPLICATIONS) copy config.h.omega.win32 $(XAPIAN_APPLICATIONS)\common\config.h 139 139 140 140 # Test for tools that we MUST have 141 TESTFORTOOLS: makedepend.exe141 TESTFORTOOLS: xapdep.exe 142 142 # Perl is needed for header generation 143 143 if not exist $(PERL_EXE) exit(1) 144 144 … … 183 183 ..\include\xapian\version.h: version.h.in ..\configure.ac 184 184 $(PERL_EXE) genversion.pl ..\configure.ac version.h.in ..\include\xapian\version.h 185 185 186 makedepend.exe:187 cd makedepend188 nmake -f makedepend.mak189 copy makedepend.exe ..186 xapdep.exe: 187 cd xapdep 188 nmake -f xapdep.mak 189 copy xapdep.exe .. 190 190 cd .. 191 191 -
README
1 1 README for Xapian/Visual C++ Tools 2 2 ================================== 3 20 09-03-26 for Xapian SVN HEAD3 2010-02-16 for Xapian SVN HEAD 4 4 5 5 Make files, some extra headers and associated tools for compiling Xapian on 6 6 Win32 using the Microsoft Visual C++ compilers. This is particularly useful … … 46 46 not expect it to cause serious problems. 47 47 48 48 - To get round the fact that MSVC doesn't do dependency checking correctly, 49 we use an external program 'makedepend'. 49 we use an external program 'xapdep'. Each Makefile use the -showIncludes switch of the MSVC 50 compiler to generate a list of includes, which xapdep then processes and inserts 51 into the Makefile in the various subdirectories. 50 52 51 53 TODOS 52 54 ===== … … 125 127 OR... 126 128 127 129 - You can also compile with 128 Visual C++ 2005 Express Edition available without cost from:130 Visual C++ 2005/2008 Express Edition available without cost from: 129 131 http://msdn.microsoft.com/vstudio/express/visualc/default.aspx 130 132 131 133 OR... -
win32_api.mak
109 109 110 110 # Calculate any header dependencies and automatically insert them into this file 111 111 HEADERS : 112 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 113 # DO NOT DELETE THIS LINE -- make depend depends on it. 112 -@erase deps.d 113 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 114 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 115 # DO NOT DELETE THIS LINE -- xapdep depends on it. 116 No newline at end of file -
win32_applications_omega.mak
225 225 226 226 # Calculate any header dependencies and automatically insert them into this file 227 227 HEADERS : 228 if exist "$(XAPIAN_CORE_REL_OMEGA)\win32\$(DEPEND)" $(XAPIAN_CORE_REL_OMEGA)\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 229 # DO NOT DELETE THIS LINE -- make depend depends on it. 230 No newline at end of file 228 -@erase deps.d 229 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 230 if exist "$(XAPIAN_CORE_REL_OMEGA)\win32\$(DEPEND)" $(XAPIAN_CORE_REL_OMEGA)\win32\$(DEPEND) 231 # DO NOT DELETE THIS LINE -- xapdep depends on it. 232 No newline at end of file -
win32_backends.mak
121 121 122 122 # Calculate any header dependencies and automatically insert them into this file 123 123 HEADERS : 124 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 125 # DO NOT DELETE THIS LINE -- make depend depends on it. 124 -@erase deps.d 125 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 126 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 127 # DO NOT DELETE THIS LINE -- xapdep depends on it. 128 -
win32_backends_chert.mak
110 110 111 111 # Calculate any header dependencies and automatically insert them into this file 112 112 HEADERS : 113 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 114 # DO NOT DELETE THIS LINE -- make depend depends on it. 113 -@erase deps.d 114 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 115 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) 116 # DO NOT DELETE THIS LINE -- xapdep depends on it. 117 No newline at end of file -
win32_backends_flint.mak
106 106 107 107 # Calculate any header dependencies and automatically insert them into this file 108 108 HEADERS : 109 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 110 # DO NOT DELETE THIS LINE -- make depend depends on it. 109 -@erase deps.d 110 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 111 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) 112 # DO NOT DELETE THIS LINE -- xapdep depends on it. 113 No newline at end of file -
win32_backends_inmemory.mak
62 62 63 63 # Calculate any header dependencies and automatically insert them into this file 64 64 HEADERS : 65 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 66 # DO NOT DELETE THIS LINE -- make depend depends on it. 67 No newline at end of file 65 -@erase deps.d 66 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 67 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) 68 # DO NOT DELETE THIS LINE -- xapdep depends on it. 69 No newline at end of file -
win32_backends_multi.mak
61 61 62 62 # Calculate any header dependencies and automatically insert them into this file 63 63 HEADERS : 64 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 65 # DO NOT DELETE THIS LINE -- make depend depends on it. 66 No newline at end of file 64 -@erase deps.d 65 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 66 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) 67 # DO NOT DELETE THIS LINE -- xapdep depends on it. 68 No newline at end of file -
win32_backends_quartz.mak
95 95 96 96 # Calculate any header dependencies and automatically insert them into this file 97 97 HEADERS : 98 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 99 # DO NOT DELETE THIS LINE -- make depend depends on it. 100 No newline at end of file 98 -@erase deps.d 99 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 100 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) 101 # DO NOT DELETE THIS LINE -- xapdep depends on it. 102 No newline at end of file -
win32_backends_remote.mak
62 62 63 63 # Calculate any header dependencies and automatically insert them into this file 64 64 HEADERS : 65 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 66 # DO NOT DELETE THIS LINE -- make depend depends on it. 67 No newline at end of file 65 -@erase deps.d 66 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 67 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) 68 # DO NOT DELETE THIS LINE -- xapdep depends on it. 69 No newline at end of file -
win32_bin.mak
162 162 163 163 # Calculate any header dependencies and automatically insert them into this file 164 164 HEADERS : 165 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 166 # DO NOT DELETE THIS LINE -- make depend depends on it. 165 -@erase deps.d 166 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 167 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 168 # DO NOT DELETE THIS LINE -- xapdep depends on it. 167 169 -
win32_common.mak
45 45 $(INTDIR)\stringutils.cc \ 46 46 $(INTDIR)\utils.cc \ 47 47 $(INTDIR)\win32_uuid.cc 48 49 48 49 50 50 CPP_PROJ=$(CPPFLAGS_EXTRA) -I..\win32\ -Fo"$(INTDIR)\\" -Tp$(INPUTNAME) 51 51 CPP_OBJS=..\win32\$(XAPIAN_DEBUG_OR_RELEASE) 52 52 CPP_SBRS=. … … 59 59 -@erase "$(INTDIR)\*.pdb" 60 60 -@erase "$(INTDIR)\getopt.obj" 61 61 -@erase $(OBJS) 62 -@erase deps.d 62 63 63 64 "$(OUTDIR)" : 64 65 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" … … 81 82 82 83 # Calculate any header dependencies and automatically insert them into this file 83 84 HEADERS : 84 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 85 # DO NOT DELETE THIS LINE -- make depend depends on it. 85 -@erase deps.d 86 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 87 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 88 # DO NOT DELETE THIS LINE -- xapdep depends on it. 89 -
win32_examples.mak
130 130 131 131 # Calculate any header dependencies and automatically insert them into this file 132 132 HEADERS : 133 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 134 # DO NOT DELETE THIS LINE -- make depend depends on it. 135 No newline at end of file 133 -@erase deps.d 134 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 135 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 136 # DO NOT DELETE THIS LINE -- xapdep depends on it. 137 No newline at end of file -
win32_expand.mak
58 58 59 59 # Calculate any header dependencies and automatically insert them into this file 60 60 HEADERS : 61 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 62 # DO NOT DELETE THIS LINE -- make depend depends on it. 63 61 -@erase deps.d 62 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 63 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 64 # DO NOT DELETE THIS LINE -- xapdep depends on it. -
win32_getopt.mak
55 55 56 56 # Calculate any header dependencies and automatically insert them into this file 57 57 HEADERS : 58 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 59 # DO NOT DELETE THIS LINE -- make depend depends on it. 58 -@erase deps.d 59 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 60 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 61 # DO NOT DELETE THIS LINE -- xapdep depends on it. 62 No newline at end of file -
win32_languages_compiler.mak
18 18 "$(INTDIR)\space.obj" \ 19 19 "$(INTDIR)\tokeniser.obj" 20 20 21 SRCS= "$(INTDIR)\analyser.c c" \22 "$(INTDIR)\generator.c c" \23 "$(INTDIR)\driver.c c" \24 "$(INTDIR)\space.c c" \25 "$(INTDIR)\tokeniser.c c"21 SRCS= "$(INTDIR)\analyser.c" \ 22 "$(INTDIR)\generator.c" \ 23 "$(INTDIR)\driver.c" \ 24 "$(INTDIR)\space.c" \ 25 "$(INTDIR)\tokeniser.c" 26 26 27 27 CLEAN : 28 28 -@erase "$(INTDIR)\*.pch" … … 77 77 78 78 # Calculate any header dependencies and automatically insert them into this file 79 79 HEADERS : 80 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 81 # DO NOT DELETE THIS LINE -- make depend depends on it. 82 No newline at end of file 80 -@erase deps.d 81 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 82 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) 83 # DO NOT DELETE THIS LINE -- xapdep depends on it. 84 No newline at end of file -
win32_matcher.mak
103 103 104 104 # Calculate any header dependencies and automatically insert them into this file 105 105 HEADERS : 106 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 107 # DO NOT DELETE THIS LINE -- make depend depends on it. 106 -@erase deps.d 107 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 108 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 109 # DO NOT DELETE THIS LINE -- xapdep depends on it. 110 No newline at end of file -
win32_net.mak
69 69 70 70 # Calculate any header dependencies and automatically insert them into this file 71 71 HEADERS : 72 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 73 # DO NOT DELETE THIS LINE -- make depend depends on it. 74 No newline at end of file 72 -@erase deps.d 73 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 74 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 75 # DO NOT DELETE THIS LINE -- xapdep depends on it. 76 No newline at end of file -
win32_perftest.mak
79 79 80 80 # Calculate any header dependencies and automatically insert them into this file 81 81 HEADERS : 82 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 83 # DO NOT DELETE THIS LINE -- make depend depends on it. 82 -@erase deps.d 83 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 84 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) 85 # DO NOT DELETE THIS LINE -- xapdep depends on it. 86 No newline at end of file -
win32_queryparser.mak
80 80 << 81 81 82 82 # Calculate any header dependencies and automatically insert them into this file 83 HEADERS : 84 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 85 # DO NOT DELETE THIS LINE -- make depend depends on it. 83 HEADERS : "$(INTDIR)\queryparser_internal.cc" 84 -@erase deps.d 85 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 86 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 87 # DO NOT DELETE THIS LINE -- xapdep depends on it. 88 No newline at end of file -
win32_tests.mak
86 86 87 87 SRC = \ 88 88 "$(INTDIR)\apitest.cc" \ 89 "$(INTDIR)\api_anydb.cc" \90 "$(INTDIR)\api_backend.cc" \91 "$(INTDIR)\api_closedb.cc" \92 "$(INTDIR)\api_collapse.cc" \93 "$(INTDIR)\api_compact.cc" \94 "$(INTDIR)\api_db.cc" \95 "$(INTDIR)\api_generated.cc" \96 "$(INTDIR)\api_nodb.cc" \97 "$(INTDIR)\api_percentages.cc" \98 "$(INTDIR)\api_posdb.cc" \99 "$(INTDIR)\api_query.cc" \100 "$(INTDIR)\api_replicate.cc" \101 "$(INTDIR)\api_serialise.cc" \102 "$(INTDIR)\api_sorting.cc" \103 "$(INTDIR)\api_sortingold.cc" \104 "$(INTDIR)\api_spelling.cc" \105 "$(INTDIR)\api_transdb.cc" \106 "$(INTDIR)\api_unicode.cc" \107 "$(INTDIR)\api_valuestats.cc" \108 "$(INTDIR)\api_valuestream.cc" \109 "$(INTDIR)\api_wrdb.cc" \110 "$(INTDIR)\btreetest.cc" \111 89 "$(INTDIR)\dbcheck.cc" \ 112 90 "$(INTDIR)\internaltest.cc" \ 113 "$(INTDIR)\quartztest.cc" \114 91 "$(INTDIR)\queryparsertest.cc" \ 115 "$(INTDIR)\ remotetest.cc" \92 "$(INTDIR)\stemtest.cc" \ 116 93 "$(INTDIR)\termgentest.cc" 117 94 118 95 COLLATED_APITEST_SOURCES= \ … … 268 245 << 269 246 270 247 # Calculate any header dependencies and automatically insert them into this file 271 HEADERS : 272 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 273 # DO NOT DELETE THIS LINE -- make depend depends on it. 248 HEADERS : api_collated.h 249 -@erase deps.d 250 $(CPP) -showIncludes $(CPP_PROJ) $(SRC) >>deps.d 251 $(CPP) -showIncludes $(CPP_PROJ) $(COLLATED_APITEST_SOURCES) >>deps.d 252 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 253 # DO NOT DELETE THIS LINE -- xapdep depends on it. 254 No newline at end of file -
win32_testsuite.mak
83 83 84 84 # Calculate any header dependencies and automatically insert them into this file 85 85 HEADERS : 86 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 87 # DO NOT DELETE THIS LINE -- make depend depends on it. 86 -@erase deps.d 87 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 88 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND) 89 # DO NOT DELETE THIS LINE -- xapdep depends on it. 90 No newline at end of file -
win32_unicode.mak
57 57 58 58 # Calculate any header dependencies and automatically insert them into this file 59 59 HEADERS : 60 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 61 # DO NOT DELETE THIS LINE -- make depend depends on it. 62 60 -@erase deps.d 61 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 62 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 63 # DO NOT DELETE THIS LINE -- xapdep depends on it. -
win32_weight.mak
59 59 60 60 # Calculate any header dependencies and automatically insert them into this file 61 61 HEADERS : 62 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) $(DEPEND_FLAGS) -- $(CPP_PROJ) -- $(SRCS) -I"$(INCLUDE)" 63 # DO NOT DELETE THIS LINE -- make depend depends on it. 62 -@erase deps.d 63 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d 64 if exist "..\win32\$(DEPEND)" ..\win32\$(DEPEND) 65 # DO NOT DELETE THIS LINE -- xapdep depends on it. 66 No newline at end of file -
xapdep/xapdep.c
1 /** @file xapdep.c 2 * @brief File converter for Win32 MSVC dependency information 3 */ 4 /* Copyright (C) 2010 Lemur Consulting Ltd. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 /* Replacement for makedepend, which had several bugs. We read in a file 'deps.d', 21 made by the MSVC compiler using the -showIncludes switch, reformat it and add its 22 contents to the end of 'Makefile' - we do a nasty in-place replacement */ 23 24 #pragma warning(disable:4996) 25 #include <io.h> 26 #include <errno.h> 27 #include <string.h> 28 #include <stdio.h> 29 30 #define DEPFILE "deps.d" 31 #define MAKEFILE "Makefile" 32 #define BACKUP_MAKEFILE "Makefile.bak" 33 #define BUFSIZE 1024 34 #define ENDMAKSTRING "# DO NOT DELETE THIS LINE" 35 #define DISCARDSTRING "Generating Code..." 36 #define DISCARDSTRING2 "Compiling..." 37 /* no, of characters after 'Note: including file:' in dep file */ 38 #define INSET 22 39 /* lines that don't match the above will have a colon at this position*/ 40 #define CHECKPOS 4 41 42 /* Ugly rename-in-place hack taken from Makedepend sources */ 43 int myrename(char *from, char *to) 44 { 45 int r=1; 46 char buf[BUFSIZE]; 47 FILE *in, *out; 48 in=fopen(from, "rb"); 49 if(in==0) 50 return -1; 51 out=fopen(to, "wb"); 52 if(out==0) 53 return -1; 54 while(!feof(in) && r>0) 55 { 56 r=fread(buf, 1, sizeof(buf), in); 57 if(r>0) 58 fwrite(buf, 1, r, out); 59 } 60 fclose(out); 61 fclose(in); 62 if(unlink(from) < 0) 63 fprintf(stderr, "\nXAPDEP could not delete %s : %s\n", from, strerror(errno)); 64 65 return 0; 66 } 67 68 int main(int argc, char *argv[]) 69 { 70 FILE *indep,*inmak,*outmak; 71 char buf[BUFSIZE], objbuf[BUFSIZE], depbuf[BUFSIZE], bothbuf[BUFSIZE]; 72 int ch, endch, wch; 73 74 /* Open the files we'll need, renaming the old Makefile to a backup */ 75 indep=fopen(DEPFILE,"rb"); 76 if(indep==0) 77 { 78 fprintf(stderr, "\nXAPDEP could not read deps.d\n"); 79 return -1; 80 } 81 if(myrename(MAKEFILE,BACKUP_MAKEFILE)!=0) 82 return -1; 83 inmak=fopen(BACKUP_MAKEFILE,"rb"); 84 outmak=fopen(MAKEFILE,"wb"); 85 if((inmak==0)||(outmak==0)) 86 { 87 fprintf(stderr, "\nXAPDEP could not use Makefile\n"); 88 return -1; 89 } 90 91 /* Move through the backup makefile, reading each string and writing it unmodified to the new makefile */ 92 while(!feof(inmak)) 93 { 94 fgets(buf, sizeof(buf), inmak); 95 fputs(buf,outmak); 96 if((strncmp(buf,ENDMAKSTRING,strlen(ENDMAKSTRING))==0) && !feof(indep)) 97 { 98 /* We've got to the marker string at the end of the makefile, start reading dependencies */ 99 fgets(buf, sizeof(buf), indep); 100 fputs("\r\n\r\n#Automatically generated dependencies from XAPDEP follow:\r\n\r\n",outmak); 101 while(!feof(indep)) 102 { 103 /* check for other random strings the compiler emits sometimes */ 104 while ( (strcmp(buf, DISCARDSTRING)==0) || (strcmp(buf, DISCARDSTRING2)==0) ) 105 { 106 if(feof(indep)) break; 107 else /* skip line */ 108 fgets(buf, sizeof(buf), indep); 109 } 110 111 /* first line should be a .cc file, use this to generate the .obj file */ 112 ch=0; 113 while((buf[ch]!='.') && (ch!=strlen(buf))) 114 objbuf[ch] = buf[ch++]; 115 objbuf[ch]=0; 116 strcat(objbuf,".obj : "); 117 while(!feof(indep)) 118 { 119 /* get all the dependencies */ 120 fgets(buf, sizeof(buf), indep); 121 122 /* check for the end of the deps list */ 123 if(buf[CHECKPOS]!=':') 124 break; 125 126 /* check for other random strings the compiler emits sometimes */ 127 if ( (strcmp(buf, DISCARDSTRING)==0) || (strcmp(buf, DISCARDSTRING2)==0) ) 128 break; 129 130 /* clean up the dependencies and write them to the makefile */ 131 ch=INSET; 132 endch=strlen(buf); 133 wch=0; 134 /* skip space */ 135 while((ch < endch) && (buf[ch]!='\r') && (buf[ch]==' ')) 136 ch++; 137 while((ch < endch) && (buf[ch]!='\r')) 138 depbuf[wch++]=buf[ch++]; 139 depbuf[wch]=0; 140 sprintf(bothbuf,"%s%s\r\n",objbuf,depbuf); 141 fputs(bothbuf, outmak); 142 } 143 } 144 } 145 } 146 fclose(outmak); 147 fclose(inmak); 148 fclose(indep); 149 return 0; 150 } 151 No newline at end of file -
xapdep/xapdep.vcproj
1 <?xml version="1.0" encoding="UTF-8"?> 2 <VisualStudioProject 3 ProjectType="Visual C++" 4 Version="9.00" 5 Name="xapdep" 6 ProjectGUID="{51579F22-9B6A-4AE2-A311-835AC4B16118}" 7 Keyword="Win32Proj" 8 TargetFrameworkVersion="0" 9 > 10 <Platforms> 11 <Platform 12 Name="Win32" 13 /> 14 </Platforms> 15 <ToolFiles> 16 </ToolFiles> 17 <Configurations> 18 <Configuration 19 Name="Debug|Win32" 20 OutputDirectory="Debug" 21 IntermediateDirectory="Debug" 22 ConfigurationType="1" 23 > 24 <Tool 25 Name="VCPreBuildEventTool" 26 /> 27 <Tool 28 Name="VCCustomBuildTool" 29 /> 30 <Tool 31 Name="VCXMLDataGeneratorTool" 32 /> 33 <Tool 34 Name="VCWebServiceProxyGeneratorTool" 35 /> 36 <Tool 37 Name="VCMIDLTool" 38 /> 39 <Tool 40 Name="VCCLCompilerTool" 41 Optimization="0" 42 PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;" 43 MinimalRebuild="true" 44 BasicRuntimeChecks="3" 45 RuntimeLibrary="3" 46 UsePrecompiledHeader="0" 47 WarningLevel="3" 48 Detect64BitPortabilityProblems="true" 49 DebugInformationFormat="4" 50 CompileAs="1" 51 /> 52 <Tool 53 Name="VCManagedResourceCompilerTool" 54 /> 55 <Tool 56 Name="VCResourceCompilerTool" 57 /> 58 <Tool 59 Name="VCPreLinkEventTool" 60 /> 61 <Tool 62 Name="VCLinkerTool" 63 LinkIncremental="2" 64 GenerateDebugInformation="true" 65 SubSystem="1" 66 TargetMachine="1" 67 /> 68 <Tool 69 Name="VCALinkTool" 70 /> 71 <Tool 72 Name="VCManifestTool" 73 /> 74 <Tool 75 Name="VCXDCMakeTool" 76 /> 77 <Tool 78 Name="VCBscMakeTool" 79 /> 80 <Tool 81 Name="VCFxCopTool" 82 /> 83 <Tool 84 Name="VCAppVerifierTool" 85 /> 86 <Tool 87 Name="VCPostBuildEventTool" 88 /> 89 </Configuration> 90 <Configuration 91 Name="Release|Win32" 92 OutputDirectory="Release" 93 IntermediateDirectory="Release" 94 ConfigurationType="1" 95 > 96 <Tool 97 Name="VCPreBuildEventTool" 98 /> 99 <Tool 100 Name="VCCustomBuildTool" 101 /> 102 <Tool 103 Name="VCXMLDataGeneratorTool" 104 /> 105 <Tool 106 Name="VCWebServiceProxyGeneratorTool" 107 /> 108 <Tool 109 Name="VCMIDLTool" 110 /> 111 <Tool 112 Name="VCCLCompilerTool" 113 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;" 114 RuntimeLibrary="2" 115 UsePrecompiledHeader="0" 116 WarningLevel="3" 117 Detect64BitPortabilityProblems="true" 118 DebugInformationFormat="3" 119 /> 120 <Tool 121 Name="VCManagedResourceCompilerTool" 122 /> 123 <Tool 124 Name="VCResourceCompilerTool" 125 /> 126 <Tool 127 Name="VCPreLinkEventTool" 128 /> 129 <Tool 130 Name="VCLinkerTool" 131 LinkIncremental="2" 132 GenerateDebugInformation="true" 133 SubSystem="1" 134 OptimizeReferences="2" 135 EnableCOMDATFolding="2" 136 TargetMachine="1" 137 /> 138 <Tool 139 Name="VCALinkTool" 140 /> 141 <Tool 142 Name="VCManifestTool" 143 /> 144 <Tool 145 Name="VCXDCMakeTool" 146 /> 147 <Tool 148 Name="VCBscMakeTool" 149 /> 150 <Tool 151 Name="VCFxCopTool" 152 /> 153 <Tool 154 Name="VCAppVerifierTool" 155 /> 156 <Tool 157 Name="VCPostBuildEventTool" 158 /> 159 </Configuration> 160 </Configurations> 161 <References> 162 </References> 163 <Files> 164 <Filter 165 Name="Header Files" 166 Filter="h;hpp;hxx;hm;inl;inc;xsd" 167 UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" 168 > 169 </Filter> 170 <Filter 171 Name="Resource Files" 172 Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" 173 UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" 174 > 175 </Filter> 176 <Filter 177 Name="Source Files" 178 Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" 179 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" 180 > 181 <File 182 RelativePath=".\xapdep.c" 183 > 184 </File> 185 </Filter> 186 </Files> 187 <Globals> 188 </Globals> 189 </VisualStudioProject> -
xapdep/xapdep.mak
1 # NMAKE file for xapdep tool 2 3 OUTDIR=. 4 INTDIR=. 5 6 ALL : "$(OUTDIR)\xapdep.exe" 7 8 CLEAN : 9 -@erase "$(INTDIR)\xapdep.obj" 10 -@erase "$(OUTDIR)\xapdep.exe" 11 -@erase "$(OUTDIR)\*.idb 12 13 CPP=cl.exe 14 CPP_PROJ=/nologo /W3 /EHsc /O2 /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D STANDALONE=1 /D OBJSUFFIX=\".obj\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 15 16 .c{$(INTDIR)}.obj:: 17 $(CPP) @<< 18 $(CPP_PROJ) $< 19 << 20 21 .c{$(INTDIR)}.sbr:: 22 $(CPP) @<< 23 $(CPP_PROJ) $< 24 << 25 26 LINK32=link.exe 27 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\xapdep.pdb" /machine:I386 /out:"$(OUTDIR)\xapdep.exe" 28 LINK32_OBJS= "$(INTDIR)\xapdep.obj" 29 30 "$(OUTDIR)\xapdep.exe" : "$(OUTDIR)" $(LINK32_OBJS) 31 $(LINK32) @<< 32 $(LINK32_FLAGS) $(LINK32_OBJS) 33 << -
xapdep/xapdep.sln
1 2 Microsoft Visual Studio Solution File, Format Version 10.00 3 # Visual C++ Express 2008 4 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xapdep", "xapdep.vcproj", "{51579F22-9B6A-4AE2-A311-835AC4B16118}" 5 EndProject 6 Global 7 GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 Debug|Win32 = Debug|Win32 9 Release|Win32 = Release|Win32 10 EndGlobalSection 11 GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 {51579F22-9B6A-4AE2-A311-835AC4B16118}.Debug|Win32.ActiveCfg = Debug|Win32 13 {51579F22-9B6A-4AE2-A311-835AC4B16118}.Debug|Win32.Build.0 = Debug|Win32 14 {51579F22-9B6A-4AE2-A311-835AC4B16118}.Release|Win32.ActiveCfg = Release|Win32 15 {51579F22-9B6A-4AE2-A311-835AC4B16118}.Release|Win32.Build.0 = Release|Win32 16 EndGlobalSection 17 GlobalSection(SolutionProperties) = preSolution 18 HideSolutionNode = FALSE 19 EndGlobalSection 20 EndGlobal -
xapdep/README
1 README for xapdep 2 ----------------- 3 4 Charlie Hull/Lemur Consulting Ltd. Feb 16th 2010 5 6 Xapdep is a replacement for makedepend which was used previously for 7 calculating dependency information for Xapian when compiled with MSVC. 8 The compiler allows a switch -showIncludes which generates a list of 9 dependencies, xapdep reads this, tidies them up and adds them to the end 10 of a Makefile. 11 12 See win32_common.mak and others for details of how xapdep is used. Note that 13 this program works with fixed filenames and thus only in a particular set of 14 circumstances. 15 16 -
xapdep/README
1 README for xapdep 2 ----------------- 3 4 Charlie Hull/Lemur Consulting Ltd. Feb 16th 2010 5 6 Xapdep is a replacement for makedepend which was used previously for 7 calculating dependency information for Xapian when compiled with MSVC. 8 The compiler allows a switch -showIncludes which generates a list of 9 dependencies, xapdep reads this, tidies them up and adds them to the end 10 of a Makefile. 11 12 See win32_common.mak and others for details of how xapdep is used. Note that 13 this program works with fixed filenames and thus only in a particular set of 14 circumstances. 15 16 -
xapdep/xapdep.c
1 /** @file xapdep.c 2 * @brief File converter for Win32 MSVC dependency information 3 */ 4 /* Copyright (C) 2010 Lemur Consulting Ltd. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 /* Replacement for makedepend, which had several bugs. We read in a file 'deps.d', 21 made by the MSVC compiler using the -showIncludes switch, reformat it and add its 22 contents to the end of 'Makefile' - we do a nasty in-place replacement */ 23 24 #pragma warning(disable:4996) 25 #include <io.h> 26 #include <errno.h> 27 #include <string.h> 28 #include <stdio.h> 29 30 #define DEPFILE "deps.d" 31 #define MAKEFILE "Makefile" 32 #define BACKUP_MAKEFILE "Makefile.bak" 33 #define BUFSIZE 1024 34 #define ENDMAKSTRING "# DO NOT DELETE THIS LINE" 35 #define DISCARDSTRING "Generating Code..." 36 #define DISCARDSTRING2 "Compiling..." 37 /* no, of characters after 'Note: including file:' in dep file */ 38 #define INSET 22 39 /* lines that don't match the above will have a colon at this position*/ 40 #define CHECKPOS 4 41 42 /* Ugly rename-in-place hack taken from Makedepend sources */ 43 int myrename(char *from, char *to) 44 { 45 int r=1; 46 char buf[BUFSIZE]; 47 FILE *in, *out; 48 in=fopen(from, "rb"); 49 if(in==0) 50 return -1; 51 out=fopen(to, "wb"); 52 if(out==0) 53 return -1; 54 while(!feof(in) && r>0) 55 { 56 r=fread(buf, 1, sizeof(buf), in); 57 if(r>0) 58 fwrite(buf, 1, r, out); 59 } 60 fclose(out); 61 fclose(in); 62 if(unlink(from) < 0) 63 fprintf(stderr, "\nXAPDEP could not delete %s : %s\n", from, strerror(errno)); 64 65 return 0; 66 } 67 68 int main(int argc, char *argv[]) 69 { 70 FILE *indep,*inmak,*outmak; 71 char buf[BUFSIZE], objbuf[BUFSIZE], depbuf[BUFSIZE], bothbuf[BUFSIZE]; 72 int ch, endch, wch; 73 74 /* Open the files we'll need, renaming the old Makefile to a backup */ 75 indep=fopen(DEPFILE,"rb"); 76 if(indep==0) 77 { 78 fprintf(stderr, "\nXAPDEP could not read deps.d\n"); 79 return -1; 80 } 81 if(myrename(MAKEFILE,BACKUP_MAKEFILE)!=0) 82 return -1; 83 inmak=fopen(BACKUP_MAKEFILE,"rb"); 84 outmak=fopen(MAKEFILE,"wb"); 85 if((inmak==0)||(outmak==0)) 86 { 87 fprintf(stderr, "\nXAPDEP could not use Makefile\n"); 88 return -1; 89 } 90 91 /* Move through the backup makefile, reading each string and writing it unmodified to the new makefile */ 92 while(!feof(inmak)) 93 { 94 fgets(buf, sizeof(buf), inmak); 95 fputs(buf,outmak); 96 if((strncmp(buf,ENDMAKSTRING,strlen(ENDMAKSTRING))==0) && !feof(indep)) 97 { 98 /* We've got to the marker string at the end of the makefile, start reading dependencies */ 99 fgets(buf, sizeof(buf), indep); 100 fputs("\r\n\r\n#Automatically generated dependencies from XAPDEP follow:\r\n\r\n",outmak); 101 while(!feof(indep)) 102 { 103 /* check for other random strings the compiler emits sometimes */ 104 while ( (strcmp(buf, DISCARDSTRING)==0) || (strcmp(buf, DISCARDSTRING2)==0) ) 105 { 106 if(feof(indep)) break; 107 else /* skip line */ 108 fgets(buf, sizeof(buf), indep); 109 } 110 111 /* first line should be a .cc file, use this to generate the .obj file */ 112 ch=0; 113 while((buf[ch]!='.') && (ch!=strlen(buf))) 114 objbuf[ch] = buf[ch++]; 115 objbuf[ch]=0; 116 strcat(objbuf,".obj : "); 117 while(!feof(indep)) 118 { 119 /* get all the dependencies */ 120 fgets(buf, sizeof(buf), indep); 121 122 /* check for the end of the deps list */ 123 if(buf[CHECKPOS]!=':') 124 break; 125 126 /* check for other random strings the compiler emits sometimes */ 127 if ( (strcmp(buf, DISCARDSTRING)==0) || (strcmp(buf, DISCARDSTRING2)==0) ) 128 break; 129 130 /* clean up the dependencies and write them to the makefile */ 131 ch=INSET; 132 endch=strlen(buf); 133 wch=0; 134 /* skip space */ 135 while((ch < endch) && (buf[ch]!='\r') && (buf[ch]==' ')) 136 ch++; 137 while((ch < endch) && (buf[ch]!='\r')) 138 depbuf[wch++]=buf[ch++]; 139 depbuf[wch]=0; 140 sprintf(bothbuf,"%s%s\r\n",objbuf,depbuf); 141 fputs(bothbuf, outmak); 142 } 143 } 144 } 145 } 146 fclose(outmak); 147 fclose(inmak); 148 fclose(indep); 149 return 0; 150 } 151 No newline at end of file -
xapdep/xapdep.mak
1 # NMAKE file for xapdep tool 2 3 OUTDIR=. 4 INTDIR=. 5 6 ALL : "$(OUTDIR)\xapdep.exe" 7 8 CLEAN : 9 -@erase "$(INTDIR)\xapdep.obj" 10 -@erase "$(OUTDIR)\xapdep.exe" 11 -@erase "$(OUTDIR)\*.idb 12 13 CPP=cl.exe 14 CPP_PROJ=/nologo /W3 /EHsc /O2 /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D STANDALONE=1 /D OBJSUFFIX=\".obj\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 15 16 .c{$(INTDIR)}.obj:: 17 $(CPP) @<< 18 $(CPP_PROJ) $< 19 << 20 21 .c{$(INTDIR)}.sbr:: 22 $(CPP) @<< 23 $(CPP_PROJ) $< 24 << 25 26 LINK32=link.exe 27 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\xapdep.pdb" /machine:I386 /out:"$(OUTDIR)\xapdep.exe" 28 LINK32_OBJS= "$(INTDIR)\xapdep.obj" 29 30 "$(OUTDIR)\xapdep.exe" : "$(OUTDIR)" $(LINK32_OBJS) 31 $(LINK32) @<< 32 $(LINK32_FLAGS) $(LINK32_OBJS) 33 << -
xapdep/xapdep.sln
1 2 Microsoft Visual Studio Solution File, Format Version 10.00 3 # Visual C++ Express 2008 4 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xapdep", "xapdep.vcproj", "{51579F22-9B6A-4AE2-A311-835AC4B16118}" 5 EndProject 6 Global 7 GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 Debug|Win32 = Debug|Win32 9 Release|Win32 = Release|Win32 10 EndGlobalSection 11 GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 {51579F22-9B6A-4AE2-A311-835AC4B16118}.Debug|Win32.ActiveCfg = Debug|Win32 13 {51579F22-9B6A-4AE2-A311-835AC4B16118}.Debug|Win32.Build.0 = Debug|Win32 14 {51579F22-9B6A-4AE2-A311-835AC4B16118}.Release|Win32.ActiveCfg = Release|Win32 15 {51579F22-9B6A-4AE2-A311-835AC4B16118}.Release|Win32.Build.0 = Release|Win32 16 EndGlobalSection 17 GlobalSection(SolutionProperties) = preSolution 18 HideSolutionNode = FALSE 19 EndGlobalSection 20 EndGlobal -
xapdep/xapdep.vcproj
1 <?xml version="1.0" encoding="UTF-8"?> 2 <VisualStudioProject 3 ProjectType="Visual C++" 4 Version="9.00" 5 Name="xapdep" 6 ProjectGUID="{51579F22-9B6A-4AE2-A311-835AC4B16118}" 7 Keyword="Win32Proj" 8 TargetFrameworkVersion="0" 9 > 10 <Platforms> 11 <Platform 12 Name="Win32" 13 /> 14 </Platforms> 15 <ToolFiles> 16 </ToolFiles> 17 <Configurations> 18 <Configuration 19 Name="Debug|Win32" 20 OutputDirectory="Debug" 21 IntermediateDirectory="Debug" 22 ConfigurationType="1" 23 > 24 <Tool 25 Name="VCPreBuildEventTool" 26 /> 27 <Tool 28 Name="VCCustomBuildTool" 29 /> 30 <Tool 31 Name="VCXMLDataGeneratorTool" 32 /> 33 <Tool 34 Name="VCWebServiceProxyGeneratorTool" 35 /> 36 <Tool 37 Name="VCMIDLTool" 38 /> 39 <Tool 40 Name="VCCLCompilerTool" 41 Optimization="0" 42 PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;" 43 MinimalRebuild="true" 44 BasicRuntimeChecks="3" 45 RuntimeLibrary="3" 46 UsePrecompiledHeader="0" 47 WarningLevel="3" 48 Detect64BitPortabilityProblems="true" 49 DebugInformationFormat="4" 50 CompileAs="1" 51 /> 52 <Tool 53 Name="VCManagedResourceCompilerTool" 54 /> 55 <Tool 56 Name="VCResourceCompilerTool" 57 /> 58 <Tool 59 Name="VCPreLinkEventTool" 60 /> 61 <Tool 62 Name="VCLinkerTool" 63 LinkIncremental="2" 64 GenerateDebugInformation="true" 65 SubSystem="1" 66 TargetMachine="1" 67 /> 68 <Tool 69 Name="VCALinkTool" 70 /> 71 <Tool 72 Name="VCManifestTool" 73 /> 74 <Tool 75 Name="VCXDCMakeTool" 76 /> 77 <Tool 78 Name="VCBscMakeTool" 79 /> 80 <Tool 81 Name="VCFxCopTool" 82 /> 83 <Tool 84 Name="VCAppVerifierTool" 85 /> 86 <Tool 87 Name="VCPostBuildEventTool" 88 /> 89 </Configuration> 90 <Configuration 91 Name="Release|Win32" 92 OutputDirectory="Release" 93 IntermediateDirectory="Release" 94 ConfigurationType="1" 95 > 96 <Tool 97 Name="VCPreBuildEventTool" 98 /> 99 <Tool 100 Name="VCCustomBuildTool" 101 /> 102 <Tool 103 Name="VCXMLDataGeneratorTool" 104 /> 105 <Tool 106 Name="VCWebServiceProxyGeneratorTool" 107 /> 108 <Tool 109 Name="VCMIDLTool" 110 /> 111 <Tool 112 Name="VCCLCompilerTool" 113 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;" 114 RuntimeLibrary="2" 115 UsePrecompiledHeader="0" 116 WarningLevel="3" 117 Detect64BitPortabilityProblems="true" 118 DebugInformationFormat="3" 119 /> 120 <Tool 121 Name="VCManagedResourceCompilerTool" 122 /> 123 <Tool 124 Name="VCResourceCompilerTool" 125 /> 126 <Tool 127 Name="VCPreLinkEventTool" 128 /> 129 <Tool 130 Name="VCLinkerTool" 131 LinkIncremental="2" 132 GenerateDebugInformation="true" 133 SubSystem="1" 134 OptimizeReferences="2" 135 EnableCOMDATFolding="2" 136 TargetMachine="1" 137 /> 138 <Tool 139 Name="VCALinkTool" 140 /> 141 <Tool 142 Name="VCManifestTool" 143 /> 144 <Tool 145 Name="VCXDCMakeTool" 146 /> 147 <Tool 148 Name="VCBscMakeTool" 149 /> 150 <Tool 151 Name="VCFxCopTool" 152 /> 153 <Tool 154 Name="VCAppVerifierTool" 155 /> 156 <Tool 157 Name="VCPostBuildEventTool" 158 /> 159 </Configuration> 160 </Configurations> 161 <References> 162 </References> 163 <Files> 164 <Filter 165 Name="Header Files" 166 Filter="h;hpp;hxx;hm;inl;inc;xsd" 167 UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" 168 > 169 </Filter> 170 <Filter 171 Name="Resource Files" 172 Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" 173 UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" 174 > 175 </Filter> 176 <Filter 177 Name="Source Files" 178 Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" 179 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" 180 > 181 <File 182 RelativePath=".\xapdep.c" 183 > 184 </File> 185 </Filter> 186 </Files> 187 <Globals> 188 </Globals> 189 </VisualStudioProject>