Overview
Comment: | Update buildsys |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a607fd2cde697182961820ada71e557c |
User & Date: | js 2020-10-03 00:03:19 |
Context
2020-10-03
| ||
09:25 | tests: Fix empty lib version when symlinking check-in: 25ce4ab4d6 user: js tags: trunk | |
00:03 | Update buildsys check-in: a607fd2cde user: js tags: trunk | |
2020-10-01
| ||
23:55 | Fix automatically running tests check-in: 076176fd98 user: js tags: trunk | |
Changes
Changes to ObjSQLite3.oc.in.
1 2 3 | package_format 1 CPPFLAGS="$CPPFLAGS @SQLITE3_CPPFLAGS@" LIBS="-lobjsqlite3 @SQLITE3_LIBS@ $LIBS" | > | 1 2 3 4 | package_format 1 CPPFLAGS="$CPPFLAGS @SQLITE3_CPPFLAGS@" LIBS="-lobjsqlite3 @SQLITE3_LIBS@ $LIBS" FRAMEWORK_LIBS="-framework ObjSQLite3 @SQLITE3_LIBS@ $FRAMEWORK_LIBS" |
Changes to build-aux/m4/buildsys.m4.
︙ | ︙ | |||
305 306 307 308 309 310 311 312 313 314 315 316 | ], [ FRAMEWORK_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}' FRAMEWORK_LDFLAGS_INSTALL_NAME='-Wl,-install_name,@executable_path/../Frameworks/$$out/$${out%.framework}' ]) AC_SUBST(FRAMEWORK_LDFLAGS) AC_SUBST(FRAMEWORK_LDFLAGS_INSTALL_NAME) $1 ;; esac ]) | > | 305 306 307 308 309 310 311 312 313 314 315 316 317 | ], [ FRAMEWORK_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}' FRAMEWORK_LDFLAGS_INSTALL_NAME='-Wl,-install_name,@executable_path/../Frameworks/$$out/$${out%.framework}' ]) AC_SUBST(FRAMEWORK_LDFLAGS) AC_SUBST(FRAMEWORK_LDFLAGS_INSTALL_NAME) AC_SUBST(FRAMEWORK_LIBS) $1 ;; esac ]) |
Changes to buildsys.mk.in.
︙ | ︙ | |||
59 60 61 62 63 64 65 66 67 68 69 70 71 72 | AMIGA_LIB_CFLAGS = @AMIGA_LIB_CFLAGS@ AMIGA_LIB_LDFLAGS = @AMIGA_LIB_LDFLAGS@ PLUGIN_CFLAGS = @PLUGIN_CFLAGS@ PLUGIN_LDFLAGS = @PLUGIN_LDFLAGS@ PLUGIN_SUFFIX = @PLUGIN_SUFFIX@ FRAMEWORK_LDFLAGS = @FRAMEWORK_LDFLAGS@ FRAMEWORK_LDFLAGS_INSTALL_NAME = @FRAMEWORK_LDFLAGS_INSTALL_NAME@ CODESIGN = @CODESIGN@ CODESIGN_IDENTITY ?= - CLEAN_LIB = @CLEAN_LIB@ DEP_ASFLAGS = @DEP_ASFLAGS@ DEP_CFLAGS = @DEP_CFLAGS@ DEP_CXXFLAGS = @DEP_CXXFLAGS@ DEP_OBJCFLAGS = @DEP_OBJCFLAGS@ | > | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | AMIGA_LIB_CFLAGS = @AMIGA_LIB_CFLAGS@ AMIGA_LIB_LDFLAGS = @AMIGA_LIB_LDFLAGS@ PLUGIN_CFLAGS = @PLUGIN_CFLAGS@ PLUGIN_LDFLAGS = @PLUGIN_LDFLAGS@ PLUGIN_SUFFIX = @PLUGIN_SUFFIX@ FRAMEWORK_LDFLAGS = @FRAMEWORK_LDFLAGS@ FRAMEWORK_LDFLAGS_INSTALL_NAME = @FRAMEWORK_LDFLAGS_INSTALL_NAME@ FRAMEWORK_LIBS = @FRAMEWORK_LIBS@ CODESIGN = @CODESIGN@ CODESIGN_IDENTITY ?= - CLEAN_LIB = @CLEAN_LIB@ DEP_ASFLAGS = @DEP_ASFLAGS@ DEP_CFLAGS = @DEP_CFLAGS@ DEP_CXXFLAGS = @DEP_CXXFLAGS@ DEP_OBJCFLAGS = @DEP_OBJCFLAGS@ |
︙ | ︙ | |||
187 188 189 190 191 192 193 | else \ ${LINK_FAILED}; \ fi ${FRAMEWORK} ${FRAMEWORK_NOINST}: ${EXT_DEPS} ${LIB_OBJS} ${LIB_OBJS_EXTRA} ${LINK_STATUS} out="$@"; \ | | | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | else \ ${LINK_FAILED}; \ fi ${FRAMEWORK} ${FRAMEWORK_NOINST}: ${EXT_DEPS} ${LIB_OBJS} ${LIB_OBJS_EXTRA} ${LINK_STATUS} out="$@"; \ if rm -fr $$out && ${MKDIR_P} $$out && ${MAKE} -s COPY_HEADERS_IF_SUBDIR=${includesubdir} COPY_HEADERS_DESTINATION=$$PWD/$@/Headers copy-headers-into-framework && if test -f Info.plist; then ${INSTALL} -m 644 Info.plist $$out/Info.plist; fi && if test -f module.modulemap; then ${MKDIR_P} $$out/Modules && ${INSTALL} -m 644 module.modulemap $$out/Modules/module.modulemap; fi && ${LD} -o $$out/$${out%.framework} ${LIB_OBJS} ${LIB_OBJS_EXTRA} ${FRAMEWORK_LDFLAGS} ${FRAMEWORK_LDFLAGS_INSTALL_NAME} ${LDFLAGS} ${FRAMEWORK_LIBS} && ${CODESIGN} -fs ${CODESIGN_IDENTITY} $$out; then \ ${LINK_OK}; \ else \ rm -fr $$out; false; \ ${LINK_FAILED}; \ fi copy-headers-into-framework: |
︙ | ︙ |
Changes to configure.ac.
︙ | ︙ | |||
24 25 26 27 28 29 30 | AC_PROG_LN_S AC_PROG_INSTALL CPP="$OBJCPP" CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS $($OBJFW_CONFIG --cppflags)" OBJCFLAGS="$OBJCFLAGS $($OBJFW_CONFIG --objcflags)" LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --ldflags)" | | | | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | AC_PROG_LN_S AC_PROG_INSTALL CPP="$OBJCPP" CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS $($OBJFW_CONFIG --cppflags)" OBJCFLAGS="$OBJCFLAGS $($OBJFW_CONFIG --objcflags)" LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --ldflags)" FRAMEWORK_LIBS="$($OBJFW_CONFIG --framework-libs) $LIBS" LIBS="$($OBJFW_CONFIG --libs) $LIBS" AX_CHECK_COMPILER_FLAGS(-Wdocumentation, [OBJCFLAGS="$OBJCFLAGS -Wdocumentation"]) AC_CHECK_TOOL(AR, ar) AC_PROG_RANLIB AC_ARG_ENABLE(shared, |
︙ | ︙ |
Changes to extra.mk.in.
1 2 3 4 5 6 7 8 9 10 11 12 | OBJSQLITE3_SHARED_LIB = @OBJSQLITE3_SHARED_LIB@ OBJSQLITE3_STATIC_LIB = @OBJSQLITE3_STATIC_LIB@ OBJSQLITE3_FRAMEWORK = @OBJSQLITE3_FRAMEWORK@ OBJSQLITE3_LIB_MAJOR = 0 OBJSQLITE3_LIB_MINOR = 0 EXCEPTIONS_A = @EXCEPTIONS_A@ EXCEPTIONS_EXCEPTIONS_A = @EXCEPTIONS_EXCEPTIONS_A@ EXCEPTIONS_EXCEPTIONS_LIB_A = @EXCEPTIONS_EXCEPTIONS_LIB_A@ EXCEPTIONS_LIB_A = @EXCEPTIONS_LIB_A@ LIBOBJSQLITE3_DEP = @LIBOBJSQLITE3_DEP@ OBJFW_CONFIG = @OBJFW_CONFIG@ | < < | 1 2 3 4 5 6 7 8 9 10 11 12 13 | OBJSQLITE3_SHARED_LIB = @OBJSQLITE3_SHARED_LIB@ OBJSQLITE3_STATIC_LIB = @OBJSQLITE3_STATIC_LIB@ OBJSQLITE3_FRAMEWORK = @OBJSQLITE3_FRAMEWORK@ OBJSQLITE3_LIB_MAJOR = 0 OBJSQLITE3_LIB_MINOR = 0 EXCEPTIONS_A = @EXCEPTIONS_A@ EXCEPTIONS_EXCEPTIONS_A = @EXCEPTIONS_EXCEPTIONS_A@ EXCEPTIONS_EXCEPTIONS_LIB_A = @EXCEPTIONS_EXCEPTIONS_LIB_A@ EXCEPTIONS_LIB_A = @EXCEPTIONS_LIB_A@ LIBOBJSQLITE3_DEP = @LIBOBJSQLITE3_DEP@ OBJFW_CONFIG = @OBJFW_CONFIG@ RUN_TESTS = @RUN_TESTS@ |
Changes to src/Makefile.
1 2 3 4 5 6 7 | include ../extra.mk SUBDIRS = exceptions SHARED_LIB = ${OBJSQLITE3_SHARED_LIB} STATIC_LIB = ${OBJSQLITE3_STATIC_LIB} FRAMEWORK = ${OBJSQLITE3_FRAMEWORK} | | | < < | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | include ../extra.mk SUBDIRS = exceptions SHARED_LIB = ${OBJSQLITE3_SHARED_LIB} STATIC_LIB = ${OBJSQLITE3_STATIC_LIB} FRAMEWORK = ${OBJSQLITE3_FRAMEWORK} LIB_MAJOR = ${OBJSQLITE3_LIB_MAJOR} LIB_MINOR = ${OBJSQLITE3_LIB_MINOR} SRCS = SL3Connection.m \ SL3PreparedStatement.m INCLUDES := ${SRCS:.m=.h} \ ObjSQLite3.h OBJS_EXTRA = ${EXCEPTIONS_EXCEPTIONS_A} LIB_OBJS_EXTRA = ${EXCEPTIONS_EXCEPTIONS_LIB_A} include ../buildsys.mk CPPFLAGS += -I. -Iexceptions -DSL3_PUBLIC_IVARS LD = ${OBJC} |
Changes to tests/Makefile.
︙ | ︙ | |||
37 38 39 40 41 42 43 | rm -f objsqlite3.so.${OBJSQLITE3_LIB_MAJOR_MINOR} objsqlite3.dll; \ rm -f libobjsqlite3.${OBJSQLITE3_LIB_MAJOR}.dylib; \ exit $$EXIT ${PROG_NOINST}: ${LIBOBJSQLITE3_DEP} CPPFLAGS += -I../src | | | 37 38 39 40 41 42 43 44 45 | rm -f objsqlite3.so.${OBJSQLITE3_LIB_MAJOR_MINOR} objsqlite3.dll; \ rm -f libobjsqlite3.${OBJSQLITE3_LIB_MAJOR}.dylib; \ exit $$EXIT ${PROG_NOINST}: ${LIBOBJSQLITE3_DEP} CPPFLAGS += -I../src LIBS := -L../src -lobjsqlite3 ${LIBS} LD = ${OBJC} |