/[pgmemcache]/trunk/pmkfile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/pmkfile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations)
Thu Jul 20 09:57:48 2006 UTC (17 years, 8 months ago) by dpavlin
File size: 1134 byte(s)
make working branch
1 # Copyright (c) 2004 Sean Chittenden <sean@chittenden.org>
2 #
3 # Licensed under the MIT license (see ./COPYING for details)
4 #
5 # $PostgreSQL: pgmemcache/pmkfile,v 1.3 2005/01/26 05:37:34 seanc Exp $
6
7 SETTINGS {
8 LANG="C"
9 TARGET=("Makefile.pmk")
10 DETECT = ("CC")
11 }
12
13 SWITCHES {
14 debug = FALSE
15 }
16
17 IF(!debug) {
18 DEFINE {
19 CFLAGS = "-std=c99 -pipe -O3"
20 }
21 }
22
23 IF(debug) {
24 DEFINE {
25 CFLAGS = "-std=c99 -g -Wall -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wformat -Wpacked -Wdeprecated-declarations -Wredundant-decls -Wnested-externs -Winline -Wdisabled-optimization -pipe -pedantic"
26 }
27 }
28
29 CHECK_HEADER(include_close) {
30 REQUIRED=TRUE
31 FUNCTION="close"
32 NAME="unistd.h"
33 }
34
35 CHECK_BINARY(pg_config) {
36 REQUIRED = TRUE
37 NAME = "pg_config"
38 VARIABLE = "BIN_PG_CONFIG"
39 }
40
41 CHECK_BINARY(pmk_config) {
42 REQUIRED = TRUE
43 NAME = "pmk"
44 VARIABLE = "BIN_PMK"
45 }
46
47
48 BUILD_SHLIB_NAME {
49 NAME = "pgmemcache"
50 MAJOR = "0"
51 MINOR = "0"
52 VERSION_NONE = "LIBNAME"
53 VERSION_FULL = "LIBNAMEV"
54 }

  ViewVC Help
Powered by ViewVC 1.1.26