Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
add79ef9
Commit
add79ef9
authored
Dec 14, 1998
by
Kurt Zeilenga
Browse files
Generalize the web_ldap Makefile a bit.
parent
b063f5e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/web_ldap/Makefile
View file @
add79ef9
#
# This file used under Irix (SGI) - please modify for your needs
#
CC
=
cc
-signed
#CC = cc -signed
#For Optimization
CFLAGS
=
-O2
CFLAGS
=
-O2
$(CPPFLAGS)
#For debugging
#CFLAGS= -g
#CFLAGS= -g $(CPPFLAGS)
PREFIX
=
../..
# PREFIX=/usr/local
CPPFLAGS
=
-I
$(PREFIX)
/include
LDFLAGS
=
-L
$(PREFIX)
/libraries
# CC = cc $(CFLAGS) $(CPPFLAGS)
#
# Create Executables
#
web_ldap
:
web_ldap.o util.o
$(CC)
-o
web_ldap web_ldap.o util.o
\
libldap.a liblber.a
$(CC)
-o
web_ldap web_ldap.o util.o
$(LDFLAGS)
-lldap
-llber
#
# Create Objects
#
web_ldap.o
:
web_ldap.c
$(CC)
-c
web_ldap.c
util.o
:
util.c
$(CC)
-c
util.c
#
# all done
#
clean
:
rm
-f
*
.o a.out core web_ldap
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment