# Top level Makefile for Email gateway.
# Europagate, 1994-1995.
#
-# $Log: Makefile,v $
-# Revision 1.11 1995/02/21 12:10:56 adam
-# ZDist prefix inherited. CPP command inherited. New make entry
-# 'cleandepend' which effectively remove any dependencies specification
-# in sub-Makefiles.
-#
-# Revision 1.10 1995/02/16 18:36:18 quinn
-# Changed order yet again
-#
-# Revision 1.9 1995/02/16 18:35:43 quinn
-# Changing order.
-#
-# Revision 1.8 1995/02/16 18:34:06 adam
-# Minor changes.
-#
-# Revision 1.7 1995/02/16 15:01:26 quinn
-# Added zlayer
-#
-# Revision 1.6 1995/02/16 14:47:31 quinn
-# Removed CC
-#
-# Revision 1.5 1995/02/15 17:40:47 adam
-# New module kernel.
-#
-# Revision 1.4 1995/02/13 12:34:56 adam
-# New module ccl.
-#
-# Revision 1.3 1995/02/10 17:21:17 adam
-# FML is add as sub Makefile.
-#
-# Revision 1.2 1995/02/10 16:48:52 adam
-# Minor changes.
-#
-# Revision 1.1.1.1 1995/02/09 17:27:11 adam
-# Initial version of email gateway under CVS control.
+# $Id: Makefile,v 1.12 1995/02/21 13:59:54 adam Exp $
#
SHELL=/bin/sh
MAKE=make
#CC=gcc
CPP=$(CC) -E
ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
+#NETLIB=-lnsl -lsocket
all:
- for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZPRE="$(ZPRE)" CPP="$(CPP)"; then cd ..; else exit 1; fi; done
+ for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZPRE="$(ZPRE)" CPP="$(CPP)" NETLIB="$(NETLIB)"; then cd ..; else exit 1; fi; done
dep depend:
for i in $(SUBDIR); do cd $$i; if $(MAKE) depend; then cd ..; else exit 1; fi; done
* FML interpreter. Europagate, 1995
*
* $Log: fml.c,v $
- * Revision 1.8 1995/02/10 18:15:52 adam
+ * Revision 1.9 1995/02/21 14:00:03 adam
+ * Minor changes.
+ *
+ * Revision 1.8 1995/02/10 18:15:52 adam
* FML function 'strcmp' implemented. This function can be used to
* test for existence of MARC fields.
*
if (!list)
return NULL;
fml_init_token (&token, fml);
- assert (list);
fml_cmd_lex (&list, &token);
fn1 = fn = fml_sub1 (fml, &list, &token);
if (fn->p[1] && token.kind != '\0')
# Europagate, 1995
#
# $Log: Makefile,v $
-# Revision 1.5 1995/02/21 12:11:59 adam
+# Revision 1.6 1995/02/21 14:00:08 adam
+# Minor changes.
+#
+# Revision 1.5 1995/02/21 12:11:59 adam
# Diagnostic record with error info. observed.
#
# Revision 1.4 1995/02/20 21:16:16 adam
all: $(TPROG1)
$(TPROG1): $(O) $(USELIBS1)
- $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS1)
+ $(CC) $(CFLAGS) -o $(TPROG1) $(O) $(USELIBS1) $(NETLIB)
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
Europagate, 1994-1995.
$Log: gw-res.c,v $
- Revision 1.2 1995/02/16 13:21:30 adam
- A few logging messages added.
+ Revision 1.3 1995/02/21 14:00:11 adam
+ Minor changes.
+ * Revision 1.2 1995/02/16 13:21:30 adam
+ * A few logging messages added.
+ *
* Revision 1.1.1.1 1995/02/09 17:27:12 adam
* Initial version of email gateway under CVS control.
*
while (1)
{
int left = 78-pos;
- if (strlen(rl->value+i) <= left)
+ if ((int) strlen(rl->value+i) <= left)
break;
while (left > 0)
{