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
|
1998-11-22 14:24:59 +08:00
|
|
|
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
|
|
|
|
|
1999-01-14 09:31:43 +08:00
|
|
|
XLIBS = -lldap -llber -llutil
|
|
|
|
XXLIBS = $(KRB_LIBS) $(LUTIL_LIBS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
go500 : goversion.o
|
1998-11-22 12:22:28 +08:00
|
|
|
$(LTLINK) -o $@ $(GOOBJS) goversion.o $(LIBS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
go500gw : gwversion.o
|
1998-11-22 12:22:28 +08:00
|
|
|
$(LTLINK) -o $@ $(GWOBJS) gwversion.o $(LIBS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
goversion.c: ${GOOBJS} $(LDAP_LIBDEPEND)
|
1999-04-28 13:40:17 +08:00
|
|
|
@-$(RM) $@
|
|
|
|
$(MKVERSION) go500 > $@
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
gwversion.c: ${GWOBJS} $(LDAP_LIBDEPEND)
|
1999-04-28 13:40:17 +08:00
|
|
|
@-$(RM) $@
|
|
|
|
$(MKVERSION) go500gw > $@
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-11-22 12:22:28 +08:00
|
|
|
install-local: $(PROGRAMS) go500gw.help FORCE
|
1998-11-30 03:48:28 +08:00
|
|
|
-$(MKDIR) $(libexecdir) $(datadir)
|
1998-11-22 12:22:28 +08:00
|
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 go500 $(libexecdir)
|
|
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 go500gw $(libexecdir)
|
1998-11-30 03:48:28 +08:00
|
|
|
-$(MV) $(datadir)/go500gw.help $(datadir)/go500gw.help-
|
1999-01-10 10:25:41 +08:00
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/go500gw.help $(datadir)
|