From: Mark Eichin Date: Fri, 10 Jun 1994 19:59:11 +0000 (+0000) Subject: real Makefile.in, NO_YYLINENO X-Git-Tag: krb5-1.0-beta4~124 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=36a2fae47633715f162cea689536fff6292922eb;p=krb5.git real Makefile.in, NO_YYLINENO git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3729 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/ss/Makefile.in b/src/util/ss/Makefile.in index 7a5b3c891..c9b536999 100644 --- a/src/util/ss/Makefile.in +++ b/src/util/ss/Makefile.in @@ -1,6 +1,29 @@ -#### insert configury here -# flags +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +LEX = @LEX@ +LEXLIB = @LEXLIB@ + +ARCHIVE = @ARCHIVE@ +RANLIB = @RANLIB@ +RM = rm -f +MV = mv + +AWK = @AWK@ +INSTALLLIB=cp +INSTALLFILE=cp +CHMOD=chmod + +all:: + BUILDTOP=../.. +TOP=$(BUILDTOP) # hard coded srcdir/.. is so that ss/ss.h works @@ -54,17 +77,26 @@ FILES= $(SRCS) $(MKCMDSFILES) $(HFILES) \ # stuff to build # -all:: mk_cmds libss.a # libss_p.a lint +all:: mk_cmds libss.a includes # libss_p.a lint dist: archives -install:: all +install:: libss.a $(INSTALLLIB) libss.a ${DESTDIR}$(LIBDIR)/libss.a $(RANLIB) ${DESTDIR}$(LIBDIR)/libss.a @rm -rf ${DESTDIR}$(INCLDIR)/ss @mkdir ${DESTDIR}$(INCLDIR)/ss +includes:: mk_cmds ss_err.h + -$(RM) -rf $(TOP)/include/ss + mkdir $(TOP)/include/ss + cp $(srcdir)/ss.h $(TOP)/include/ss + cp $(srcdir)/mit-sipb-copyright.h $(TOP)/include/ss + cp $(srcdir)/copyright.h $(TOP)/include/ss + cp $(srcdir)/ss_err.h $(TOP)/include/ss + cp $(srcdir)/ss_internal.h $(TOP)/include/ss + install:: $(HFILES) copyright.h for i in $(HFILES) copyright.h; do \ @@ -122,6 +154,8 @@ all:: mk_cmds mk_cmds: $(MKCMDSOBJS) $(CC) $(CFLAGS) -o $@ $(MKCMDSOBJS) $(LEXLIB) $(BSDLIB) +mk_cmds.o: ss_err.h + install:: $(INSTALLPROG) mk_cmds ${DESTDIR}$(PROGDIR)/mk_cmds diff --git a/src/util/ss/mk_cmds.c b/src/util/ss/mk_cmds.c index af04ec083..21345e218 100644 --- a/src/util/ss/mk_cmds.c +++ b/src/util/ss/mk_cmds.c @@ -25,7 +25,9 @@ extern char *last_token; extern FILE *output_file; extern FILE *yyin, *yyout; +#ifndef NO_YYLINENO extern int yylineno; +#endif int main(argc, argv) int argc;