mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
This commit is contained in:
@ -11,12 +11,7 @@ SRCDIR = $(PGDIR)/src
|
||||
|
||||
include $(SRCDIR)/Makefile.global
|
||||
|
||||
INCLUDE_OPT = -I./ \
|
||||
-I$(SRCDIR)/ \
|
||||
-I$(SRCDIR)/include \
|
||||
-I$(SRCDIR)/port/$(PORTNAME)
|
||||
|
||||
CFLAGS += $(INCLUDE_OPT) $(CFLAGS_SL)
|
||||
CFLAGS += -I. $(CFLAGS_SL)
|
||||
|
||||
MODNAME = array_iterator
|
||||
|
||||
@ -61,7 +56,7 @@ $(SQLDIR):
|
||||
$(CC) $(CFLAGS) -shared -o $@ $<
|
||||
|
||||
depend dep:
|
||||
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
||||
$(CC) -MM $(CFLAGS) *.c >depend
|
||||
|
||||
clean:
|
||||
rm -f *~ $(MODULE) $(MODNAME).sql
|
||||
|
Reference in New Issue
Block a user