OSDN Git Service

Remove linux define of __USE_POSIX, which doesn't appear to do anything.
authorBryan Henderson <bryanh@giraffe.netgate.net>
Mon, 18 Nov 1996 02:26:57 +0000 (02:26 +0000)
committerBryan Henderson <bryanh@giraffe.netgate.net>
Mon, 18 Nov 1996 02:26:57 +0000 (02:26 +0000)
src/backend/tcop/Makefile
src/backend/tcop/postgres.c

index 719eaa2..47bdd96 100644 (file)
@@ -4,7 +4,7 @@
 #    Makefile for tcop
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.7 1996/11/14 07:33:34 bryanh Exp $
+#    $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.8 1996/11/18 02:26:55 bryanh Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -31,12 +31,23 @@ all: SUBSYS.o
 SUBSYS.o: $(OBJS)
        $(LD) -r -o SUBSYS.o $(OBJS)
 
-utility.o: ../parse.h
+# The following dependencies are picked up by the make dep, but since 
+# not everyone can do make dep, and these are particularly important
+# dependencies (because they don't even exist until you make them),
+# they are hardcoded here.
+
+utility.o: ../parse.h ../fmgr.h
+aclchk.o: ../fmgr.h
+fastpath.o: ../fmgr.h
+postgres.o: ../fmgr.h
 
 ../parse.h: 
        $(MAKE) -C .. parse.h
 
-dep: ../parse.h
+../fmgr.h: 
+       $(MAKE) -C .. fmgr.h
+
+dep: ../parse.h ../fmgr.h
        $(CC) -MM $(INCLUDE_OPT) *.c >depend
 
 clean: 
index b4970e2..fa06c53 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.20 1996/11/16 09:03:44 bryanh Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.21 1996/11/18 02:26:57 bryanh Exp $
  *
  * NOTES
  *    this is the "main" module of the postgres backend and
  */
 #include "libpq/pqsignal.h"     /* substitute for <signal.h> */
 
-#if defined(linux)
-#ifndef __USE_POSIX
-#define __USE_POSIX
-#endif
-#endif /* defined(linux) */
-
 #include <unistd.h>
 #include <stdio.h>
 #include <string.h>
@@ -1268,7 +1262,7 @@ PostgresMain(int argc, char *argv[])
      */
     if (IsUnderPostmaster == false) {
         puts("\nPOSTGRES backend interactive interface");
-        puts("$Revision: 1.20 $ $Date: 1996/11/16 09:03:44 $");
+        puts("$Revision: 1.21 $ $Date: 1996/11/18 02:26:57 $");
     }
     
     /* ----------------