diff options
| -rw-r--r-- | build-aux/Makefile-xcode | 109 | ||||
| -rw-r--r-- | ldap-utils.xcodeproj/project.pbxproj | 189 |
2 files changed, 298 insertions, 0 deletions
diff --git a/build-aux/Makefile-xcode b/build-aux/Makefile-xcode new file mode 100644 index 0000000..da38c10 --- /dev/null +++ b/build-aux/Makefile-xcode | |||
| @@ -0,0 +1,109 @@ | |||
| 1 | # | ||
| 2 | # Syzdek Coding Tools | ||
| 3 | # Copyright (C) 2008 David M. Syzdek <david@syzdek.net> | ||
| 4 | # | ||
| 5 | # @SYZDEK_LICENSE_HEADER_START@ | ||
| 6 | # | ||
| 7 | # This program is free software; you can redistribute it and/or modify | ||
| 8 | # it under the terms of the GNU General Public License Version 2 as | ||
| 9 | # published by the Free Software Foundation. | ||
| 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 Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 19 | # | ||
| 20 | # @SYZDEK_LICENSE_HEADER_END@ | ||
| 21 | # | ||
| 22 | # http://www.syzdek.net/ | ||
| 23 | # | ||
| 24 | # Makefile-xcode - Makefile wrapper for compiling from Xcode | ||
| 25 | # | ||
| 26 | # Notes: | ||
| 27 | # Tested on OS X 10.5.4 with Xcode 3.1 Beta 7. Set any one of the the | ||
| 28 | # variables below in the Xcode build settings for the target to override | ||
| 29 | # the defaults. | ||
| 30 | # | ||
| 31 | |||
| 32 | # build tools | ||
| 33 | ACLOCAL ?= /usr/bin/aclocal | ||
| 34 | AUTOCONF ?= /usr/bin/autoconf | ||
| 35 | AUTOHEADER ?= /usr/bin/autoheader | ||
| 36 | AUTOMAKE ?= /usr/bin/automake | ||
| 37 | LIBTOOLIZE ?= /usr/bin/glibtoolize | ||
| 38 | TOUCH ?= /usr/bin/touch | ||
| 39 | |||
| 40 | # tool flags | ||
| 41 | ACLOCAL_FLAGS ?= -I m4 | ||
| 42 | AUTOCONF_FLAGS ?= | ||
| 43 | AUTOHEADER_FLAGS ?= | ||
| 44 | AUTOMAKE_FLAGS ?= -c -a | ||
| 45 | LIBTOOLIZE_FLAGS ?= -c | ||
| 46 | TOUCH_FLAGS ?= | ||
| 47 | |||
| 48 | # file locations | ||
| 49 | BUILD_DIR ?= . | ||
| 50 | MAKEFILE ?= Makefile-xcode | ||
| 51 | PATH = /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin | ||
| 52 | SRCROOT ?= . | ||
| 53 | builddir ?= $(BUILD_DIR) | ||
| 54 | srcdir ?= $(SRCROOT) | ||
| 55 | |||
| 56 | # build options | ||
| 57 | CONFIGURE_FLAGS ?= | ||
| 58 | CONFIGURE_FLAGS += --enable-dependency-tracking | ||
| 59 | MAKEFLAGS ?= 2 | ||
| 60 | DEBUG ?= NO | ||
| 61 | DISTCLEAN ?= NO | ||
| 62 | DISTFILES ?= NO | ||
| 63 | |||
| 64 | # make targets | ||
| 65 | all: debugOutput $(builddir)/Makefile $(srcdir)/config.h.in | ||
| 66 | test -f $(builddir)/Makefile && cd $(builddir) && make -j $(MAKEFLAGS) | ||
| 67 | test "x$(DISTFILES)" == "xYES" && test -f $(builddir)/Makefile && \ | ||
| 68 | cd $(builddir) && make -j 2 distcheck && make dist-gzip && \ | ||
| 69 | make dist-bzip2 && make dist-zip || exit 0 | ||
| 70 | |||
| 71 | debugOutput: | ||
| 72 | @echo "" | ||
| 73 | @echo "Build Directory: $(builddir)" | ||
| 74 | @echo "Source Directory: $(srcdir)" | ||
| 75 | @echo "Configure Flags: $(CONFIGURE_FLAGS)" | ||
| 76 | @echo "" | ||
| 77 | @test "x$(DEBUG)" == "xYES" && echo "Environment variables: " && \ | ||
| 78 | bash -c set && echo "" && echo "" || exit 0 | ||
| 79 | |||
| 80 | $(srcdir)/aclocal.m4: $(MAKEFILE) $(srcdir)/acinclude.m4 $(srcdir)/configure.ac | ||
| 81 | $(ACLOCAL) $(ACLOCAL_FLAGS) && \ | ||
| 82 | $(TOUCH) $(srcdir)/aclocal.m4 | ||
| 83 | |||
| 84 | $(srcdir)/configure: $(MAKEFILE) $(srcdir)/aclocal.m4 $(srcdir)/configure.ac | ||
| 85 | $(AUTOCONF) $(AUTOCONF_FLAGS) && \ | ||
| 86 | $(TOUCH) $(srcdir)/configure | ||
| 87 | |||
| 88 | $(srcdir)/config.h.in: $(MAKEFILE) $(srcdir)/aclocal.m4 $(srcdir)/configure | ||
| 89 | $(AUTOHEADER) $(AUTOHEADER_FLAGS) && \ | ||
| 90 | $(TOUCH) $(srcdir)/config.h.in | ||
| 91 | |||
| 92 | $(srcdir)/Makefile.in: $(MAKEFILE) $(srcdir)/Makefile.am $(srcdir)/aclocal.m4 | ||
| 93 | $(LIBTOOLIZE) $(LIBTOOLIZE_FLAGS) && \ | ||
| 94 | $(AUTOMAKE) $(AUTOMAKE_FLAGS) && \ | ||
| 95 | $(TOUCH) $(srcdir)/Makefile.in | ||
| 96 | |||
| 97 | $(builddir)/Makefile: $(MAKEFILE) $(srcdir)/configure $(srcdir)/Makefile.in | ||
| 98 | mkdir -p $(builddir) | ||
| 99 | cd $(builddir) && \ | ||
| 100 | $(srcdir)/configure $(CONFIGURE_FLAGS) | ||
| 101 | |||
| 102 | clean: | ||
| 103 | test -f $(builddir)/Makefile && cd $(builddir) && make clean | ||
| 104 | test "x$(DISTCLEAN)" == "xYES" && test -f $(builddir)/Makefile && \ | ||
| 105 | cd $(builddir) && make distclean || exit 0 | ||
| 106 | |||
| 107 | install: | ||
| 108 | |||
| 109 | # end of Makefile file | ||
diff --git a/ldap-utils.xcodeproj/project.pbxproj b/ldap-utils.xcodeproj/project.pbxproj new file mode 100644 index 0000000..05801e5 --- /dev/null +++ b/ldap-utils.xcodeproj/project.pbxproj | |||
| @@ -0,0 +1,189 @@ | |||
| 1 | // !$*UTF8*$! | ||
| 2 | { | ||
| 3 | archiveVersion = 1; | ||
| 4 | classes = { | ||
| 5 | }; | ||
| 6 | objectVersion = 45; | ||
| 7 | objects = { | ||
| 8 | |||
| 9 | /* Begin PBXFileReference section */ | ||
| 10 | A0290B930E7C8478004FC622 /* ldap2csv.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ldap2csv.c; sourceTree = "<group>"; }; | ||
| 11 | A0290B940E7C8478004FC622 /* ldapsetup.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ldapsetup.c; sourceTree = "<group>"; }; | ||
| 12 | A0290B950E7C8478004FC622 /* ldaputils_common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ldaputils_common.c; sourceTree = "<group>"; }; | ||
| 13 | A0290B960E7C8478004FC622 /* ldaputils_common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ldaputils_common.h; sourceTree = "<group>"; }; | ||
| 14 | A0290B970E7C8478004FC622 /* ldaputils_test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ldaputils_test.c; sourceTree = "<group>"; }; | ||
| 15 | A0290B9C0E7C84C0004FC622 /* acinclude.m4 */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = acinclude.m4; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; | ||
| 16 | A0290B9D0E7C84C0004FC622 /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = ChangeLog; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; | ||
| 17 | A0290B9E0E7C84C0004FC622 /* configure.ac */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = configure.ac; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; | ||
| 18 | A0290B9F0E7C84C0004FC622 /* Makefile.am */ = {isa = PBXFileReference; explicitFileType = text.script; fileEncoding = 4; indentWidth = 8; path = Makefile.am; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; | ||
| 19 | A0290BA00E7C852F004FC622 /* AUTHORS */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = AUTHORS; sourceTree = "<group>"; }; | ||
| 20 | A0290BA10E7C852F004FC622 /* NEWS */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = NEWS; sourceTree = "<group>"; }; | ||
| 21 | A0290BA20E7C852F004FC622 /* README */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README; sourceTree = "<group>"; }; | ||
| 22 | A0290BC20E7C862A004FC622 /* Makefile-xcode */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = "Makefile-xcode"; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; | ||
| 23 | A0B3A4B00E80CAE000E4FC93 /* ldaputils_misc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ldaputils_misc.h; sourceTree = "<group>"; }; | ||
| 24 | A0B3A4B10E80CAE000E4FC93 /* ldaputils_misc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ldaputils_misc.c; sourceTree = "<group>"; }; | ||
| 25 | A0B3A4C10E80E5C800E4FC93 /* ldaputils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ldaputils.h; sourceTree = "<group>"; }; | ||
| 26 | /* End PBXFileReference section */ | ||
| 27 | |||
| 28 | /* Begin PBXGroup section */ | ||
| 29 | 08FB7794FE84155DC02AAC07 /* ldap-utils */ = { | ||
| 30 | isa = PBXGroup; | ||
| 31 | children = ( | ||
| 32 | A0290B9C0E7C84C0004FC622 /* acinclude.m4 */, | ||
| 33 | A0290BA00E7C852F004FC622 /* AUTHORS */, | ||
| 34 | A0290BC10E7C85EB004FC622 /* build-aux */, | ||
| 35 | A0290B9D0E7C84C0004FC622 /* ChangeLog */, | ||
| 36 | A0290B9E0E7C84C0004FC622 /* configure.ac */, | ||
| 37 | C6A0FF2B0290797F04C91782 /* include */, | ||
| 38 | A0290B9F0E7C84C0004FC622 /* Makefile.am */, | ||
| 39 | A0290BA10E7C852F004FC622 /* NEWS */, | ||
| 40 | A0290BA20E7C852F004FC622 /* README */, | ||
| 41 | 08FB7795FE84155DC02AAC07 /* src */, | ||
| 42 | ); | ||
| 43 | name = "ldap-utils"; | ||
| 44 | sourceTree = "<group>"; | ||
| 45 | }; | ||
| 46 | 08FB7795FE84155DC02AAC07 /* src */ = { | ||
| 47 | isa = PBXGroup; | ||
| 48 | children = ( | ||
| 49 | A0290B930E7C8478004FC622 /* ldap2csv.c */, | ||
| 50 | A0290B940E7C8478004FC622 /* ldapsetup.c */, | ||
| 51 | A0290B950E7C8478004FC622 /* ldaputils_common.c */, | ||
| 52 | A0290B960E7C8478004FC622 /* ldaputils_common.h */, | ||
| 53 | A0B3A4B10E80CAE000E4FC93 /* ldaputils_misc.c */, | ||
| 54 | A0B3A4B00E80CAE000E4FC93 /* ldaputils_misc.h */, | ||
| 55 | A0290B970E7C8478004FC622 /* ldaputils_test.c */, | ||
| 56 | ); | ||
| 57 | path = src; | ||
| 58 | sourceTree = "<group>"; | ||
| 59 | }; | ||
| 60 | A0290BC10E7C85EB004FC622 /* build-aux */ = { | ||
| 61 | isa = PBXGroup; | ||
| 62 | children = ( | ||
| 63 | A0290BC20E7C862A004FC622 /* Makefile-xcode */, | ||
| 64 | ); | ||
| 65 | path = "build-aux"; | ||
| 66 | sourceTree = "<group>"; | ||
| 67 | }; | ||
| 68 | C6A0FF2B0290797F04C91782 /* include */ = { | ||
| 69 | isa = PBXGroup; | ||
| 70 | children = ( | ||
| 71 | A0B3A4C10E80E5C800E4FC93 /* ldaputils.h */, | ||
| 72 | ); | ||
| 73 | path = include; | ||
| 74 | sourceTree = "<group>"; | ||
| 75 | }; | ||
| 76 | /* End PBXGroup section */ | ||
| 77 | |||
| 78 | /* Begin PBXLegacyTarget section */ | ||
| 79 | A0290BC30E7C8646004FC622 /* Makefile */ = { | ||
| 80 | isa = PBXLegacyTarget; | ||
| 81 | buildArgumentsString = "-f $(MAKEFILE) $(ACTION)"; | ||
| 82 | buildConfigurationList = A0290BCB0E7C8650004FC622 /* Build configuration list for PBXLegacyTarget "Makefile" */; | ||
| 83 | buildPhases = ( | ||
| 84 | ); | ||
| 85 | buildToolPath = /usr/bin/make; | ||
| 86 | dependencies = ( | ||
| 87 | ); | ||
| 88 | name = Makefile; | ||
| 89 | passBuildSettingsInEnvironment = 1; | ||
| 90 | productName = Makefile; | ||
| 91 | }; | ||
| 92 | /* End PBXLegacyTarget section */ | ||
| 93 | |||
| 94 | /* Begin PBXProject section */ | ||
| 95 | 08FB7793FE84155DC02AAC07 /* Project object */ = { | ||
| 96 | isa = PBXProject; | ||
| 97 | buildConfigurationList = 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "ldap-utils" */; | ||
| 98 | compatibilityVersion = "Xcode 3.1"; | ||
| 99 | hasScannedForEncodings = 1; | ||
| 100 | mainGroup = 08FB7794FE84155DC02AAC07 /* ldap-utils */; | ||
| 101 | projectDirPath = ""; | ||
| 102 | projectRoot = ""; | ||
| 103 | targets = ( | ||
| 104 | A0290BC30E7C8646004FC622 /* Makefile */, | ||
| 105 | ); | ||
| 106 | }; | ||
| 107 | /* End PBXProject section */ | ||
| 108 | |||
| 109 | /* Begin XCBuildConfiguration section */ | ||
| 110 | 1DEB928A08733DD80010E9CD /* Debug */ = { | ||
| 111 | isa = XCBuildConfiguration; | ||
| 112 | buildSettings = { | ||
| 113 | ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | ||
| 114 | GCC_C_LANGUAGE_STANDARD = c99; | ||
| 115 | GCC_OPTIMIZATION_LEVEL = 0; | ||
| 116 | GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
| 117 | GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 118 | ONLY_ACTIVE_ARCH = YES; | ||
| 119 | PREBINDING = NO; | ||
| 120 | SDKROOT = macosx10.5; | ||
| 121 | }; | ||
| 122 | name = Debug; | ||
| 123 | }; | ||
| 124 | 1DEB928B08733DD80010E9CD /* Release */ = { | ||
| 125 | isa = XCBuildConfiguration; | ||
| 126 | buildSettings = { | ||
| 127 | ARCHS = "$(ARCHS_STANDARD_32_BIT)"; | ||
| 128 | GCC_C_LANGUAGE_STANDARD = c99; | ||
| 129 | GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
| 130 | GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 131 | PREBINDING = NO; | ||
| 132 | SDKROOT = macosx10.5; | ||
| 133 | }; | ||
| 134 | name = Release; | ||
| 135 | }; | ||
| 136 | A0290BC40E7C8646004FC622 /* Debug */ = { | ||
| 137 | isa = XCBuildConfiguration; | ||
| 138 | buildSettings = { | ||
| 139 | CONFIGURE_FLAGS = ""; | ||
| 140 | COPY_PHASE_STRIP = NO; | ||
| 141 | DISTCLEAN = NO; | ||
| 142 | DISTFILES = NO; | ||
| 143 | GCC_DYNAMIC_NO_PIC = NO; | ||
| 144 | GCC_OPTIMIZATION_LEVEL = 0; | ||
| 145 | MAKEFILE = "build-aux/Makefile-xcode"; | ||
| 146 | PRODUCT_NAME = Makefile; | ||
| 147 | }; | ||
| 148 | name = Debug; | ||
| 149 | }; | ||
| 150 | A0290BC50E7C8646004FC622 /* Release */ = { | ||
| 151 | isa = XCBuildConfiguration; | ||
| 152 | buildSettings = { | ||
| 153 | CONFIGURE_FLAGS = ""; | ||
| 154 | COPY_PHASE_STRIP = YES; | ||
| 155 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
| 156 | DISTCLEAN = YES; | ||
| 157 | DISTFILES = YES; | ||
| 158 | GCC_ENABLE_FIX_AND_CONTINUE = NO; | ||
| 159 | MAKEFILE = "build-aux/Makefile-xcode"; | ||
| 160 | PRODUCT_NAME = Makefile; | ||
| 161 | ZERO_LINK = NO; | ||
| 162 | }; | ||
| 163 | name = Release; | ||
| 164 | }; | ||
| 165 | /* End XCBuildConfiguration section */ | ||
| 166 | |||
| 167 | /* Begin XCConfigurationList section */ | ||
| 168 | 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "ldap-utils" */ = { | ||
| 169 | isa = XCConfigurationList; | ||
| 170 | buildConfigurations = ( | ||
| 171 | 1DEB928A08733DD80010E9CD /* Debug */, | ||
| 172 | 1DEB928B08733DD80010E9CD /* Release */, | ||
| 173 | ); | ||
| 174 | defaultConfigurationIsVisible = 0; | ||
| 175 | defaultConfigurationName = Release; | ||
| 176 | }; | ||
| 177 | A0290BCB0E7C8650004FC622 /* Build configuration list for PBXLegacyTarget "Makefile" */ = { | ||
| 178 | isa = XCConfigurationList; | ||
| 179 | buildConfigurations = ( | ||
| 180 | A0290BC40E7C8646004FC622 /* Debug */, | ||
| 181 | A0290BC50E7C8646004FC622 /* Release */, | ||
| 182 | ); | ||
| 183 | defaultConfigurationIsVisible = 0; | ||
| 184 | defaultConfigurationName = Release; | ||
| 185 | }; | ||
| 186 | /* End XCConfigurationList section */ | ||
| 187 | }; | ||
| 188 | rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; | ||
| 189 | } | ||
