From ecea68d27030c6b37fc29fe1bb4ec48d3e768807 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 21 Nov 2001 15:41:14 +0000 Subject: [PATCH] Tidy makefiles --- libdm/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libdm/Makefile b/libdm/Makefile index f9971824d..306e24068 100644 --- a/libdm/Makefile +++ b/libdm/Makefile @@ -12,23 +12,25 @@ SHELL = /bin/sh CC = gcc RANLIB = ranlib SHELL = /bin/sh -INSTALL = /usr/bin/install -c +INSTALL = /usr/bin/install LN_S = ln -s prefix = /usr libdir = ${prefix}/lib incdir = ${prefix}/include -kernelsrcdir = /scratch/alphalinux/linux +kernelsrcdir = /usr/src/linux OWNER=root GROUP=root -INCLUDES=-I. -I${kernelsrcdir}/include +INCLUDES=-I${kernelsrcdir}/include CFLAGS+=-Wall #CFLAGS+=-O2 CFLAGS+=-g -fno-omit-frame-pointer #CFLAGS+=-pg #LD_FLAGS=-pg +STRIP= +#STRIP=-s libdevmapper.so: libdm.o $(CC) -shared -o libdevmapper.so libdm.o @@ -40,10 +42,10 @@ SUFFIXES=.c .o .so $(CC) -c $(INCLUDES) $(CFLAGS) $< -o $@ install: libdevmapper.so - $(INSTALL) -c -o $(OWNER) -g $(GROUP) -m 555 -s libdevmapper.so \ + $(INSTALL) -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) libdevmapper.so \ $(libdir) - $(INSTALL) -D -c -o $(OWNER) -g $(GROUP) -m 444 libdevmapper.h \ - $(incdir)/devmapper/libdevmapper.h + $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 444 libdevmapper.h \ + $(incdir)/libdevmapper.h clean: $(RM) libdevmapper.so libdm.o