summaryrefslogtreecommitdiff
path: root/twain/prj
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-09-18 11:26:26 -0400
committerPeter Foley <pefoley2@verizon.net>2011-09-18 16:54:17 -0400
commit165b95bc248a7b39d57d99622689cdaad790eff5 (patch)
treef17b599681e127d7b14199fbf0acb5b7540190ff /twain/prj
parentaee561af31453735d88854020699b2eaecf943a0 (diff)
convert twain to gbuild
Diffstat (limited to 'twain/prj')
-rw-r--r--twain/prj/build.lst3
-rw-r--r--twain/prj/d.lst3
-rw-r--r--twain/prj/makefile.mk40
3 files changed, 41 insertions, 5 deletions
diff --git a/twain/prj/build.lst b/twain/prj/build.lst
index cfeab258dc06..875fc98e15a6 100644
--- a/twain/prj/build.lst
+++ b/twain/prj/build.lst
@@ -1,3 +1,2 @@
tw twain : solenv NULL
-tw twain usr1 - all tw_mkout NULL
-tw twain\util nmake - n tw_util NULL
+tw twain\prj nmake - all tw_util NULL
diff --git a/twain/prj/d.lst b/twain/prj/d.lst
index 0827b03d1cd9..e69de29bb2d1 100644
--- a/twain/prj/d.lst
+++ b/twain/prj/d.lst
@@ -1,3 +0,0 @@
-mkdir: %_DEST%\inc\external
-mkdir: %_DEST%\inc\external\twain
-..\%__SRC%\inc\twain.h %_DEST%\inc\external\twain\twain.h
diff --git a/twain/prj/makefile.mk b/twain/prj/makefile.mk
new file mode 100644
index 000000000000..85b25665cc83
--- /dev/null
+++ b/twain/prj/makefile.mk
@@ -0,0 +1,40 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org 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 Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..
+TARGET=prj
+
+.INCLUDE : settings.mk
+
+.IF "$(VERBOSE)"!=""
+VERBOSEFLAG :=
+.ELSE
+VERBOSEFLAG := -s
+.ENDIF
+
+all:
+ cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(GMAKE_MODULE_PARALLELISM) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog