rhdb-utils/pg_filedump-make.patch
2005-02-10 22:09:15 +00:00

27 lines
750 B
Diff

diff -Naur pg_filedump.orig/Makefile pg_filedump/Makefile
--- pg_filedump.orig/Makefile 2005-02-10 16:38:16.000000000 -0500
+++ pg_filedump/Makefile 2005-02-10 16:46:18.569735149 -0500
@@ -5,12 +5,6 @@
INCLUDE=/usr/include/pgsql/server
-# PGSQL MUST POINT TO pgsql SOURCE DIRECTORY
-PGSQL=../../../../postgres/pgsql
-
-CRC_SRC=${PGSQL}/src/backend/utils/hash
-CRC_INCLUDE=${PGSQL}/src
-
all: pg_filedump
pg_filedump: pg_filedump.o pg_crc.o
@@ -19,8 +13,8 @@
pg_filedump.o: pg_filedump.c
${CC} ${CFLAGS} -I${INCLUDE} pg_filedump.c -c
-pg_crc.o: ${CRC_SRC}/pg_crc.c
- ${CC} ${CFLAGS} -I${CRC_INCLUDE} -I${INCLUDE} ${CRC_SRC}/pg_crc.c -c
+pg_crc.o: pg_crc.c
+ ${CC} ${CFLAGS} -I${INCLUDE} pg_crc.c -c
clean:
rm -rf *.o pg_filedump