]> granicus.if.org Git - postgresql/blobdiff - src/backend/utils/error/Makefile
Message style improvements
[postgresql] / src / backend / utils / error / Makefile
index 84c8c2216d66b778d86a837e8d1860e6deda5d81..973ea87553454b8a39f85f0904cb935b15060ef4 100644 (file)
@@ -4,28 +4,23 @@
 #    Makefile for utils/error
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/utils/error/Makefile,v 1.2 1996/11/09 06:23:02 momjian Exp $
+#    $PostgreSQL: pgsql/src/backend/utils/error/Makefile,v 1.11 2003/11/29 19:52:01 pgsql Exp $
 #
 #-------------------------------------------------------------------------
 
-SRCDIR = ../../..
-include ../../../Makefile.global
+subdir = src/backend/utils/error
+top_builddir = ../../../..
+include $(top_builddir)/src/Makefile.global
 
-INCLUDE_OPT = -I../.. \
-              -I../../port/$(PORTNAME) \
-              -I../../../include
-
-CFLAGS+=$(INCLUDE_OPT)
-
-OBJS = assert.o elog.o exc.o excabort.o excid.o format.o
+OBJS = assert.o elog.o
 
 all: SUBSYS.o
 
 SUBSYS.o: $(OBJS)
-       $(LD) -r -o SUBSYS.o $(OBJS)
+       $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
 
 depend dep:
-       $(CC) -MM $(INCLUDE_OPT) *.c >depend
+       $(CC) -MM $(CFLAGS) *.c >depend
 
 clean: 
        rm -f SUBSYS.o $(OBJS)
@@ -33,4 +28,3 @@ clean:
 ifeq (depend,$(wildcard depend))
 include depend
 endif
-