1 #-------------------------------------------------------------------------
3 # Makefile for src/tools/findoidjoins
5 # Copyright (c) 2003-2009, PostgreSQL Global Development Group
9 #-------------------------------------------------------------------------
11 subdir
= src
/tools
/findoidjoins
12 top_builddir
= ..
/..
/..
13 include $(top_builddir
)/src
/Makefile.global
15 override CPPFLAGS
:= -I
$(libpq_srcdir
) $(CPPFLAGS
)
19 all: submake-libpq submake-libpgport findoidjoins
21 findoidjoins
: findoidjoins.o
$(libpq_builddir
)/libpq.a
22 $(CC
) $(CFLAGS
) findoidjoins.o
$(libpq_pgport
) $(LDFLAGS
) $(LIBS
) -o
$@
$(X
)
24 clean distclean maintainer-clean
:
25 rm -f findoidjoins
$(X
) $(OBJS
)