|
| 1 | +--- src/sqlite-2.8.17/Makefile.in 2005-04-24 00:43:23.000000000 +0200 |
| 2 | ++++ Makefile.in 2025-06-11 17:59:40.330232545 +0200 |
| 3 | +@@ -22,7 +22,7 @@ |
| 4 | + # |
| 5 | + BCC = @BUILD_CC@ @BUILD_CFLAGS@ |
| 6 | + |
| 7 | +-# C Compile and options for use in building executables that |
| 8 | ++# C Compile and options for use in building executables that |
| 9 | + # will run on the target platform. (BCC and TCC are usually the |
| 10 | + # same unless your are cross-compiling.) |
| 11 | + # |
| 12 | +@@ -205,7 +205,7 @@ |
| 13 | + # files are automatically generated. This target takes care of |
| 14 | + # all that automatic generation. |
| 15 | + # |
| 16 | +-target_source: $(SRC) $(VDBEHDR) |
| 17 | ++target_source: $(SRC) $(VDBEHDR) |
| 18 | + rm -rf tsrc |
| 19 | + mkdir tsrc |
| 20 | + cp $(SRC) $(VDBEHDR) tsrc |
| 21 | +@@ -267,8 +267,9 @@ |
| 22 | + # to a target with a different pointer size, you'll need to manually |
| 23 | + # configure the config.h file. |
| 24 | + # |
| 25 | +-config.h: |
| 26 | ++config.h: |
| 27 | + echo '#include <stdio.h>' >temp.c |
| 28 | ++ echo '#include <stdlib.h>' >> temp.c |
| 29 | + echo 'int main(){printf(' >>temp.c |
| 30 | + echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c |
| 31 | + echo 'exit(0);}' >>temp.c |
| 32 | +@@ -277,7 +278,7 @@ |
| 33 | + echo >>config.h |
| 34 | + rm -f temp.c temp |
| 35 | + |
| 36 | +-sqlite.h: $(TOP)/src/sqlite.h.in |
| 37 | ++sqlite.h: $(TOP)/src/sqlite.h.in |
| 38 | + sed -e s/--VERS--/`cat ${TOP}/VERSION`/ \ |
| 39 | + -e s/--ENCODING--/$(ENCODING)/ \ |
| 40 | + $(TOP)/src/sqlite.h.in >sqlite.h |
| 41 | +@@ -471,12 +472,12 @@ |
| 42 | + $(LTINSTALL) sqlite $(DESTDIR)$(exec_prefix)/bin |
| 43 | + $(INSTALL) -d $(DESTDIR)$(prefix)/include |
| 44 | + $(INSTALL) -m 0644 sqlite.h $(DESTDIR)$(prefix)/include |
| 45 | +- $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig; |
| 46 | +- $(INSTALL) -m 0644 sqlite.pc $(DESTDIR)$(exec_prefix)/lib/pkgconfig; |
| 47 | ++ $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig; |
| 48 | ++ $(INSTALL) -m 0644 sqlite.pc $(DESTDIR)$(exec_prefix)/lib/pkgconfig; |
| 49 | + |
| 50 | +-clean: |
| 51 | ++clean: |
| 52 | + rm -f *.lo *.la *.o sqlite@TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.* |
| 53 | +- rm -rf .libs .deps |
| 54 | ++ rm -rf .libs .deps |
| 55 | + rm -f lemon@BUILD_EXEEXT@ lempar.c parse.* sqlite*.tar.gz |
| 56 | + rm -f $(PUBLISH) |
| 57 | + rm -f *.da *.bb *.bbg gmon.out |
| 58 | +@@ -496,13 +497,13 @@ |
| 59 | + strip sqlite.dll |
| 60 | + |
| 61 | + #target for dll import libraries |
| 62 | +-implib: sqlite.lib |
| 63 | ++implib: sqlite.lib |
| 64 | + |
| 65 | + #make Borland C++ and/or Microsoft VC import library for the dll |
| 66 | + # ignore any errors (usually due to missing programs) |
| 67 | + sqlite.lib: sqlite.dll |
| 68 | + -implib -a sqlite.lib sqlite.dll |
| 69 | +- -lib /machine:i386 /def:$(TOP)/sqlite.def |
| 70 | ++ -lib /machine:i386 /def:$(TOP)/sqlite.def |
| 71 | + |
| 72 | + distclean: clean |
| 73 | + rm -f config.log config.status libtool Makefile config.h |
0 commit comments