Use the $(LN_S) substitution for "ln -s" since configure tests for it.

This commit is contained in:
Thomas G. Lockhart 1998-10-07 06:50:37 +00:00
parent ed24461ca1
commit 7d4b59f024
4 changed files with 14 additions and 14 deletions

View File

@ -49,7 +49,7 @@ all: libecpg.a $(shlib)
$(shlib): ecpglib.sho typename.sho
$(LD) $(LDFLAGS_SL) -o $@ ecpglib.sho typename.sho
ln -sf $@ libecpg.so
$(LN_S) -f $@ libecpg.so
clean:
rm -f *.o *.sho *.a core a.out *~ $(shlib) libecpg.so
@ -61,7 +61,7 @@ install: libecpg.a $(shlib) $(install-shlib-dep)
install-shlib:
$(INSTALL) $(INSTLOPTS) $(shlib) $(LIBDIR)
ln -sf $(shlib) $(LIBDIR)/libecpg.so
$(LN_S) -f $(shlib) $(LIBDIR)/libecpg.so
uninstall::
rm -f $(LIBDIR)/libecpg.a $(LIBDIR)/$(shlib)

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.21 1998/09/10 04:59:00 momjian Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.22 1998/10/07 06:50:26 thomas Exp $
#
#-------------------------------------------------------------------------
@ -111,7 +111,7 @@ endif
$(shlib): $(OBJS)
$(LD) $(LDFLAGS_SL) -o $@ $(OBJS) $(LIBPQ)
ln -sf $@ libpgtcl.so
$(LN_S) -f $@ libpgtcl.so
.PHONY: beforeinstall-headers install-headers
.PHONY: install install-libpgtcl
@ -130,7 +130,7 @@ install-libpgtcl: libpgtcl.a
install-shlib: $(shlib)
$(INSTALL) $(INSTL_SHLIB_OPTS) $(shlib) \
$(LIBDIR)/$(shlib)
ln -sf $(shlib) $(LIBDIR)/libpgtcl.so
$(LN_S) -f $(shlib) $(LIBDIR)/libpgtcl.so
.PHONY: clean
clean:

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.2 1998/09/13 04:00:41 momjian Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.3 1998/10/07 06:50:37 thomas Exp $
#
#-------------------------------------------------------------------------
@ -145,7 +145,7 @@ install-$(LIBNAME): $(LIBNAME).a beforeinstall-lib
install-shlib: $(SHLIBNAME) beforeinstall-lib
$(INSTALL) $(INSTL_SHLIB_OPTS) $(SHLIB) $(LIBDIR)/$(SHLIB)
rm -f $(LIBDIR)/libpq++.so
ln -sf $(SHLIB) $(LIBDIR)/libpq++.so
$(LN_S) -f $(SHLIB) $(LIBDIR)/libpq++.so
doc:

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.29 1998/10/06 14:22:12 tgl Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.30 1998/10/07 06:50:33 thomas Exp $
#
#-------------------------------------------------------------------------
@ -116,19 +116,19 @@ endif
# We need to compile this with special options for shared libs,
# so we can't use the object in $(SRCDIR)/backend
dllist.c: $(SRCDIR)/backend/lib/dllist.c
-ln -s $(SRCDIR)/backend/lib/dllist.c .
-$(LN_S) $(SRCDIR)/backend/lib/dllist.c .
ifdef MULTIBYTE
# We need to compile this with special options for shared libs,
# so we can't use the object in $(SRCDIR)/backend
common.c: $(SRCDIR)/backend/utils/mb/common.c
-ln -s $(SRCDIR)/backend/utils/mb/common.c .
-$(LN_S) $(SRCDIR)/backend/utils/mb/common.c .
wchar.c: $(SRCDIR)/backend/utils/mb/wchar.c
-ln -s $(SRCDIR)/backend/utils/mb/wchar.c .
-$(LN_S) $(SRCDIR)/backend/utils/mb/wchar.c .
conv.c: $(SRCDIR)/backend/utils/mb/conv.c
-ln -s $(SRCDIR)/backend/utils/mb/conv.c .
-$(LN_S) $(SRCDIR)/backend/utils/mb/conv.c .
endif
# The following rules cause dependencies in the backend directory to
@ -141,7 +141,7 @@ $(SRCDIR)/backend/fmgr.h:
$(shlib): $(OBJS)
$(LD) $(LDFLAGS_SL) -o $@ $(OBJS)
ln -sf $@ libpq.so
$(LN_S) -f $@ libpq.so
.PHONY: beforeinstall-headers install-headers
@ -216,7 +216,7 @@ install-libpq: libpq.a
install-shlib: $(shlib)
$(INSTALL) $(INSTL_SHLIB_OPTS) $(shlib) $(LIBDIR)/$(shlib)
rm -f $(LIBDIR)/libpq.so
ln -s $(shlib) $(LIBDIR)/libpq.so
$(LN_S) $(shlib) $(LIBDIR)/libpq.so
depend dep:
$(CC) -MM $(CFLAGS) *.c >depend