e25b778ab0
It now has a homepage (www.pilot-link.org), put live master sites, cleanup
57 lines
2.2 KiB
Plaintext
57 lines
2.2 KiB
Plaintext
$OpenBSD: patch-Makefile_in,v 1.3 2002/02/18 21:37:41 pvalchev Exp $
|
|
--- Makefile.in.orig Tue Jun 19 10:25:29 2001
|
|
+++ Makefile.in Mon Feb 18 14:23:28 2002
|
|
@@ -19,7 +19,7 @@ TCLTK_LIBS = @TCLTKLIBS@
|
|
# Include directives needed to compile with Tcl & Tk, and
|
|
# -DTCL if Tcl is available, and
|
|
# -DTK if Tk is available.
|
|
-TCLTK_FLAGS = @TCLTKFLAGS@
|
|
+TCLTK_FLAGS = @TCLTKFLAGS@ -I${X11BASE}/include
|
|
|
|
# Libraries needed to link with GNU readline
|
|
RLLIBS = @RLLIBS@
|
|
@@ -115,32 +115,32 @@ libcc/libpicc.a: FORCE
|
|
$(SUBMAKE_COMM_CC) libpicc.a
|
|
|
|
installdirs:
|
|
- $(SHELL) ${srcdir}/scripts/mkinstalldirs $(bindir) $(includedir) $(libdir) $(pixdir) $(mandir1) $(mandir7)
|
|
+ $(SHELL) ${srcdir}/scripts/mkinstalldirs ${DESTDIR}/$(bindir) \
|
|
+ ${DESTDIR}/$(includedir) ${DESTDIR}/$(libdir) \
|
|
+ ${DESTDIR}/$(pixdir) ${DESTDIR}/$(mandir1) \
|
|
+ ${DESTDIR}/$(mandir7)
|
|
|
|
install: $(EXECS) installdirs $(PILIB) $(PICCLIB)
|
|
- $(INSTALL_DATA) $(PILIB) $(libdir)/libpisock.la
|
|
- if test -n "$(PICCLIB)"; then \
|
|
- $(INSTALL_DATA) $(PICCLIB) $(libdir)/libpicc.la; \
|
|
- fi
|
|
+ $(LIBTOOL) $(INSTALL_DATA) $(PILIB) ${DESTDIR}/$(libdir)/libpisock.la
|
|
+ $(LIBTOOL) $(INSTALL_DATA) $(PICCLIB) ${DESTDIR}/$(libdir)/libpicc.la
|
|
for p in $(CEXECS); do \
|
|
$(STRIP) ".libs/$$p"; \
|
|
done
|
|
for p in $(EXECS); do \
|
|
- $(INSTALL_PROGRAM) $$p $(bindir)/$$p; \
|
|
+ $(LIBTOOL) $(INSTALL_PROGRAM) $$p ${DESTDIR}/$(bindir)/$$p; \
|
|
done
|
|
for h in include/*.h $(srcdir)/include/*.h include/*.hxx $(srcdir)/include/*.hxx; do \
|
|
- $(INSTALL_DATA) $$h $(includedir)/`basename $$h`; \
|
|
+ $(INSTALL_DATA) $$h ${DESTDIR}/$(includedir)/`basename $$h`; \
|
|
done
|
|
for m in ${srcdir}/man/*.1; do \
|
|
- $(INSTALL_DATA) $$m $(mandir1)/`basename $$m`; \
|
|
+ $(INSTALL_DATA) $$m ${DESTDIR}/$(mandir1)/`basename $$m`; \
|
|
done
|
|
for m in ${srcdir}/man/*.7; do \
|
|
- $(INSTALL_DATA) $$m $(mandir7)/`basename $$m`; \
|
|
+ $(INSTALL_DATA) $$m ${DESTDIR}/$(mandir7)/`basename $$m`; \
|
|
done
|
|
for p in $(srcdir)/tools/pix/*.gif $(srcdir)/tools/pix/*.xbm; do \
|
|
- $(INSTALL_DATA) $$p $(pixdir)/`basename $$p`; \
|
|
+ $(INSTALL_DATA) $$p ${DESTDIR}/$(pixdir)/`basename $$p`; \
|
|
done
|
|
- $(LIBTOOL) -n --finish $(libdir)
|
|
|
|
uninstall:
|
|
-for p in $(EXECS) $(PERLEXECS) $(CXXEXECS) $(TCLEXECS); do \
|