From cbf28ecef37f85a3df3c493e8101a79751e88d13 Mon Sep 17 00:00:00 2001 From: gdr Date: Fri, 3 Oct 1997 04:46:02 +0000 Subject: [PATCH] replaced with a GNO-style makefile --- lib/liby/Makefile | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/lib/liby/Makefile b/lib/liby/Makefile index 545ff04..b4aed14 100644 --- a/lib/liby/Makefile +++ b/lib/liby/Makefile @@ -1,6 +1,29 @@ -# @(#)Makefile 8.1 (Berkeley) 6/4/93 +# +# This is the top-level makefile for libutil, GNO v2.0.6 +# +# $Id: Makefile,v 1.2 1997/10/03 04:46:02 gdr Exp $ +# -LIB= y -SRCS= main.c yyerror.c +.INCLUDE: ../../paths.mk +.INCLUDE: ../const.mk -.include +LIB = liby +OBJS = main.o yyerror.o +LIBDIR = /usr/lib + +CFLAGS += -O78 + +build: $(LIB) + +$(LIB): $(OBJS) liby.r + $(RM) -f $@ + $(MAKELIB) $(MAKELIBFLAGS) -l $@ $(OBJS) + $(CATREZ) -d $@ liby.r + +install: $(LIB) + $(INSTALL) -d $(LIBDIR) + $(INSTALL) $(LIB) $(LIBDIR) + +release: $(LIB) + $(INSTALL) -d $(RELEASE_DIR)$(LIBDIR) + $(INSTALL) $(LIB) $(RELEASE_DIR)$(LIBDIR)