[Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C Makefile.in,NONE,1.1 configure.ac,NONE,1.1
Stefan Seefeld stefan at frida.spi-inc.orgWed Sep 17 19:55:03 UTC 2003
- Previous message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/dist __init__.py,NONE,1.1
- Next message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C++ Makefile.in,NONE,1.1 configure.ac,NONE,1.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvs/synopsis/Synopsis/Synopsis/Parser/C In directory frida:/tmp/cvs-serv11210/Synopsis/Parser/C Added Files: Makefile.in configure.ac Log Message: work on a distutils based build system. --- NEW FILE: Makefile.in --- # $Id: Makefile.in,v 1.1 2003/09/18 02:54:14 stefan Exp $ # # This source file is a part of the Synopsis Project. # Copyright (C) 2003 Stefan Seefeld <stefan at fresco.org> # http://synopsis.fresco.org # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, # MA 02139, USA. SHELL := /bin/sh srcdir := @srcdir@ PYTHON := @PYTHON PYTHON_CPPFLAGS := -I @PYTHON_INCLUDE@ MAKEDEP := @CXX@ -M CXX := @CXX@ CPPFLAGS:= @CPPFLAGS@ $(PYTHON_CPPFLAGS) LIBS := $(CTOOL_LIBS) $(LIBS) SRC := Translator.cc ctool.cc OBJ := $(patsubst %.cc, %.o, $(SRC)) DEP := $(patsubst %.cc, %.d, $(SRC)) MODULE := ctool.$(LIBRARY_EXT) vpath %.cc $(srcdir) all: $(MODULE) $(MODULE): $(OBJ) $(CXX) -shared $(CXXFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) %.o : %.cc $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $< %.d : %.cc $(SHELL) -ec '$(MAKEDEP) $(CPPFLAGS) $< \ | sed "s/$*\\.o[ :]*/$*\\.d $*\\.o : /g" > $@' ifeq (,$(filter $(MAKECMDGOALS), depend doc clean distclean maintainer-clean)) -include $(DEP) endif --- NEW FILE: configure.ac --- dnl $Id: configure.ac,v 1.1 2003/09/18 02:54:14 stefan Exp $ dnl dnl This source file is a part of the Synopsis Project. dnl Copyright (C) 2003 Stefan Seefeld <stefan at fresco.org> dnl http://synopsis.fresco.org dnl dnl This library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Library General Public dnl License as published by the Free Software Foundation; either dnl version 2 of the License, or (at your option) any later version. dnl dnl This library is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl Library General Public License for more details. dnl dnl You should have received a copy of the GNU Library General Public dnl License along with this library; if not, write to the dnl Free Software Foundation, Inc., 675 Mass Ave, Cambridge, dnl MA 02139, USA. dnl dnl Process this file with autoconf to produce a configure script. dnl ------------------------------------------------------------------ dnl Autoconf initialization dnl ------------------------------------------------------------------ AC_PREREQ(2.56) AC_REVISION($Revision: 1.1 $) AC_INIT(occ, 1.0, synopsis-devel at fresco.org) AC_ARG_WITH(python, [ --with-python=PATH specify the Python interpreter], PYTHON="$with_python", PYTHON="" ) AC_PROG_CPP AC_PROG_CC AC_PROG_CXX if test -n "$PYTHON" -a "$PYTHON" != yes; then AC_CHECK_FILE($PYTHON,,AC_MSG_ERROR([Cannot find Python interpreter])) else AC_PATH_PROG(PYTHON, python2 python, python) fi PYTHON_INCLUDE=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_inc()"` AC_SUBST(PYTHON) AC_SUBST(PYTHON_INCLUDE) AC_CONFIG_FILES([Makefile]) AC_OUTPUT
- Previous message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/dist __init__.py,NONE,1.1
- Next message: [Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C++ Makefile.in,NONE,1.1 configure.ac,NONE,1.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Synopsis-changes mailing list