~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/test/thread/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#-------------------------------------------------------------------------
 
2
#
 
3
# Makefile for tools/thread
 
4
#
 
5
# Copyright (c) 2003-2011, PostgreSQL Global Development Group
 
6
#
 
7
# src/test/thread/Makefile
 
8
#
 
9
#-------------------------------------------------------------------------
 
10
 
 
11
subdir = src/tools/thread
 
12
top_builddir = ../../..
 
13
include $(top_builddir)/src/Makefile.global
 
14
 
 
15
override CFLAGS += $(PTHREAD_CFLAGS)
 
16
 
 
17
all: thread_test
 
18
 
 
19
thread_test: thread_test.o
 
20
# no need for $LIBS, might not be compiled yet
 
21
        $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_EX) $^ $(PTHREAD_LIBS) -o $@
 
22
 
 
23
clean distclean maintainer-clean:
 
24
        rm -f thread_test$(X) thread_test.o