Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit481a743

Browse files
committed
plperl Makefile cleanup. Doesn't work on BSDI yet.
1 parent22e7c06 commit481a743

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

‎src/pl/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.2 2000/01/2022:31:22 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.3 2000/01/2023:00:39 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -21,7 +21,7 @@ ifeq ($(USE_TCL), true)
2121
$(MAKE) -C tcl $@
2222
endif
2323
ifeq ($(USE_PERL), true)
24-
if [ "$@" = "install" ]; then \
24+
-@if [ "$@" = "install" ]; then \
2525
$(MAKE) $(MFLAGS) install-plperl; \
2626
else \
2727
$(MAKE) $(MFLAGS) plperl/Makefile; \

‎src/pl/plperl/Makefile.PL

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,20 @@ endif
9393
#
9494
# Build the shared lib
9595
#
96-
plperl : plperl.lo
97-
libtool\$(CC) -o plperl.so plperl.lo\$(SHLIB_EXTRA_LIBS)\$(LDADD)\$(LDFLAGS)
96+
all: plperl
9897
99-
%.lo : %.c
100-
libtool\$(CC) -c\$(CFLAGS)\$<
98+
plperl : plperl.o
99+
\$(CC) -o plperl.so plperl.o\$(SHLIB_EXTRA_LIBS)\$(LDADD)\$(LDFLAGS)
100+
101+
%.o : %.c
102+
\$(CC) -c\$(CFLAGS)\$<
101103
102104
103105
#
104106
# Clean
105107
#
106108
clean:
107-
rm -f\$(INFILES) *.o *.lo
109+
rm -f\$(INFILES) *.o
108110
rm -rf .libs
109111
rm -f Makefile
110112

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp