Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1276667e18
commit
e4444a5c78
10 changed files with 123 additions and 129 deletions
|
|
@ -1,8 +1,9 @@
|
|||
|
||||
SRCS = default.c stack.c stab.c elf.c object.c init.c segment.c signal.c
|
||||
OBJS = default.o stack.o stab.o elf.o object.o signal.o segment.o init.o main.o
|
||||
SRCS = demangle.c return.c default.c stack.c stab.c elf.c object.c init.c segment.c signal.c
|
||||
OBJS = demangle.o return.o default.o stack.o stab.o elf.o object.o signal.o segment.o init.o main.o
|
||||
INCLUDE = -I../Include -I.
|
||||
OPT = -DWAD_SOLARIS
|
||||
LIBS =
|
||||
|
||||
PYINCLUDE = -I/usr/local/include/python2.0
|
||||
TCLINCLUDE = -I/usr/local/include
|
||||
|
|
@ -10,19 +11,19 @@ TCLINCLUDE = -I/usr/local/include
|
|||
all::
|
||||
CC -Kpic -c $(OPT) $(INCLUDE) main.cxx
|
||||
cc -c $(OPT) $(INCLUDE) $(SRCS)
|
||||
CC -G $(OBJS) -o libwad.so
|
||||
CC -G $(OBJS) -o libwad.so $(LIBS)
|
||||
cp libwad.so ..
|
||||
|
||||
python::
|
||||
cc -c $(INCLUDE) $(SRCS)
|
||||
cc -c $(OPT) $(INCLUDE) $(SRCS)
|
||||
CC -Kpic -c $(INCLUDE) $(PYINCLUDE) wadpy.cxx
|
||||
CC -G $(OBJS) wadpy.o -o libwadpy.so
|
||||
CC -G $(OBJS) wadpy.o -o libwadpy.so $(LIBS)
|
||||
cp libwadpy.so ..
|
||||
|
||||
tcl::
|
||||
cc -c $(INCLUDE) $(SRCS)
|
||||
cc -c $(OPT) $(INCLUDE) $(SRCS)
|
||||
CC -Kpic -c $(INCLUDE) $(TCLINCLUDE) wadtcl.cxx
|
||||
CC -G $(OBJS) wadtcl.o -o wad.so
|
||||
CC -G $(OBJS) wadtcl.o -o wad.so $(LIBS)
|
||||
cp wad.so libwadtcl.so
|
||||
cp libwadtcl.so ..
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue