mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
#-----------------------------------------------------------------------------
|
|
# Copyright (c) 1994 Regents of the University of Michigan.
|
|
# All rights reserved.
|
|
#
|
|
# Redistribution and use in source and binary forms are permitted
|
|
# provided that this notice is preserved and that due credit is given
|
|
# to the University of Michigan at Ann Arbor. The name of the University
|
|
# may not be used to endorse or promote products derived from this
|
|
# software without specific prior written permission. This software
|
|
# is provided ``as is'' without express or implied warranty.
|
|
#
|
|
# LDAP buildtools makefile
|
|
#
|
|
#-----------------------------------------------------------------------------
|
|
|
|
all: FORCE
|
|
@if [ ! -z "$(NEEDUNPROTO)" ]; then \
|
|
cd unproto; $(MAKE) $(MFLAGS) CC=$(CC); \
|
|
else \
|
|
exit 0; \
|
|
fi
|
|
|
|
install: FORCE
|
|
|
|
clean:
|
|
cd unproto; $(MAKE) $(MFLAGS) clean
|
|
cd platforms; $(MAKE) $(MFLAGS) clean
|
|
|
|
veryclean:
|
|
cd unproto; $(MAKE) $(MFLAGS) clean
|
|
cd platforms; $(MAKE) $(MFLAGS) veryclean
|
|
|
|
links:
|
|
@echo "making links in `$(PWD)`"; \
|
|
$(LN) .src/version .src/platforms .src/Make-append .src/install.sh . ; \
|
|
( $(MKDIR) unproto; cd unproto; $(LN) ../.src/unproto .src; \
|
|
$(LN) .src/Makefile .src/*.[ch] . )
|
|
|