mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
0024cf2f4b
including use of ctime_r, gethostby*_r, etc.. Also reworked ldap_sort_entries to be reentrant. Need to add code to properly set LDAP_API_FEATURE_THREAD_SAFE.
36 lines
848 B
Makefile
36 lines
848 B
Makefile
##---------------------------------------------------------------------------
|
|
##
|
|
## Makefile Template for Libraries
|
|
##
|
|
|
|
all-common: $(LIBRARY) $(PROGRAMS)
|
|
|
|
version.c: $(OBJS) $(srcdir)/Version.c
|
|
$(RM) $@
|
|
(u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` \
|
|
h=`$(HOSTNAME)` t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
|
|
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
|
|
-e "s|%VERSION%|$${v}|" \
|
|
< $(srcdir)/Version.c > $@)
|
|
|
|
install-common: FORCE
|
|
|
|
lint: lint-local FORCE
|
|
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
|
|
|
|
lint5: lint5-local FORCE
|
|
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
|
|
|
|
clean-common: FORCE
|
|
$(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
|
|
$(PROGRAMS) $(XPROGRAMS) $(XSRCS) \
|
|
*.o *.lo a.out core version.c .libs/*
|
|
|
|
depend-common: FORCE
|
|
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
|
|
|
|
lint-local: FORCE
|
|
lint5-local: FORCE
|
|
|
|
Makefile: $(top_srcdir)/build/lib.mk
|