PageRenderTime 22ms CodeModel.GetById 17ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/Root-branch-php-utl/SWIG/Tools/WAD/Python/Makefile.in

#
Autoconf | 54 lines | 27 code | 15 blank | 12 comment | 0 complexity | d335a3d761db88678cc949015893914a MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1#######################################################################
 2# WAD Makefile
 3#
 4# David Beazley
 5# January 1, 2001
 6#######################################################################
 7
 8# These are the files that make up the WAD core
 9SRCS = type.c python.c
10OBJS = type.o python.o
11INCLUDE = -I../Include -I.  $(SINCLUDE)
12WADOPT     = @WADOPT@
13
14# Location of your Python installation
15PYINCLUDE = @PYINCLUDE@
16PYSRCS    = wadpyinit.cxx
17PYOBJS    = wadpyinit.o
18
19# C Compiler
20CC = @CC@
21CFLAGS = #@CCSHARED@
22
23# C++ Compiler
24CXX = @CXX@
25CXXFLAGS = #@CXXSHARED@
26
27# Linking options
28CLINK = 
29CXXLINK = @CXXLINK@
30
31# Rules for creation of a .o file from .cxx
32.SUFFIXES: .cxx
33.cxx.o:
34	$(CXX) $(CXXFLAGS) $(WADOPT) $(INCLUDE) -c -o $*.o $<
35
36.c.o:
37	$(CC) $(CFLAGS) $(PYINCLUDE) $(WADOPT) $(INCLUDE) -c -o $*.o $<
38
39python: $(OBJS) $(PYOBJS)
40	$(CXXLINK) $(OBJS) $(PYOBJS) -o libwadpy.so -L.. -lwadcore
41	cp libwadpy.so ..
42
43wc::
44	wc $(SRCS)
45
46semi::
47	@egrep ";" $(SRCS) $(PYSRCS) | wc
48
49clean::
50	rm -f *.o *.so *~ 
51
52
53
54