Debian Codegraph @

servers/slapd/pwmods/Makefile.in

raw
1 # Makefile.in for overlays
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 2003-2024 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15
16 SRCS = argon2.c
17
18 LTONLY_MOD = $(LTONLY_mod)
19 LDAP_INCDIR= ../../../include
20 LDAP_LIBDIR= ../../../libraries
21
22 MOD_DEFS = -DSLAPD_IMPORT
23
24 shared_LDAP_LIBS = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA)
25 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
26 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
27
28 LIBRARY = dummyvalue
29 PROGRAMS = @SLAPD_DYNAMIC_PWMODS@
30
31 XINCPATH = -I.. -I$(srcdir)/..
32 XDEFS = $(MODULES_CPPFLAGS)
33
34 dynamic: $(PROGRAMS)
35
36 argon2.la : argon2.lo version.lo
37 $(LTLINK_MOD) -module -o $@ argon2.lo version.lo $(ARGON2_LIBS) $(LINK_LIBS) $(MODULES_LIBS)
38
39 install-local: $(PROGRAMS)
40 @if test -n "$?" ; then \
41 $(MKDIR) $(DESTDIR)$(moduledir); \
42 $(LTINSTALL) $(INSTALLFLAGS) -m 755 $? $(DESTDIR)$(moduledir);\
43 fi
44
45 MKDEPFLAG = -l
46
47 .SUFFIXES: .c .o .lo
48
49 .c.lo:
50 $(LTCOMPILE_MOD) $<
51
52 # Must fixup depends for non-libtool objects
53 depend-local: depend-common
54 @if test -n "$(OBJS)"; then \
55 OBJ2=`echo $(OBJS) $(OBJDEP) | $(SED) -e 's/\.o//g'`; \
56 SCR=''; for i in $$OBJ2; do SCR="$$SCR -e s/^$$i.lo:/$$i.o:/"; done; \
57 mv Makefile Makefile.bak; $(SED) $$SCR Makefile.bak > Makefile && \
58 $(RM) Makefile.bak; fi
59