srcdir = @srcdir@
VPATH = @srcdir@
+DEFS = @DEFS@
BUILDTOP = ../../
TOPDIR = $(BUILDTOP)
-OPTIONS = -I. -I$(HDIR) $(PEPYPATH) $(KRBOPT)
-CFLAGS = $(OPTIONS) $(LOPTIONS)
+OPTIONS = -I. -I$(HDIR) -I$(TOPDIR)include $(PEPYPATH) $(KRBOPT)
+CFLAGS = $(OPTIONS) $(LOPTIONS) $(DEFS)
HDIR = $(TOPDIR)isode/h/
UTILDIR = $(TOPDIR)isode/util/
PEPSYDIR= $(PEPSYDIRM)/
PSAPDIRM= $(TOPDIR)isode/psap
PSAPDIR= $(PSAPDIRM)/
-LIBISODE= $(TOPDIR)libisode.a
-LIBDSAP = $(TOPDIR)libdsap.a
+LIBISODE= $(TOPDIR)lib/libisode.a
+LIBDSAP = $(TOPDIR)lib/libdsap.a
KRBINC = $(TOPDIR)include/
ISODEINCM= $(KRBINC)isode
PEPSYLIBES= $(PSAPDIR)/sprintoid.o $(PSAPDIR)/pl_tables.o \
$(PSAPDIR)/oid_cmp.o $(PSAPDIR)/oid_cpy.o \
$(PSAPDIR)/oid_free.o ../compat/libcompat.a
-LIBES = $(TOPDIR)libpsap.a $(TOPDIR)libcompat.a
-LLIBS = $(TOPDIR)llib-lpsap $(TOPDIR)llib-lcompat
+LIBES = $(TOPDIR)lib/libpsap.a $(TOPDIR)lib/libcompat.a
+LLIBS = $(TOPDIR)lib/llib-lpsap $(TOPDIR)lib/llib-lcompat
HFILES = $(HDIR)psap.h \
$(HDIR)manifest.h $(HDIR)general.h $(HDIR)config.h
inst-pepsy: $(BINDIR)pepsy
-$(BINDIR)pepsy: xpepsy
- -cp $@ zxpepsy
- -rm -f $@
- cp xpepsy $@
- -@ls -gls $@
- -@echo ""
+#$(BINDIR)pepsy: xpepsy
+# -cp $@ zxpepsy
+# -rm -f $@
+# cp xpepsy $@
+# -@ls -gls $@
+# -@echo ""
pepsy: xpepsy
+ -mv pepsy pepsy.old
+ $(LN) xpepsy pepsy
-@echo ""
xpepsy: pepsyvrsn.o $(PEPSYLIBES)
libpepsy.a: $(LIBFILES)
-rm -f $@
@$(UTILDIR)make-lib.sh $(SYSTEM) $@ $(LIBFILES)
- -@rm -f $(TOPDIR)libpepsy.a
- -@$(LN) libpepsy.a $(TOPDIR)libpepsy.a || cp libpepsy.a $(TOPDIR)libpepsy.a
+ -@rm -f $(TOPDIR)lib/libpepsy.a
+ -@$(LN) libpepsy.a $(TOPDIR)lib/libpepsy.a || cp libpepsy.a $(TOPDIR)lib/libpepsy.a
-@ls -l $@
-@echo "PEPSY library built normally"
*
*
* $Log$
- * Revision 1.2 1994/06/11 08:05:55 tlyu
+ * Revision 1.3 1994/06/12 23:49:17 tytso
+ * Test for YYLINENO so that pepsy will build cleanly on all platforms.
+ *
+ * Revision 1.2 1994/06/11 08:05:55 tlyu
* mips yylineno breakage
*
* Revision 1.1 1994/06/10 03:31:15 eichin
#include <varargs.h>
#include "pepsydefs.h"
#include "pass2.h"
+#include <krb5/autoconf.h>
-#if defined(USING_BISON)
+#if defined(USING_BISON) || defined(NO_YYLINENO)
int yylineno = 0; /* Bison doesn't have yylineno, sigh */
/* ultrix doesn't either */
#endif