Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fdd7f59

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 own copy of c.h just to change #define PORTNAME. Simplify Makefile accordingly. 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 parent 3e0321f commit fdd7f59

File tree

3 files changed

+3
-841
lines changed

3 files changed

+3
-841
lines changed

contrib/os2client/Makefile

+3-8
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.a c.h psql
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.exe c.h dllist.c pqcomprim.c
85+
rm -f libpq.a $(OBJS) $(EXEOBJS) psql.exe dllist.c pqcomprim.c
9186

0 commit comments

Comments
 (0)