From 61eb1f7add31ead8a32b6e816a5962aa5df397a6 Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Thu, 25 Sep 2008 22:29:17 +0200 Subject: [PATCH] Removed Makefiles. The Makefiles were very far from up to date. Removing them to avoid confusion. --- config | 18 ----------------- examples/any_converter/makefile | 10 --------- examples/cln/makefile | 10 --------- examples/filesystem/makefile | 10 --------- examples/glut/makefile | 16 --------------- examples/intrusive_ptr/makefile | 10 --------- examples/makefile | 8 -------- examples/regexp/makefile | 10 --------- makefile | 8 -------- src/makefile | 44 ---------------------------------------- test/makefile | 45 ----------------------------------------- 11 files changed, 189 deletions(-) delete mode 100644 config delete mode 100644 examples/any_converter/makefile delete mode 100644 examples/cln/makefile delete mode 100755 examples/filesystem/makefile delete mode 100644 examples/glut/makefile delete mode 100644 examples/intrusive_ptr/makefile delete mode 100755 examples/makefile delete mode 100644 examples/regexp/makefile delete mode 100755 makefile delete mode 100755 src/makefile delete mode 100644 test/makefile diff --git a/config b/config deleted file mode 100644 index 0c5987c..0000000 --- a/config +++ /dev/null @@ -1,18 +0,0 @@ -# the library's configuration is -# controlled through the CONFIG variable - -#CONFIG = \ -# -DLUABIND_DONT_COPY_STRINGS \ -# -DLUABIND_NO_EXCEPTIONS \ -# -DLUABIND_NO_ERROR_CHECKING \ -# -DNDEBUG \ -# -DLUA_API=__declspec(dllimport) - -# you have to set the environment variables -# BOOST_ROOT to the path to your boost -# installation. -# and LUA_PATH to the path to your lua -# installation (prebuilt) - -CXX = g++ - diff --git a/examples/any_converter/makefile b/examples/any_converter/makefile deleted file mode 100644 index 724a043..0000000 --- a/examples/any_converter/makefile +++ /dev/null @@ -1,10 +0,0 @@ -include ../../config - -all: any_converter - -any_converter: any_converter.cpp - $(CXX) any_converter.cpp -O3 -o any_converter -I$(LUA_PATH)/include -I- -I$(BOOST_ROOT) -I../../ -L../../lib -L$(LUA_PATH)/lib -lluabind -llua -llualib - -clean: - rm -f any_converter.o - diff --git a/examples/cln/makefile b/examples/cln/makefile deleted file mode 100644 index a9bbc23..0000000 --- a/examples/cln/makefile +++ /dev/null @@ -1,10 +0,0 @@ -include ../../config - -all: cln_test - -cln_test: cln_test.cpp - $(CXX) cln_test.cpp -o cln_test -I$(LUA_PATH)/include -I- -I$(BOOST_ROOT) -I../../ -L$(LUA_PATH)/lib -L../../lib -lluabind -llua -llualib -lcln - -clean: - rm -f cln_test.o - diff --git a/examples/filesystem/makefile b/examples/filesystem/makefile deleted file mode 100755 index ff4d42d..0000000 --- a/examples/filesystem/makefile +++ /dev/null @@ -1,10 +0,0 @@ -include ../../config - -all: filesystem - -filesystem: filesystem.cpp - $(CXX) filesystem.cpp -O3 -o filesystem.exe -I$(LUA_PATH)/include -I./ -I- -I$(BOOST_ROOT) -I../../ -L. -L../../lib -L$(LUA_PATH)/lib -lluabind -llua -llualib -L./ -lboost_filesystem - -clean: - rm -f filesystem.o - diff --git a/examples/glut/makefile b/examples/glut/makefile deleted file mode 100644 index d14a3ba..0000000 --- a/examples/glut/makefile +++ /dev/null @@ -1,16 +0,0 @@ -include ../../config - -all: glut_test - -# if using fink on darwin -# you need these additional flags -CPPFLAGS = -I/sw/include -L/sw/lib - -glut_test: glut_bind.cpp - $(CXX) glut_bind.cpp -o glut_bind -I$(LUA_PATH)/include -I- -I$(BOOST_ROOT) $(CPPFLAGS) \ - -I../../ -I/usr/X11R6/include -L/usr/X11R6/lib -L$(LUA_PATH)/lib -L../../lib \ - -lluabind -lX11 -lXi -lXmu -lglut -lGL -lGLU -lm -llua -llualib - -clean: - rm -f glut_bind.o - diff --git a/examples/intrusive_ptr/makefile b/examples/intrusive_ptr/makefile deleted file mode 100644 index 4958f0d..0000000 --- a/examples/intrusive_ptr/makefile +++ /dev/null @@ -1,10 +0,0 @@ -include ../../config - -all: intrusive_ptr - -intrusive_ptr: intrusive_ptr.cpp - $(CXX) intrusive_ptr.cpp -o intrusive_ptr -I$(LUA_PATH)/include -I- -I$(BOOST_ROOT) -I../../ -L../../lib -L$(LUA_PATH)/lib -lluabind -llua -llualib - -clean: - rm -f intrusive_ptr - diff --git a/examples/makefile b/examples/makefile deleted file mode 100755 index e65b08e..0000000 --- a/examples/makefile +++ /dev/null @@ -1,8 +0,0 @@ - -all clean: - cd cln; $(MAKE) $@ - cd intrusive_ptr; $(MAKE) $@ - cd any_converter; $(MAKE) $@ - cd glut; $(MAKE) $@ - cd regexp; $(MAKE) $@ - diff --git a/examples/regexp/makefile b/examples/regexp/makefile deleted file mode 100644 index 15e051c..0000000 --- a/examples/regexp/makefile +++ /dev/null @@ -1,10 +0,0 @@ -include ../../config - -all: regexp - -regexp: regex_wrap.cpp - $(CXX) regex_wrap.cpp -o regex_wrap -I$(LUA_PATH)/include -I- -I$(BOOST_ROOT) -I../../ -L. -L../../lib -L$(LUA_PATH)/lib -lluabind -lboost_regex -llua -llualib - -clean: - rm -f regex_wrap.o - diff --git a/makefile b/makefile deleted file mode 100755 index f96b731..0000000 --- a/makefile +++ /dev/null @@ -1,8 +0,0 @@ - -all clean: lib - cd src; $(MAKE) $@ - cd test; $(MAKE) $@ - -lib: - mkdir -p $@ - diff --git a/src/makefile b/src/makefile deleted file mode 100755 index 06e8822..0000000 --- a/src/makefile +++ /dev/null @@ -1,44 +0,0 @@ -include ../config - -SOURCES = \ - wrapper_base.cpp \ - pcall.cpp \ - error.cpp \ - ref.cpp \ - scope.cpp \ - class.cpp \ - class_rep.cpp \ - function.cpp \ - find_best_match.cpp \ - implicit_cast.cpp \ - open.cpp \ - create_class.cpp \ - stack_content_by_name.cpp \ - object_rep.cpp \ - class_info.cpp \ - class_registry.cpp \ - link_compatibility.cpp \ - weak_ref.cpp \ - overload_rep.cpp \ - link_compatibility.cpp - -OBJECTS = $(SOURCES:.cpp=.o) - -TARGET = ../lib/libluabind.a - - - - - -all: $(TARGET) - -$(TARGET): $(OBJECTS) - $(AR) rcu $@ $(OBJECTS) - ranlib $@ - -%.o:%.cpp - $(CXX) -g -ftemplate-depth-100 -Wall -DLUABIND_BUILDING -c $? -o $@ -I$(LUA_PATH)/include -I- -I.. -I$(BOOST_ROOT) $(CONFIG) - -clean: - rm -f $(OBJECTS) $(TARGET) - diff --git a/test/makefile b/test/makefile deleted file mode 100644 index 853f006..0000000 --- a/test/makefile +++ /dev/null @@ -1,45 +0,0 @@ -include ../config - -SOURCES = \ - test_abstract_base.cpp \ - test_attributes.cpp \ - test_const.cpp \ - test_construction.cpp \ - test_exceptions.cpp \ - test_free_functions.cpp \ - test_held_type.cpp \ - test_implicit_cast.cpp \ - test_iterator.cpp \ - test_lua_classes.cpp \ - test_null_pointer.cpp \ - test_object.cpp \ - test_operators.cpp \ - test_policies.cpp \ - test_scope.cpp \ - test_separation.cpp \ - test_simple_class.cpp \ - test_typetraits.cpp \ - test_yield.cpp \ - test_null_pointer.cpp \ - test_policies.cpp \ - test_free_functions.cpp \ - test_iterator.cpp \ - - -all: $(SOURCES:.cpp=.exe) - -%.exe:%.o main.o - $(CXX) $? -o $@ -g -L$(LUA_PATH)/lib -L../lib -lluabind -llualib -llua - -%.o:%.cpp - $(CXX) -Wall -ftemplate-depth-100 -g $(CONFIG) -I$(LUA_PATH)/include -I. -I- -I../ -I$(BOOST_ROOT) -c $? -o $@ - -#just to force the tests to be run -test: $(SOURCES:.cpp=.dummy) - -%.dummy:%.exe - ./$? - -clean: - rm -f $(SOURCES:.cpp=.o) $(SOURCES:.cpp=.exe) main.o core - -- 2.11.4.GIT