added install and release targets, rez file dependancy

This commit is contained in:
gdr 1997-10-03 04:47:34 +00:00
parent cbf28ecef3
commit 68bf96eb2a

View File

@ -1,16 +1,29 @@
# #
# This is the top-level makefile for libutil, GNO v2.0.6 # This is the top-level makefile for libutil, GNO v2.0.6
# #
# $Id: Makefile,v 1.2 1997/09/21 05:59:14 gdr Exp $ # $Id: Makefile,v 1.3 1997/10/03 04:47:34 gdr Exp $
# #
.INCLUDE: ../../paths.mk .INCLUDE: ../../paths.mk
.INCLUDE: ../const.mk .INCLUDE: ../const.mk
LIB = libutil
OBJS = login.o logintty.o logwtmp.o OBJS = login.o logintty.o logwtmp.o
LIBDIR = /usr/lib
CFLAGS += -O78 CFLAGS += -O78
libutil: $(OBJS) build: $(LIB)
$(LIB): $(OBJS) libutil.r
$(RM) -f $@ $(RM) -f $@
$(MAKELIB) $(MAKELIBFLAGS) -l $@ $(OBJS) $(MAKELIB) $(MAKELIBFLAGS) -l $@ $(OBJS)
$(CATREZ) -d $@ libutil.r
install: $(LIB)
$(INSTALL) -d $(LIBDIR)
$(INSTALL) $(LIB) $(LIBDIR)
release: $(LIB)
$(INSTALL) -d $(RELEASE_DIR)$(LIBDIR)
$(INSTALL) $(LIB) $(RELEASE_DIR)$(LIBDIR)