nrtb-core team mailing list archive
-
nrtb-core team
-
Mailing list archive
-
Message #00161
[Branch ~fpstovall/nrtb/cpp_common] Rev 37: Added two files which are needed for the GPB build process. All tested and working now.
------------------------------------------------------------
revno: 37
committer: fpstovall@xxxxxxxxx
branch nick: dev
timestamp: Thu 2011-07-21 22:03:54 -0400
message:
Added two files which are needed for the GPB build process. All tested and working now.
added:
GPB_proto/Makefile
GPB_proto/lib/
--
lp:~fpstovall/nrtb/cpp_common
https://code.launchpad.net/~fpstovall/nrtb/cpp_common
Your team NRTB Core is subscribed to branch lp:~fpstovall/nrtb/cpp_common.
To unsubscribe from this branch go to https://code.launchpad.net/~fpstovall/nrtb/cpp_common/+edit-subscription
=== added file 'GPB_proto/Makefile'
--- GPB_proto/Makefile 1970-01-01 00:00:00 +0000
+++ GPB_proto/Makefile 2011-07-22 02:03:54 +0000
@@ -0,0 +1,28 @@
+#***********************************************
+#This file is part of the NRTB project (https://launchpad.net/nrtb).
+#
+# NRTB is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# NRTB 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with NRTB. If not, see <http://www.gnu.org/licenses/>.
+#
+#***********************************************
+
+lib/nrtb_gpb.a:
+ @protoc -I=proto/ --cpp_out=cpp_src/ proto/*.proto
+ @cd obj; for file in ../cpp_src/*.cc; do g++ -c $$file; done
+ @cp -v cpp_src/*h include
+ @ar -r lib/nrtb_gpb.a obj/*.o
+ @echo "GPB lib build complete."
+
+clean:
+ @rm -vf lib/* obj/* cpp_src/* include/*
+ @echo "GPB cleanup complete."
=== added directory 'GPB_proto/lib'