Makefile.in files replaced by single Makefile.am
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f1c896db1c
commit
6d99943262
12 changed files with 94 additions and 251 deletions
|
|
@ -1,2 +1 @@
|
|||
Makefile
|
||||
.deps
|
||||
|
|
|
|||
|
|
@ -1,52 +0,0 @@
|
|||
#######################################################################
|
||||
# $Header$
|
||||
#######################################################################
|
||||
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
# prefix is needed for swig_lib
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
release_suffix = @release_suffix@
|
||||
swig_lib = @swig_lib@
|
||||
libdir = @libdir@
|
||||
|
||||
SHELL = /bin/sh
|
||||
CXX = @CXX@
|
||||
CFLAGS = @CFLAGS@ @SWILL@
|
||||
YACC = @YACC@
|
||||
AR = @AR@
|
||||
RANLIB = @RANLIB@
|
||||
|
||||
# These C macros are passed on the compilation command line as autoconf won't expand them for
|
||||
# generation into a header file. This is because they can be set when running make.
|
||||
DEFS = -DSWIG_LIB=\"$(swig_lib)\" -DLIBDIR=\"$(libdir)\" -DRELEASE_SUFFIX=\"$(release_suffix)\"
|
||||
|
||||
TARGET = libmodules.a
|
||||
OBJS = main.@OBJEXT@ module.@OBJEXT@ emit.@OBJEXT@ overload.@OBJEXT@ lang.@OBJEXT@ typepass.@OBJEXT@ allocate.@OBJEXT@ browser.@OBJEXT@ contract.@OBJEXT@ swigmain.@OBJEXT@ tcl8.@OBJEXT@ python.@OBJEXT@ perl5.@OBJEXT@ guile.@OBJEXT@ ruby.@OBJEXT@ mzscheme.@OBJEXT@ java.@OBJEXT@ php4.@OBJEXT@ ocaml.@OBJEXT@ xml.@OBJEXT@ pike.@OBJEXT@ s-exp.@OBJEXT@
|
||||
SRCS = main.cxx module.cxx emit.cxx overload.cxx lang.cxx typepass.cxx allocate.cxx browser.cxx contract.cxx swigmain.cxx tcl8.cxx python.cxx perl5.cxx guile.cxx ruby.cxx mzscheme.cxx java.cxx php4.cxx ocaml.cxx xml.cxx pike.cxx s-exp.cxx
|
||||
|
||||
INCLUDES = -I$(srcdir)/../Include \
|
||||
-I$(srcdir)/../DOH \
|
||||
-I$(srcdir)/../Preprocessor \
|
||||
-I$(srcdir)/../Swig \
|
||||
-I../Include
|
||||
|
||||
# Rules for creation of a .@OBJEXT@ file from .cxx
|
||||
.SUFFIXES: .cxx
|
||||
.cxx.@OBJEXT@:
|
||||
$(CXX) $(DEFS) $(INCLUDES) $(CFLAGS) -c -o $*.@OBJEXT@ $<
|
||||
|
||||
|
||||
swig: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(AR) cr $(TARGET) $(OBJS)
|
||||
$(RANLIB) $(TARGET)
|
||||
|
||||
clean::
|
||||
rm -f *.@OBJEXT@ *~ $(TARGET)
|
||||
|
||||
nuke::
|
||||
rm -f Makefile *~
|
||||
Loading…
Add table
Add a link
Reference in a new issue