From b5572be323cb4d03b21dfcd4a88baba67069cf19 Mon Sep 17 00:00:00 2001 From: ewt Date: Thu, 18 Sep 1997 16:39:46 +0000 Subject: [PATCH] 1) use Makefile.inc if it's present 2) added install rule CVS patchset: 1832 CVS date: 1997/09/18 16:39:46 --- popt/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/popt/Makefile b/popt/Makefile index cb61c22..71c720c 100644 --- a/popt/Makefile +++ b/popt/Makefile @@ -4,9 +4,12 @@ DEFCFLAGS=-O2 SOURCES =$(subst .o,.c,$(LIBOBJECTS)) LIBPOPT = libpopt.a -INSTALL= @INSTALL@ -INSTALL_PROGRAM= @INSTALL_PROGRAM@ -INSTALL_DATA= @INSTALL_DATA@ +LIBS=/usr/lib +INCLUDE=/usr/include + +ifeq (../Makefile.inc,$(wildcard ../Makefile.inc)) +include ../Makefile.inc +endif # ----------------------------------------------------------------------- @@ -38,6 +41,10 @@ squeaky: clean depend: $(CPP) $(CFLAGS) -M $(SOURCES) > .depend +install: + install -m 644 popt.h $(INCLUDE)/popt.h + install -m 644 $(LIBPOPT) $(LIBS)/$(LIBPOPT) + ifeq (.depend,$(wildcard .depend)) include .depend endif -- 2.7.4