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

Annotation of /upstream/1.0/Makefile.pmk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Thu Jul 20 09:57:30 2006 UTC (17 years, 8 months ago) by dpavlin
File size: 1959 byte(s)
import upstream version 1.0
1 dpavlin 2 # Copyright (c) 2004 Sean Chittenden <sean@chittenden.org>
2     #
3     # Permission is hereby granted, free of charge, to any person
4     # obtaining a copy of this software and associated documentation files
5     # (the "Software"), to deal in the Software without restriction,
6     # including without limitation the rights to use, copy, modify, merge,
7     # publish, distribute, sublicense, and/or sell copies of the Software,
8     # and to permit persons to whom the Software is furnished to do so,
9     # subject to the following conditions:
10     #
11     # The above copyright notice and this permission notice shall be
12     # included in all copies or substantial portions of the Software.
13     #
14     # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15     # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16     # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17     # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
18     # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19     # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20     # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21     # SOFTWARE.
22     #
23     # $PostgreSQL: pgmemcache/Makefile.pmk,v 1.4 2004/12/21 06:07:53 seanc Exp $
24    
25     PG_CONFIG= @BIN_PG_CONFIG@
26     PMK= @BIN_PMK@
27     PREFIX= @PREFIX@
28     RELEASENAME= $(MODULE_big)-1.0
29    
30     MODULE_big= pgmemcache
31    
32     SRCS += pgmemcache.c
33     OBJS = $(SRCS:.c=.o)
34     DOCS = README.$(MODULE_big)
35     DATA_built = $(MODULE_big).sql
36     LIBMEMCACHEPREFIX ?= @PREFIX@
37    
38     EXTRA_CLEAN = Makefile pmk.log *.bak *~
39    
40     PG_CPPFLAGS = -I$(LIBMEMCACHEPREFIX)/include -I$(srcdir)
41     SHLIB_LINK = -L$(LIBMEMCACHEPREFIX)/lib -lmemcache
42    
43     PGXS = $(shell $(PG_CONFIG) --pgxs)
44     include $(PGXS)
45    
46     Makefile: Makefile.pmk
47     $(PMK)
48    
49     release:
50     rm -rf $(RELEASENAME)
51     cvs2cl.pl
52     cvs export -d $(RELEASENAME) -r HEAD pgmemcache
53     rm -f $(RELEASENAME)/.cvsignore
54     mv -f ChangeLog $(RELEASENAME)
55     sudo chown -R 1000:1000 $(RELEASENAME)
56     tar -cvpf $(RELEASENAME).tar $(RELEASENAME)
57     bzip2 -9f $(RELEASENAME).tar

  ViewVC Help
Powered by ViewVC 1.1.26