openldap/clients/gopher/Makefile.in

37 lines
903 B
Makefile
Raw Normal View History

1998-10-25 09:41:42 +08:00
##
## Makefile for gopher clients
##
PROGRAMS= go500gw go500
1998-11-05 09:56:41 +08:00
SRCS= go500.c go500gw.c
XSRCS= gwversion.c goversion.c
1998-11-05 09:56:41 +08:00
GOOBJS = go500.o
GWOBJS = go500gw.o
1998-10-25 09:41:42 +08:00
LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries
XLIBS = -lldap -llber -llutil
XXLIBS = $(KRB_LIBS) $(LUTIL_LIBS)
1998-10-25 09:41:42 +08:00
go500 : goversion.o
$(LTLINK) -o $@ $(GOOBJS) goversion.o $(LIBS)
1998-10-25 09:41:42 +08:00
go500gw : gwversion.o
$(LTLINK) -o $@ $(GWOBJS) gwversion.o $(LIBS)
1998-10-25 09:41:42 +08:00
goversion.c: ${GOOBJS} $(LDAP_LIBDEPEND)
@-$(RM) $@
$(MKVERSION) go500 > $@
1998-10-25 09:41:42 +08:00
gwversion.c: ${GWOBJS} $(LDAP_LIBDEPEND)
@-$(RM) $@
$(MKVERSION) go500gw > $@
1998-10-25 09:41:42 +08:00
install-local: $(PROGRAMS) go500gw.help FORCE
-$(MKDIR) $(libexecdir) $(datadir)
$(LTINSTALL) $(INSTALLFLAGS) -m 755 go500 $(libexecdir)
$(LTINSTALL) $(INSTALLFLAGS) -m 755 go500gw $(libexecdir)
-$(MV) $(datadir)/go500gw.help $(datadir)/go500gw.help-
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/go500gw.help $(datadir)