mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ce07fb958e
s/-L.../libraries -lldap/.../libraries/libldap/libldap.la/
32 lines
589 B
Makefile
32 lines
589 B
Makefile
# $OpenLDAP$
|
|
|
|
UNIX_PRGS = mail500
|
|
PROGRAMS = $(@PLAT@_PRGS)
|
|
|
|
SRCS= main.c
|
|
XSRCS= version.c
|
|
OBJS= main.o
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XLIBS = $(LDAP_L)
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
|
|
|
mail500 : version.o
|
|
$(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
|
|
|
|
version.c: $(OBJS) $(XLIBS)
|
|
@-$(RM) $@
|
|
$(MKVERSION) mail500 > $@
|
|
|
|
install-local: $(PROGRAMS) FORCE
|
|
-$(MKDIR) $(DESTDIR)$(libexecdir)
|
|
@( \
|
|
for prg in $(PROGRAMS); do \
|
|
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \
|
|
$(DESTDIR)$(libexecdir); \
|
|
done \
|
|
)
|
|
|