OLD | NEW |
1 #!/usr/make | 1 #!/usr/make |
2 # | 2 # |
3 # Makefile for SQLITE | 3 # Makefile for SQLITE |
4 # | 4 # |
5 # This is a template makefile for SQLite. Most people prefer to | 5 # This is a template makefile for SQLite. Most people prefer to |
6 # use the autoconf generated "configure" script to generate the | 6 # use the autoconf generated "configure" script to generate the |
7 # makefile automatically. But that does not work for everybody | 7 # makefile automatically. But that does not work for everybody |
8 # and in every situation. If you are having problems with the | 8 # and in every situation. If you are having problems with the |
9 # "configure" script, you might want to try this makefile as an | 9 # "configure" script, you might want to try this makefile as an |
10 # alternative. Create a copy of this file, edit the parameters | 10 # alternative. Create a copy of this file, edit the parameters |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 # with -DNDEBUG=1 | 59 # with -DNDEBUG=1 |
60 # | 60 # |
61 #OPTS = -DSQLITE_DEBUG=2 | 61 #OPTS = -DSQLITE_DEBUG=2 |
62 #OPTS = -DSQLITE_DEBUG=1 | 62 #OPTS = -DSQLITE_DEBUG=1 |
63 #OPTS = | 63 #OPTS = |
64 OPTS = -DNDEBUG=1 | 64 OPTS = -DNDEBUG=1 |
65 #OPTS += -DHAVE_FDATASYNC=1 | 65 #OPTS += -DHAVE_FDATASYNC=1 |
66 | 66 |
67 # These flags match those for SQLITE_CFLAGS in config.mk. | 67 # These flags match those for SQLITE_CFLAGS in config.mk. |
68 | 68 |
69 OPTS += -DSQLITE_CORE | |
70 OPTS += -DSQLITE_ENABLE_FTS2 -DSQLITE_ENABLE_BROKEN_FTS2 | |
71 OPTS += -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 | 69 OPTS += -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 |
72 OPTS += -DHAVE_USLEEP=1 | 70 OPTS += -DHAVE_USLEEP=1 |
73 | 71 |
74 # Additional SQLite tests. | 72 # Additional SQLite tests. |
75 OPTS += -DSQLITE_MEMDEBUG=1 | 73 OPTS += -DSQLITE_MEMDEBUG=1 |
76 | 74 |
77 # Don't include these ones, they break the SQLite tests. | 75 # Don't include these ones, they break the SQLite tests. |
78 # -DSQLITE_OMIT_ATTACH=1 \ | 76 # -DSQLITE_OMIT_ATTACH=1 \ |
79 # -DSQLITE_OMIT_LOAD_EXTENSION=1 \ | 77 # -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
80 # -DSQLITE_OMIT_VACUUM=1 \ | 78 # -DSQLITE_OMIT_VACUUM=1 \ |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 #LIBREADLINE = -static -lreadline -ltermcap | 151 #LIBREADLINE = -static -lreadline -ltermcap |
154 | 152 |
155 #### Which "awk" program provides nawk compatibilty | 153 #### Which "awk" program provides nawk compatibilty |
156 # | 154 # |
157 # NAWK = nawk | 155 # NAWK = nawk |
158 NAWK = awk | 156 NAWK = awk |
159 | 157 |
160 # You should not have to change anything below this line | 158 # You should not have to change anything below this line |
161 ############################################################################### | 159 ############################################################################### |
162 include $(TOP)/main.mk | 160 include $(TOP)/main.mk |
OLD | NEW |