aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2019-11-01 00:11:27 -0800
committerDavid M. Syzdek <david@syzdek.net>2019-11-01 00:11:27 -0800
commit7b392f44be25b8cd25ac7fe4068a0352dbbf32a0 (patch)
treeea0d645d7e4af202a9efb6154fffb830ea84ae0c
parentdca78f1e2508b280bf5bf6410419ab1edacd6836 (diff)
downloadldap-utils-0.3.63.tar.gz
ldap-utils-0.3.63.tar.bz2
ldap-utils-0.3.63.tar.xz
ldap-utils-0.3.63.zip
libldaputils: fixing compile instructions in sourcev0.3.63
-rw-r--r--lib/libldaputils/libldaputils.sym34
1 files changed, 25 insertions, 9 deletions
diff --git a/lib/libldaputils/libldaputils.sym b/lib/libldaputils/libldaputils.sym
index 9d5e770..e552b80 100644
--- a/lib/libldaputils/libldaputils.sym
+++ b/lib/libldaputils/libldaputils.sym
@@ -31,23 +31,39 @@
31# 31#
32# lib/libldaputils.sym - list of symbols to export in libldaputils.la 32# lib/libldaputils.sym - list of symbols to export in libldaputils.la
33# 33#
34# Build: 34# Simple Build:
35# CFLAGS="-g -O2 -W -Wall -Werror -I../include" 35# CFLAGS="-g -O2 -W -Wall -Werror -I../include"
36# LDFLAGS="-g -O2 -export-symbols libldaputils.sym -rpath /usr/local/lib" 36# gcc ${CFLAGS} -c lconfig.c
37# export CFLAGS LDFLAGS 37# gcc ${CFLAGS} -c lentry.c
38# gcc ${CFLAGS} -c lldap.c
39# gcc ${CFLAGS} -c lmemory.c
40# gcc ${CFLAGS} -c lpasswd.c
41# gcc ${CFLAGS} -c ltree.c
42# ar rcs libldaputils.a \
43# lconfig.o lentry.o lldap.o lmemory.o lpasswd.o ltree.o
44# ranlib libldaputils.a
38# 45#
39# libtool --mode=compile gcc ${CFLAGS} -c otadm_config.c 46# Libtool Build:
40# libtool --mode=link gcc ${LDFLAGS} -o libldaputils.la otadm_config.lo 47# CFLAGS="-g -O2 -W -Wall -Werror -I../../include"
48# LDFLAGS="-g -O2 -static"
49# libtool --mode=compile --tag=CC gcc ${CFLAGS} -c lconfig.c
50# libtool --mode=compile --tag=CC gcc ${CFLAGS} -c lentry.c
51# libtool --mode=compile --tag=CC gcc ${CFLAGS} -c lldap.c
52# libtool --mode=compile --tag=CC gcc ${CFLAGS} -c lmemory.c
53# libtool --mode=compile --tag=CC gcc ${CFLAGS} -c lpasswd.c
54# libtool --mode=compile --tag=CC gcc ${CFLAGS} -c ltree.c
55# libtool --mode=link --tag=CC gcc ${LDFLAGS} -o libldaputils.a \
56# lconfig.lo lentry.lo lldap.lo lmemory.lo lpasswd.lo ltree.lo
41# 57#
42# Install: 58# Install:
43# libtool --mode=install install -c libldaputils.la /usr/local/lib/libacs-utils.la 59# libtool --mode=install install -c libldaputils.a /usr/local/lib/
44# 60#
45# Uninstall: 61# Uninstall:
46# libtool --mode=uninstall rm -f /usr/local/lib/libldaputils.la 62# libtool --mode=uninstall rm -f /usr/local/lib/libldaputils.a
47# 63#
48# Clean: 64# Clean:
49# libtool --mode=clean rm -f libldaputils.la otadm_config.lo 65# libtool --mode=clean rm -f libldaputils.la libldaputils.a \
50# 66# lconfig.lo lentry.lo lldap.lo lmemory.lo lpasswd.lo ltree.lo
51# 67#
52ldaputils_chomp 68ldaputils_chomp
53ldaputils_cmdargs 69ldaputils_cmdargs