~ubuntu-branches/ubuntu/maverick/libpgjava/maverick

« back to all changes in this revision

Viewing changes to src/tools/thread/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2006-04-25 00:07:07 UTC
  • mfrom: (1.3.1 upstream) (3.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20060425000707-6lr2s0awuz4z48hm
* Drop support for the old jdbc2 driver (can be reverted if wanted)
  (closes: #358345).
* New upstream (thanks to Wolfgang Baer).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#-------------------------------------------------------------------------
2
 
#
3
 
# Makefile for tools/thread
4
 
#
5
 
# Copyright (C) 2003 by PostgreSQL Global Development Team
6
 
#
7
 
# $Header: /cvsroot/pgsql/src/tools/thread/Makefile,v 1.2 2003/09/27 16:24:45 momjian Exp $
8
 
#
9
 
#-------------------------------------------------------------------------
10
 
 
11
 
subdir = tools/thread
12
 
top_builddir = ../../..
13
 
include $(top_builddir)/src/Makefile.global
14
 
 
15
 
ifeq ($(THREAD_SUPPORT), no)
16
 
$(error Your platform does not support threads)
17
 
endif
18
 
ifeq ($(THREAD_SUPPORT), )
19
 
$(error You have not configured your template/$$port file.  See the README)
20
 
endif
21
 
 
22
 
override CFLAGS += $(THREAD_CPPFLAGS)
23
 
 
24
 
LDFLAGS += $(THREAD_LIBS)
25
 
 
26
 
all: thread_test
27
 
 
28
 
thread_test: thread_test.o
29
 
        $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
30
 
 
31
 
clean distclean maintainer-clean:
32
 
        rm -f thread_test$(X) thread_test.o