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

Commit9093238

Browse files
committed
Fix up paths to $(SRCDIR)
1 parentf63f568 commit9093238

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

‎src/interfaces/libpq/Makefile

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.36 1997/07/29 14:08:34 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.37 1997/08/17 00:33:28 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

14-
SRCDIR= ..
15-
include../Makefile.global
14+
SRCDIR= ../..
15+
include$(SRCDIR)/Makefile.global
1616

1717
# We need the backend directory here for its fmgr.h
18-
INCLUDE_OPT= -I../include -I../backend
18+
INCLUDE_OPT= -I$(SRCDIR)/include -I$(SRCDIR)/backend
1919

2020
CFLAGS+=$(INCLUDE_OPT)
2121

@@ -60,32 +60,32 @@ else
6060
endif
6161
$(RANLIB) libpq.a
6262

63-
fe-lobj.o:../backend/fmgr.h
63+
fe-lobj.o:$(SRCDIR)/backend/fmgr.h
6464

6565
# We need to compile this with special options for shared libs,
66-
# so we can't use the object in../backend
67-
dllist.c:../backend/lib/dllist.c
68-
-ln -s../backend/lib/dllist.c.
66+
# so we can't use the object in$(SRCDIR)/backend
67+
dllist.c:$(SRCDIR)/backend/lib/dllist.c
68+
-ln -s$(SRCDIR)/backend/lib/dllist.c.
6969

70-
pqcomprim.c:../backend/libpq/pqcomprim.c
71-
-ln -s../backend/libpq/pqcomprim.c.
70+
pqcomprim.c:$(SRCDIR)/backend/libpq/pqcomprim.c
71+
-ln -s$(SRCDIR)/backend/libpq/pqcomprim.c.
7272

7373
# The following rules cause dependencies in the backend directory to
7474
# get made if they don't exist, but don't cause them to get remade if they
7575
# are out of date.
76-
../backend/fmgr.h:
77-
$(MAKE) -C../backend fmgr.h
76+
$(SRCDIR)/backend/fmgr.h:
77+
$(MAKE) -C$(SRCDIR)/backend fmgr.h
7878

7979
$(shlib):$(OBJS)
8080
$(LD)$(LDFLAGS_SL) -o$@$(OBJS)
8181
ln -sf$@ libpq.so
8282

8383

84-
c.h:../include/c.h
84+
c.h:$(SRCDIR)/include/c.h
8585
rm -f c.h
8686
echo"#undef PORTNAME"> c.h
8787
echo"#define PORTNAME$(PORTNAME)">> c.h
88-
cat../include/c.h>> c.h
88+
cat$(SRCDIR)/include/c.h>> c.h
8989

9090
.PHONY: beforeinstall-headers install-headers
9191
.PHONY: install install-libpq install-shlib-dep
@@ -96,35 +96,35 @@ install: install-headers install-libpq $(install-shlib-dep)
9696
# so should be installed by someone else.
9797
#
9898
install-headers: beforeinstall-headers c.h\
99-
../include/postgres.h../include/postgres_ext.h \
100-
../include/config.h../include/libpq/pqcomm.h \
101-
../include/libpq/libpq-fs.h../include/lib/dllist.h \
102-
../include/utils/geo_decls.h libpq-fe.h
103-
$(INSTALL) $(INSTLOPTS)../include/os.h \
99+
$(SRCDIR)/include/postgres.h$(SRCDIR)/include/postgres_ext.h \
100+
$(SRCDIR)/include/config.h$(SRCDIR)/include/libpq/pqcomm.h \
101+
$(SRCDIR)/include/libpq/libpq-fs.h$(SRCDIR)/include/lib/dllist.h \
102+
$(SRCDIR)/include/utils/geo_decls.h libpq-fe.h
103+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/os.h \
104104
$(HEADERDIR)/os.h
105-
$(INSTALL) $(INSTLOPTS)../include/config.h \
105+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/config.h \
106106
$(HEADERDIR)/config.h
107-
$(INSTALL) $(INSTLOPTS)../include/postgres.h \
107+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/postgres.h \
108108
$(HEADERDIR)/postgres.h
109-
$(INSTALL) $(INSTLOPTS)../include/postgres_ext.h \
109+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/postgres_ext.h \
110110
$(HEADERDIR)/postgres_ext.h
111-
$(INSTALL) $(INSTLOPTS)../include/libpq/pqcomm.h \
111+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/libpq/pqcomm.h \
112112
$(HEADERDIR)/libpq/pqcomm.h
113-
$(INSTALL) $(INSTLOPTS)../include/libpq/libpq-fs.h \
113+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/libpq/libpq-fs.h \
114114
$(HEADERDIR)/libpq/libpq-fs.h
115-
$(INSTALL) $(INSTLOPTS)../include/lib/dllist.h \
115+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/lib/dllist.h \
116116
$(HEADERDIR)/lib/dllist.h
117-
$(INSTALL) $(INSTLOPTS)../include/utils/geo_decls.h \
117+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/utils/geo_decls.h \
118118
$(HEADERDIR)/utils/geo_decls.h
119-
$(INSTALL) $(INSTLOPTS)../include/utils/elog.h \
119+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/utils/elog.h \
120120
$(HEADERDIR)/utils/elog.h
121-
$(INSTALL) $(INSTLOPTS)../include/utils/palloc.h \
121+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/utils/palloc.h \
122122
$(HEADERDIR)/utils/palloc.h
123-
$(INSTALL) $(INSTLOPTS)../include/access/attnum.h \
123+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/include/access/attnum.h \
124124
$(HEADERDIR)/access/attnum.h
125125
$(INSTALL) $(INSTLOPTS) libpq-fe.h $(HEADERDIR)/libpq-fe.h
126126
ifeq ($(PORTNAME), hpux)
127-
$(INSTALL) $(INSTLOPTS)../backend/port/hpux/fixade.h \
127+
$(INSTALL) $(INSTLOPTS)$(SRCDIR)/backend/port/hpux/fixade.h \
128128
$(HEADERDIR)/port/hpux/fixade.h
129129
endif
130130
$(INSTALL) $(INSTLOPTS) c.h $(HEADERDIR)/c.h

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp