1997-10-03 04:49:40 +00:00
|
|
|
#
|
|
|
|
# This is the top-level makefile for libcontrib, GNO v2.0.6
|
|
|
|
#
|
1997-10-30 04:57:25 +00:00
|
|
|
# $Id: Makefile,v 1.2 1997/10/30 04:57:24 gdr Exp $
|
1997-10-03 04:49:40 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
.INCLUDE: ../../paths.mk
|
|
|
|
.INCLUDE: ../const.mk
|
|
|
|
|
|
|
|
LIB = libcontrib
|
1997-10-30 04:57:25 +00:00
|
|
|
OBJS = copyfile.o expandpath.o strarray.o xalloc.o
|
1997-10-03 04:49:40 +00:00
|
|
|
HEADER = contrib.h
|
|
|
|
LIBDIR = $(RELEASE_DIR)/usr/lib
|
|
|
|
INCDIR = $(RELEASE_DIR)/usr/include/gno
|
|
|
|
|
1997-10-30 04:57:25 +00:00
|
|
|
CFLAGS += -I. -O78 -Slibcontrib
|
1997-10-03 04:49:40 +00:00
|
|
|
|
|
|
|
$(LIB): $(OBJS) $(LIB).r
|
|
|
|
$(RM) -f $@
|
|
|
|
$(MAKELIB) $(MAKELIBFLAGS) -l $@ $(OBJS)
|
|
|
|
$(CATREZ) -d $(LIB) $(LIB).r
|
|
|
|
|
|
|
|
release: $(LIB) $(HEADER)
|
|
|
|
$(INSTALL) -d $(LIBDIR) $(INCDIR)
|
|
|
|
$(INSTALL) $(LIB) $(LIBDIR)
|
|
|
|
$(INSTALL) $(HEADER) $(INCDIR)
|
|
|
|
|
|
|
|
$(OBJS):: $(HEADER)
|