]> granicus.if.org Git - postgresql/blobdiff - src/backend/utils/error/Makefile
Message style improvements
[postgresql] / src / backend / utils / error / Makefile
index 5c3f74c00619b74a514b22358d711e32b338aa02..973ea87553454b8a39f85f0904cb935b15060ef4 100644 (file)
@@ -4,30 +4,23 @@
 #    Makefile for utils/error
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/utils/error/Makefile,v 1.3 1997/12/19 02:08:09 scrappy 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../.. 
-
-ifdef PORTNAME
-INCLUDE+=-I../../port/$(PORTNAME)    
-endif
-
-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)
@@ -35,4 +28,3 @@ clean:
 ifeq (depend,$(wildcard depend))
 include depend
 endif
-