summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-04-14 05:31:32 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-04-14 06:58:01 -0500
commitb60bf1eb625e4d2e94543a90770cea9214352b63 (patch)
tree82721345c0c93f7e5de64e81133719aff0fe51d7 /codemaker
parenta57b6347999889bbbcf55e704ac480482fdc5497 (diff)
rename common* static libs to codemaker_* for clarity + dmake cleanup
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/Executable_cppumaker.mk2
-rw-r--r--codemaker/Executable_javamaker.mk2
-rw-r--r--codemaker/Module_codemaker.mk4
-rw-r--r--codemaker/StaticLibrary_codemaker_cpp.mk (renamed from codemaker/StaticLibrary_commoncpp.mk)6
-rw-r--r--codemaker/StaticLibrary_codemaker_java.mk (renamed from codemaker/StaticLibrary_commonjava.mk)6
-rwxr-xr-xcodemaker/codemaker.pmk49
-rw-r--r--codemaker/inc/makefile.mk40
7 files changed, 10 insertions, 99 deletions
diff --git a/codemaker/Executable_cppumaker.mk b/codemaker/Executable_cppumaker.mk
index f4dbdc6c717a..69293e2c424b 100644
--- a/codemaker/Executable_cppumaker.mk
+++ b/codemaker/Executable_cppumaker.mk
@@ -38,7 +38,7 @@ $(eval $(call gb_Executable_use_libraries,cppumaker,\
))
$(eval $(call gb_Executable_use_static_libraries,cppumaker,\
- commoncpp \
+ codemaker_cpp \
codemaker \
))
diff --git a/codemaker/Executable_javamaker.mk b/codemaker/Executable_javamaker.mk
index 5633acbf463f..cd5a1aaf67ce 100644
--- a/codemaker/Executable_javamaker.mk
+++ b/codemaker/Executable_javamaker.mk
@@ -38,7 +38,7 @@ $(eval $(call gb_Executable_use_libraries,javamaker,\
))
$(eval $(call gb_Executable_use_static_libraries,javamaker,\
- commonjava \
+ codemaker_java \
codemaker \
))
diff --git a/codemaker/Module_codemaker.mk b/codemaker/Module_codemaker.mk
index 2594cc3b5352..d2b60600465a 100644
--- a/codemaker/Module_codemaker.mk
+++ b/codemaker/Module_codemaker.mk
@@ -29,8 +29,8 @@ $(eval $(call gb_Module_Module,codemaker))
$(eval $(call gb_Module_add_targets,codemaker,\
Package_inc \
StaticLibrary_codemaker \
- StaticLibrary_commoncpp \
- StaticLibrary_commonjava \
+ StaticLibrary_codemaker_cpp \
+ StaticLibrary_codemaker_java \
Executable_javamaker \
Executable_cppumaker \
))
diff --git a/codemaker/StaticLibrary_commoncpp.mk b/codemaker/StaticLibrary_codemaker_cpp.mk
index baf6b13306de..3f1811434e44 100644
--- a/codemaker/StaticLibrary_commoncpp.mk
+++ b/codemaker/StaticLibrary_codemaker_cpp.mk
@@ -25,14 +25,14 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
-$(eval $(call gb_StaticLibrary_StaticLibrary,commoncpp))
+$(eval $(call gb_StaticLibrary_StaticLibrary,codemaker_cpp))
-$(eval $(call gb_StaticLibrary_set_include,commoncpp,\
+$(eval $(call gb_StaticLibrary_set_include,codemaker_cpp,\
-I$(SRCDIR)/codemaker/inc \
$$(INCLUDE) \
))
-$(eval $(call gb_StaticLibrary_add_exception_objects,commoncpp,\
+$(eval $(call gb_StaticLibrary_add_exception_objects,codemaker_cpp,\
codemaker/source/commoncpp/commoncpp \
))
diff --git a/codemaker/StaticLibrary_commonjava.mk b/codemaker/StaticLibrary_codemaker_java.mk
index 2125f36f5e6c..b9e23969dba1 100644
--- a/codemaker/StaticLibrary_commonjava.mk
+++ b/codemaker/StaticLibrary_codemaker_java.mk
@@ -25,14 +25,14 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
-$(eval $(call gb_StaticLibrary_StaticLibrary,commonjava))
+$(eval $(call gb_StaticLibrary_StaticLibrary,codemaker_java))
-$(eval $(call gb_StaticLibrary_set_include,commonjava,\
+$(eval $(call gb_StaticLibrary_set_include,codemaker_java,\
-I$(SRCDIR)/codemaker/inc \
$$(INCLUDE) \
))
-$(eval $(call gb_StaticLibrary_add_exception_objects,commonjava,\
+$(eval $(call gb_StaticLibrary_add_exception_objects,codemaker_java,\
codemaker/source/commonjava/commonjava \
))
diff --git a/codemaker/codemaker.pmk b/codemaker/codemaker.pmk
deleted file mode 100755
index cf06407ea8d8..000000000000
--- a/codemaker/codemaker.pmk
+++ /dev/null
@@ -1,49 +0,0 @@
-#*************************************************************************
-#
-# 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.
-#
-#*************************************************************************
-
-.IF "$(GUI)"=="WNT"
-CODEMAKERLIBDEPN=codemaker.lib
-COMMONCPPLIBDEPN=commoncpp.lib
-COMMONJAVALIBDEPN=commonjava.lib
-.IF "$(COM)"=="GCC" && "$(GUI)"=="WNT"
-CODEMAKERLIBST=-lcodemaker
-COMMONCPPLIBST=-lcommoncpp
-COMMONJAVALIBST=-lcommonjava
-.ELSE
-CODEMAKERLIBST=codemaker.lib
-COMMONCPPLIBST=commoncpp.lib
-COMMONJAVALIBST=commonjava.lib
-.ENDIF
-.ELSE
-CODEMAKERLIBDEPN=libcodemaker.a
-COMMONCPPLIBDEPN=libcommoncpp.a
-COMMONJAVALIBDEPN=libcommonjava.a
-CODEMAKERLIBST=-lcodemaker
-COMMONCPPLIBST=-lcommoncpp
-COMMONJAVALIBST=-lcommonjava
-.ENDIF
-
diff --git a/codemaker/inc/makefile.mk b/codemaker/inc/makefile.mk
deleted file mode 100644
index 8d7b0a7af7cd..000000000000
--- a/codemaker/inc/makefile.mk
+++ /dev/null
@@ -1,40 +0,0 @@
-#*************************************************************************
-#
-# 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=..
-
-PRJNAME=codemaker
-TARGET=inc
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Files --------------------------------------------------------
-# --- Targets -------------------------------------------------------
-
-.INCLUDE : target.mk
-