~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/backend/storage/lmgr/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#-------------------------------------------------------------------------
 
2
#
 
3
# Makefile--
 
4
#    Makefile for storage/lmgr
 
5
#
 
6
# IDENTIFICATION
 
7
#    $PostgreSQL$
 
8
#
 
9
#-------------------------------------------------------------------------
 
10
 
 
11
subdir = src/backend/storage/lmgr
 
12
top_builddir = ../../../..
 
13
include $(top_builddir)/src/Makefile.global
 
14
 
 
15
OBJS = lmgr.o lock.o proc.o deadlock.o lwlock.o spin.o s_lock.o
 
16
 
 
17
include $(top_srcdir)/src/backend/common.mk
 
18
 
 
19
ifdef TAS
 
20
TASPATH = $(top_builddir)/src/backend/port/tas.o
 
21
endif
 
22
 
 
23
s_lock_test: s_lock.c $(top_builddir)/src/port/libpgport.a
 
24
        $(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 $(srcdir)/s_lock.c \
 
25
                $(TASPATH) -L $(top_builddir)/src/port -lpgport -o s_lock_test
 
26
 
 
27
check: s_lock_test
 
28
        ./s_lock_test
 
29
 
 
30
clean distclean maintainer-clean: 
 
31
        rm -f s_lock_test