23 lines
756 B
Plaintext
23 lines
756 B
Plaintext
$NetBSD: patch-ad,v 1.6 2008/03/15 20:29:35 joerg Exp $
|
|
|
|
--- Makefile.prog.in.orig 1998-10-12 03:36:20.000000000 +0200
|
|
+++ Makefile.prog.in
|
|
@@ -13,13 +13,13 @@ Makefile.lt:
|
|
|
|
all: $(PROG)
|
|
|
|
-$(PROG): $(OBJS) $(COBJS) $(LT_LIBS)
|
|
+$(PROG): $(OBJS) $(COBJS)
|
|
$(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_LIBS)
|
|
|
|
install: $(PROG)
|
|
- -test -d $(bindir) || (mkdir $(bindir); chmod 755 $(bindir))
|
|
- -rm -f $(bindir)/$(PROG)
|
|
- $(LIBTOOL) --mode=install $(INSTALL) $(PROG) $(bindir)
|
|
+ -test -d ${DESTDIR}$(bindir) || (mkdir ${DESTDIR}$(bindir); chmod 755 ${DESTDIR}$(bindir))
|
|
+ -rm -f ${DESTDIR}$(bindir)/$(PROG)
|
|
+ $(LIBTOOL) --mode=install $(INSTALL) $(PROG) ${DESTDIR}$(bindir)
|
|
|
|
depend: depend_src
|
|
depend.temp: $(GENSRCS)
|