openldap/build/lib.mk

53 lines
1.4 KiB
Makefile
Raw Normal View History

1999-08-30 04:08:00 -04:00
# $OpenLDAP$
2005-01-21 14:38:13 -05:00
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
2016-01-29 14:32:05 -05:00
## Copyright 1998-2016 The OpenLDAP Foundation.
2003-11-25 21:58:56 -05:00
## All rights reserved.
1998-10-24 21:41:42 -04:00
##
2003-11-25 21:58:56 -05:00
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
1998-10-24 21:41:42 -04:00
##
2003-11-25 21:58:56 -05:00
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
##---------------------------------------------------------------------------
#
# Makefile Template for Libraries
#
1998-10-24 21:41:42 -04:00
all-common: $(LIBRARY) $(PROGRAMS)
2003-03-28 13:47:57 -05:00
version.c: Makefile
1998-10-24 21:41:42 -04:00
$(RM) $@
1999-04-29 14:28:57 -04:00
$(MKVERSION) $(LIBRARY) > $@
1998-10-24 21:41:42 -04:00
2003-03-29 04:03:46 -05:00
version.o version.lo: version.c $(OBJS)
2003-03-28 13:47:57 -05:00
install-common: FORCE
1998-10-24 21:41:42 -04:00
lint: lint-local FORCE
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
lint5: lint5-local FORCE
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
2001-12-06 23:03:25 -05:00
#
# In the mingw/cygwin environment, the so and dll files must be
# deleted separately, instead of using the {.so*,*.dll} construct
# that was previously used. It just didn't work.
#
clean-common: FORCE
$(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
$(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
2009-02-09 03:57:33 -05:00
*.o *.lo a.out *.exe core version.c .libs/*
1998-10-24 21:41:42 -04:00
depend-common: FORCE
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
1998-10-24 21:41:42 -04:00
lint-local: FORCE
lint5-local: FORCE
Makefile: $(top_srcdir)/build/lib.mk
2001-12-06 23:03:25 -05:00