mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-03 02:41:24 +08:00
3b15c6f10f
Remove back-perl, back-sql, back-tcl from branch as they have yet to be updated. Additional changes are needed prior to release of alpha4.
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# $OpenLDAP$
|
|
##
|
|
## Makefile for gopher clients
|
|
##
|
|
|
|
UNIX_PRGS= go500gw go500
|
|
PROGRAMS = $(@PLAT@_PRGS)
|
|
|
|
SRCS= go500.c go500gw.c
|
|
|
|
XSRCS= gwversion.c goversion.c
|
|
GOOBJS = go500.o
|
|
GWOBJS = go500gw.o
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XLIBS = -lldap -llber -llutil
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
|
|
|
go500 : goversion.o
|
|
$(LTLINK) -o $@ $(GOOBJS) goversion.o $(LIBS)
|
|
|
|
go500gw : gwversion.o
|
|
$(LTLINK) -o $@ $(GWOBJS) gwversion.o $(LIBS)
|
|
|
|
goversion.c: ${GOOBJS} $(LDAP_LIBDEPEND)
|
|
@-$(RM) $@
|
|
$(MKVERSION) go500 > $@
|
|
|
|
gwversion.c: ${GWOBJS} $(LDAP_LIBDEPEND)
|
|
@-$(RM) $@
|
|
$(MKVERSION) go500gw > $@
|
|
|
|
install-local: $(PROGRAMS) go500gw.help FORCE
|
|
-$(MKDIR) $(DESTDIR)$(libexecdir) $(DESTDIR)$(datadir)
|
|
@( \
|
|
for prg in $(PROGRAMS); do \
|
|
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \
|
|
$(DESTDIR)$(libexecdir); \
|
|
done \
|
|
)
|
|
-$(MV) $(DESTDIR)$(datadir)/go500gw.help $(DESTDIR)$(datadir)/go500gw.help-
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/go500gw.help $(DESTDIR)$(datadir)
|
|
|