~ubuntu-branches/ubuntu/saucy/mod-wsgi/saucy-updates

« back to all changes in this revision

Viewing changes to Makefile-2.X.in

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2010-03-22 20:05:19 UTC
  • mto: (3.1.7 sid) (1.4.2 upstream) (13.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20100322200519-avmnljamf88nc0xb
Import upstream version 3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#  Copyright 2007 GRAHAM DUMPLETON
2
 
3
 
#  Licensed under the Apache License, Version 2.0 (the "License");
4
 
#  you may not use this file except in compliance with the License.
5
 
#  You may obtain a copy of the License at
6
 
7
 
#      http://www.apache.org/licenses/LICENSE-2.0
8
 
9
 
#  Unless required by applicable law or agreed to in writing, software
10
 
#  distributed under the License is distributed on an "AS IS" BASIS,
11
 
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
 
#  See the License for the specific language governing permissions and
13
 
#  limitations under the License.
14
 
 
15
 
APXS = @APXS@
16
 
PYTHON = @PYTHON@
17
 
 
18
 
DESTDIR =
19
 
LIBEXECDIR = @LIBEXECDIR@
20
 
 
21
 
CPPFLAGS = @CPPFLAGS@
22
 
CFLAGS = @CFLAGS@
23
 
LDFLAGS = @LDFLAGS@
24
 
LDLIBS = @LDLIBS@
25
 
 
26
 
all : mod_wsgi.la
27
 
 
28
 
mod_wsgi.la : mod_wsgi.c
29
 
        $(APXS) -c $(CPPFLAGS) $(CFLAGS) mod_wsgi.c $(LDFLAGS) $(LDLIBS)
30
 
 
31
 
$(DESTDIR)$(LIBEXECDIR) :
32
 
        mkdir -p $@
33
 
 
34
 
install : all $(DESTDIR)$(LIBEXECDIR)
35
 
        $(APXS) -i -S LIBEXECDIR=$(DESTDIR)$(LIBEXECDIR) -n 'mod_wsgi' mod_wsgi.la
36
 
 
37
 
clean :
38
 
        -rm -rf .libs
39
 
        -rm -f mod_wsgi.o mod_wsgi.la mod_wsgi.lo mod_wsgi.slo mod_wsgi.loT
40
 
        -rm -f config.log config.status
41
 
        -rm -rf autom4te.cache
42
 
 
43
 
distclean : clean
44
 
        -rm -f Makefile Makefile.in
45
 
 
46
 
realclean : distclean
47
 
        -rm -f configure