*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@1051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
37ebf34d1f
commit
f7510dfd3d
2 changed files with 0 additions and 121 deletions
|
|
@ -1,47 +0,0 @@
|
|||
# Generated automatically from Makefile.in by configure.
|
||||
# Generated automatically from Makefile.in by configure.
|
||||
|
||||
SHELL = /bin/sh
|
||||
prefix = /usr/local
|
||||
execprefix= ${prefix}
|
||||
LIB = $(execprefix)/lib
|
||||
|
||||
# Location of your Python installation
|
||||
PYINCLUDE = -I/usr/local/include/python2.0
|
||||
|
||||
# Location of your Tcl installation
|
||||
TCLINCLUDE = -I/usr/local/include
|
||||
|
||||
# Location of your Perl installation
|
||||
PERLINCLUDE = -I/usr/perl5/5.00503/sun4-solaris/CORE
|
||||
|
||||
all: wad python tcl #perl
|
||||
|
||||
wad:
|
||||
@cd Wad; $(MAKE) wad
|
||||
|
||||
python:
|
||||
@cd Python; $(MAKE) SINCLUDE='$(PYINCLUDE)' python
|
||||
|
||||
tcl:
|
||||
@cd Tcl; $(MAKE) SINCLUDE='$(TCLINCLUDE)' tcl
|
||||
|
||||
perl:
|
||||
@cd Wad; $(MAKE) SINCLUDE='$(PERLINCLUDE)' perl
|
||||
|
||||
install:
|
||||
cp libwad*.so $(LIB)
|
||||
chmod a+rx $(LIB)/libwad*.so
|
||||
|
||||
semi:
|
||||
@cd Wad; $(MAKE) semi
|
||||
@cd Python; $(MAKE) semi
|
||||
@cd Tcl; $(MAKE) semi
|
||||
|
||||
clean:
|
||||
@cd Wad; $(MAKE) clean
|
||||
@cd Python; $(MAKE) clean
|
||||
@cd Tcl; $(MAKE) clean
|
||||
@cd Test; $(MAKE) clean
|
||||
rm *.so
|
||||
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
# Generated automatically from Makefile.in by configure.
|
||||
#######################################################################
|
||||
# WAD Makefile
|
||||
#
|
||||
# David Beazley
|
||||
# January 1, 2001
|
||||
#######################################################################
|
||||
|
||||
# These are the files that make up the WAD core
|
||||
WADSRCS = string.c vars.c io.c memory.c return.c default.c stack.c stab.c elf.c object.c init.c segment.c signal.c
|
||||
WADOBJS = string.o vars.o io.o memory.o return.o default.o stack.o stab.o elf.o object.o signal.o segment.o init.o
|
||||
INCLUDE = -I../Include -I. $(SINCLUDE)
|
||||
WADOPT = -DWAD_LINUX
|
||||
|
||||
|
||||
# Location of your Perl installation
|
||||
PERLINCLUDE = -I/usr/lib/perl5/5.00503/i386-linux/CORE
|
||||
PERLSRCS = wadpl.cxx
|
||||
PERLOBJS = wadpl.o
|
||||
|
||||
# C Compiler
|
||||
CC = gcc
|
||||
CFLAGS = #-fpic
|
||||
|
||||
# C++ Compiler
|
||||
CXX = c++
|
||||
CXXFLAGS = #-fpic
|
||||
|
||||
# Linking options
|
||||
CLINK =
|
||||
CXXLINK = g++ -shared
|
||||
|
||||
# AR
|
||||
AR = ar
|
||||
|
||||
# Rules for creation of a .o file from .cxx
|
||||
.SUFFIXES: .cxx
|
||||
.cxx.o:
|
||||
$(CXX) $(CXXFLAGS) $(WADOPT) $(INCLUDE) -c -o $*.o $<
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) $(WADOPT) $(INCLUDE) -c -o $*.o $<
|
||||
|
||||
wad: $(WADOBJS) main.o
|
||||
$(CXXLINK) $(WADOBJS) main.o -o libwad.so
|
||||
$(AR) cr libwadcore.a $(WADOBJS)
|
||||
cp libwad.so ..
|
||||
cp libwadcore.a ..
|
||||
|
||||
perl: wad_perl_handler.c $(WADOBJS) $(PERLOBJS)
|
||||
$(CXXLINK) $(WADOBJS) $(PERLOBJS) -o libwadpl.so
|
||||
cp libwadpl.so ..
|
||||
|
||||
wad_perl_handler.c:
|
||||
python makehandler.py
|
||||
|
||||
debug::
|
||||
cc -g debug.c $(INCLUDE) -L. -R. -lwad
|
||||
|
||||
plus::
|
||||
CC -g debug.cxx $(INCLUDE) -L. -R. -lwad
|
||||
|
||||
wc::
|
||||
wc $(SRCS)
|
||||
|
||||
semi::
|
||||
@egrep ";" $(WADSRCS) plat/*.c | wc
|
||||
|
||||
clean::
|
||||
rm -f *.o *.so *~
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue