mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
32 lines
610 B
Makefile
32 lines
610 B
Makefile
# $OpenLDAP$
|
|
|
|
UNIX_PRGS = maildap
|
|
PROGRAMS = $(@PLAT@_PRGS)
|
|
|
|
SRCS= main.c
|
|
XSRCS= version.c
|
|
OBJS= main.o
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XLIBS = -lldap -llber -llutil
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
|
|
|
maildap : version.o
|
|
$(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
|
|
|
|
version.c: ${OBJS} $(LDAP_LIBDEPEND)
|
|
@-$(RM) $@
|
|
$(MKVERSION) maildap > $@
|
|
|
|
install-local: $(PROGRAMS) FORCE
|
|
-$(MKDIR) $(DESTDIR)$(libexecdir)
|
|
@( \
|
|
for prg in $(PROGRAMS); do \
|
|
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \
|
|
$(DESTDIR)$(libexecdir); \
|
|
done \
|
|
)
|
|
|