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

Commitfdd7f59

Browse files
committed
Since PORTNAME is no longer used at the level of C code (it's only in
Makefiles now), there's no reason for os2client to maintain its owncopy of c.h just to change #define PORTNAME. Simplify Makefileaccordingly. Get rid of horribly-out-of-date modified copy of c.h,which should never have been in the distribution to start with,since it's actually a derived file. Now it's not needed anyway.
1 parent3e0321f commitfdd7f59

File tree

3 files changed

+3
-841
lines changed

3 files changed

+3
-841
lines changed

‎contrib/os2client/Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/contrib/os2client/Attic/Makefile,v 1.1 1998/10/31 04:10:52 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/contrib/os2client/Attic/Makefile,v 1.2 2000/03/19 21:59:30 tgl Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -39,7 +39,7 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-lobj.o fe-print.o \
3939

4040
EXEOBJS= psql.o stringutils.o
4141

42-
all: libpq.ac.hpsql
42+
all: libpq.a psql
4343

4444
fe-auth.o:$(INTERFACES)/fe-auth.c
4545
$(CC)$(CFLAGS) -c$(INTERFACES)/fe-auth.c
@@ -81,11 +81,6 @@ psql.o: $(SRCDIR)/bin/psql/psql.c
8181
stringutils.o:$(SRCDIR)/bin/psql/stringutils.c
8282
$(CC)$(CFLAGS) -I$(INTERFACES) -c$(SRCDIR)/bin/psql/stringutils.c
8383

84-
c.h:$(SRCDIR)/include/c.h
85-
rm -f c.h
86-
$(CP) portname c.h
87-
cat$(SRCDIR)/include/c.h>> c.h
88-
8984
clean:
90-
rm -f libpq.a$(OBJS)$(EXEOBJS) psql.exec.hdllist.c pqcomprim.c
85+
rm -f libpq.a$(OBJS)$(EXEOBJS) psql.exe dllist.c pqcomprim.c
9186

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp