diff options
Diffstat (limited to 'chart2/util')
-rw-r--r-- | chart2/util/makefile.mk | 60 | ||||
-rw-r--r-- | chart2/util/makefile.pmk | 46 | ||||
-rw-r--r-- | chart2/util/target.pmk | 32 |
3 files changed, 138 insertions, 0 deletions
diff --git a/chart2/util/makefile.mk b/chart2/util/makefile.mk new file mode 100644 index 000000000000..dff14676a5b1 --- /dev/null +++ b/chart2/util/makefile.mk @@ -0,0 +1,60 @@ +#************************************************************************* +# +# 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=.. +PRJPCH= + +PRJNAME=chart2 +TARGET=chart_db + +# --- Settings ----------------------------------------------------- + +.INCLUDE : makefile.pmk + +#------------------------------------------------------------------- + +# UNOIDLDBFILES= \ +# $(UCR)$/csschart2.db + +# --- Targets ------------------------------------------------------ + +.INCLUDE : target.mk + +.IF "$(L10N_framewor)"=="" +ALLTAR : \ + $(BIN)$/$(PRJNAME).rdb \ + $(MISC)$/$(TARGET).don + +$(BIN)$/$(PRJNAME).rdb : $(UCR)$/$(PRJNAME).db + $(GNUCOPY) -f $(UCR)$/$(PRJNAME).db $@ + +$(MISC)$/$(TARGET).don : $(UCR)$/$(PRJNAME).db + $(CPPUMAKER) -O$(OUT)$/inc -BUCR $(UCR)$/$(PRJNAME).db -X$(SOLARBINDIR)$/types.rdb && echo > $@ + echo $@ + +.ENDIF # "$(L10N_framewor)"=="" + diff --git a/chart2/util/makefile.pmk b/chart2/util/makefile.pmk new file mode 100644 index 000000000000..3819e6175504 --- /dev/null +++ b/chart2/util/makefile.pmk @@ -0,0 +1,46 @@ +# -*- makefile -*- +#************************************************************************* +# +# 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. +# +#************************************************************************* + +ENABLE_EXCEPTIONS=TRUE + +# --- Settings ----------------------------------------------------- +.INCLUDE : settings.mk + +# define macro for (chart-specific) tools library +.IF "$(COM)" == "MSC" || "$(GUI)" == "OS2" + CHARTTOOLS= icharttools.lib +.ELSE + CHARTTOOLS= -lcharttools$(DLLPOSTFIX) +.ENDIF + +.IF "$(COM)" == "MSC" || "$(GUI)" == "OS2" + CHARTVIEW= ichartview.lib +.ELSE + CHARTVIEW= -lchartview$(DLLPOSTFIX) +.ENDIF + diff --git a/chart2/util/target.pmk b/chart2/util/target.pmk new file mode 100644 index 000000000000..79f6dc2f2410 --- /dev/null +++ b/chart2/util/target.pmk @@ -0,0 +1,32 @@ +# -*- makefile -*- +#************************************************************************* +# +# 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. +# +#************************************************************************* +$(OUT)$/misc$/$(TARGET).idls: makefile.mk + -$(RM) $@ + $(TYPE) $(mktmp $(foreach,i,$(IDLFILES) $(PACKAGE)$/$i)) >>$@ + +ALLTAR: $(OUT)$/misc$/$(TARGET).idls |