summaryrefslogtreecommitdiff
path: root/fileaccess/prj
diff options
context:
space:
mode:
authorDamjan Jovanovic <damjan@apache.org>2016-08-29 00:32:41 +0000
committerDamjan Jovanovic <damjan@apache.org>2016-08-29 00:32:41 +0000
commit9b3e00b30c23151aa1cdfc97b7ec935cbcb4d7e2 (patch)
treea122c2c03c4a0e7ddee47f2073be37123582414f /fileaccess/prj
parenta8ee4f315bbd286c6efcc271e4289c4abb220a77 (diff)
Port main/fileaccess to gbuild.
Patch by: me
Notes
Notes: prefer: 1f9bc2b2aa8168f9c164044058b117d2a17d83ad
Diffstat (limited to 'fileaccess/prj')
-rw-r--r--fileaccess/prj/build.lst3
-rw-r--r--fileaccess/prj/d.lst6
-rw-r--r--fileaccess/prj/makefile.mk44
3 files changed, 45 insertions, 8 deletions
diff --git a/fileaccess/prj/build.lst b/fileaccess/prj/build.lst
index 0349810c3838..b2a7425766a6 100644
--- a/fileaccess/prj/build.lst
+++ b/fileaccess/prj/build.lst
@@ -1,3 +1,2 @@
fa fileaccess : unotools rdbmaker tools ucbhelper LIBXSLT:libxslt NULL
-fa fileaccess usr1 - all fa_mkout NULL
-fa fileaccess\source nmake - all fa_src NULL
+fa fileaccess\prj nmake - all fa_prj NULL
diff --git a/fileaccess/prj/d.lst b/fileaccess/prj/d.lst
index c9b2bdd18f06..e69de29bb2d1 100644
--- a/fileaccess/prj/d.lst
+++ b/fileaccess/prj/d.lst
@@ -1,6 +0,0 @@
-..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT%\*
-..\%__SRC%\bin\*.rdb %_DEST%\rdb%_EXT%\*
-..\%__SRC%\lib\lib*.so %_DEST%\lib%_EXT%
-..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*
-..\source\fileacc.xml %_DEST%\xml%_EXT%\fileacc.xml
-..\%__SRC%\misc\fileacc.component %_DEST%\xml%_EXT%\fileacc.component
diff --git a/fileaccess/prj/makefile.mk b/fileaccess/prj/makefile.mk
new file mode 100644
index 000000000000..c62c6a657d16
--- /dev/null
+++ b/fileaccess/prj/makefile.mk
@@ -0,0 +1,44 @@
+#**************************************************************
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#**************************************************************
+
+
+
+PRJ=..
+TARGET=prj
+
+.INCLUDE : settings.mk
+
+.IF "$(VERBOSE)"!=""
+VERBOSEFLAG :=
+.ELSE
+VERBOSEFLAG := -s
+.ENDIF
+
+.IF "$(DEBUG)"!=""
+DEBUG_ARGUMENT=DEBUG=$(DEBUG)
+.ELIF "$(debug)"!=""
+DEBUG_ARGUMENT=debug=$(debug)
+.ELSE
+DEBUG_ARGUMENT=
+.ENDIF
+
+all:
+ cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog