提交 fdd7f598 编写于 作者: T Tom Lane

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.
上级 3e0321f6
......@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/contrib/os2client/Attic/Makefile,v 1.1 1998/10/31 04:10:52 scrappy Exp $
# $Header: /cvsroot/pgsql/contrib/os2client/Attic/Makefile,v 1.2 2000/03/19 21:59:30 tgl Exp $
#
#-------------------------------------------------------------------------
......@@ -39,7 +39,7 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-lobj.o fe-print.o \
EXEOBJS= psql.o stringutils.o
all: libpq.a c.h psql
all: libpq.a psql
fe-auth.o: $(INTERFACES)/fe-auth.c
$(CC) $(CFLAGS) -c $(INTERFACES)/fe-auth.c
......@@ -81,11 +81,6 @@ psql.o: $(SRCDIR)/bin/psql/psql.c
stringutils.o: $(SRCDIR)/bin/psql/stringutils.c
$(CC) $(CFLAGS) -I$(INTERFACES) -c $(SRCDIR)/bin/psql/stringutils.c
c.h: $(SRCDIR)/include/c.h
rm -f c.h
$(CP) portname c.h
cat $(SRCDIR)/include/c.h >> c.h
clean:
rm -f libpq.a $(OBJS) $(EXEOBJS) psql.exe c.h dllist.c pqcomprim.c
rm -f libpq.a $(OBJS) $(EXEOBJS) psql.exe dllist.c pqcomprim.c
此差异已折叠。
#undef PORTNAME
#define PORTNAME OS2
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册