Makefile.pln (81e6fec9) Makefile.pln (78ecfec3)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 10 unchanged lines hidden (view full) ---

19#
20#**************************************************************
21
22# The following variable must be set (see README):
23#SDK_HOME := /opt/openoffice.org/basis3.1/sdk
24
25# The following variables can be set, if necessary (see README):
26#URE_HOME := /opt/openoffice.org/ure
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 10 unchanged lines hidden (view full) ---

19#
20#**************************************************************
21
22# The following variable must be set (see README):
23#SDK_HOME := /opt/openoffice.org/basis3.1/sdk
24
25# The following variables can be set, if necessary (see README):
26#URE_HOME := /opt/openoffice.org/ure
27#GXX_INCLUDE_PATH := /usr/include/g++
28
27
29
30URE_HOME ?= /opt/openoffice.org/ure
28URE_HOME ?= /opt/openoffice.org/ure
31GXX_INCLUDE_PATH ?= /usr/include/g++
32
33.DELETE_ON_ERROR:
34
35
36.PHONY: test
37test: test-regview test-cpptest test-javatest test-javanative test-clientserver
38
39.PHONY: test-regview

--- 48 unchanged lines hidden (view full) ---

88 -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \
89 -luno_cppuhelpergcc3 -luno_sal -luno_salhelpergcc3
90
91out.pln/cppmain.o: cppmain.cc out.pln/cpputypes.cppumaker.flag \
92 out.pln/types.cppumaker.flag | out.pln
93 g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \
94 -I $(SDK_HOME)/include -I out.pln/include/cpputypes \
95 -I out.pln/include/types -DCPPU_ENV=gcc3 \
29
30.DELETE_ON_ERROR:
31
32
33.PHONY: test
34test: test-regview test-cpptest test-javatest test-javanative test-clientserver
35
36.PHONY: test-regview

--- 48 unchanged lines hidden (view full) ---

85 -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \
86 -luno_cppuhelpergcc3 -luno_sal -luno_salhelpergcc3
87
88out.pln/cppmain.o: cppmain.cc out.pln/cpputypes.cppumaker.flag \
89 out.pln/types.cppumaker.flag | out.pln
90 g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \
91 -I $(SDK_HOME)/include -I out.pln/include/cpputypes \
92 -I out.pln/include/types -DCPPU_ENV=gcc3 \
96 -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) -DLINUX -DUNX $<
93 -DLINUX -DUNX $<
97
98
99out.pln/cpptest.uno.so: out.pln/cpptest.o version.map | out.pln \
100 out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \
101 out.pln/lib/libuno_sal.so
102 g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \
103 -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \
104 -luno_cppuhelpergcc3 -luno_sal
105
106out.pln/cpptest.o: cpptest.cc out.pln/cpputypes.cppumaker.flag \
107 out.pln/types.cppumaker.flag | out.pln
108 g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \
109 -I $(SDK_HOME)/include -I out.pln/include/cpputypes \
110 -I out.pln/include/types -DCPPU_ENV=gcc3 \
94
95
96out.pln/cpptest.uno.so: out.pln/cpptest.o version.map | out.pln \
97 out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \
98 out.pln/lib/libuno_sal.so
99 g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \
100 -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \
101 -luno_cppuhelpergcc3 -luno_sal
102
103out.pln/cpptest.o: cpptest.cc out.pln/cpputypes.cppumaker.flag \
104 out.pln/types.cppumaker.flag | out.pln
105 g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \
106 -I $(SDK_HOME)/include -I out.pln/include/cpputypes \
107 -I out.pln/include/types -DCPPU_ENV=gcc3 \
111 -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) -DLINUX -DUNX $<
108 -DLINUX -DUNX $<
112
113
114out.pln/cppserver.uno.so: out.pln/cppserver.o version.map | out.pln \
115 out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \
116 out.pln/lib/libuno_sal.so
117 g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \
118 -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \
119 -luno_cppuhelpergcc3 -luno_sal
120
121out.pln/cppserver.o: cppserver.cc out.pln/cpputypes.cppumaker.flag \
122 out.pln/types.cppumaker.flag | out.pln
123 g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \
124 -I $(SDK_HOME)/include -I out.pln/include/cpputypes \
125 -I out.pln/include/types -DCPPU_ENV=gcc3 \
109
110
111out.pln/cppserver.uno.so: out.pln/cppserver.o version.map | out.pln \
112 out.pln/lib/libuno_cppu.so out.pln/lib/libuno_cppuhelpergcc3.so \
113 out.pln/lib/libuno_sal.so
114 g++ -shared -o $@ -Wl,-z,defs -Wl,--fatal-warnings \
115 -Wl,--version-script=version.map $< -Lout.pln/lib -luno_cppu \
116 -luno_cppuhelpergcc3 -luno_sal
117
118out.pln/cppserver.o: cppserver.cc out.pln/cpputypes.cppumaker.flag \
119 out.pln/types.cppumaker.flag | out.pln
120 g++ -c -o $@ -fpic -Wall -Wno-ctor-dtor-privacy -I $(SDK_HOME)/include/stl \
121 -I $(SDK_HOME)/include -I out.pln/include/cpputypes \
122 -I out.pln/include/types -DCPPU_ENV=gcc3 \
126 -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) -DLINUX -DUNX $<
123 -DLINUX -DUNX $<
127
128
129out.pln/cpputypes.cppumaker.flag: | out.pln
130 LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/cppumaker \
131 -O./out.pln/include/cpputypes \
132 '-Tcom.sun.star.lang.DisposedException;com.sun.star.lang.EventObject;com.sun.star.lang.XMain;com.sun.star.lang.XMultiComponentFactory;com.sun.star.lang.XMultiServiceFactory;com.sun.star.lang.XSingleComponentFactory;com.sun.star.lang.XSingleServiceFactory;com.sun.star.lang.XTypeProvider;com.sun.star.registry.XRegistryKey;com.sun.star.uno.DeploymentException;com.sun.star.uno.Exception;com.sun.star.uno.RuntimeException;com.sun.star.uno.XAggregation;com.sun.star.uno.XComponentContext;com.sun.star.uno.XCurrentContext;com.sun.star.uno.XInterface;com.sun.star.uno.XWeak' \
133 -B/UCR $(URE_HOME)/share/misc/types.rdb
134 touch $@

--- 170 unchanged lines hidden ---
124
125
126out.pln/cpputypes.cppumaker.flag: | out.pln
127 LD_LIBRARY_PATH=$(URE_HOME)/lib $(SDK_HOME)/bin/cppumaker \
128 -O./out.pln/include/cpputypes \
129 '-Tcom.sun.star.lang.DisposedException;com.sun.star.lang.EventObject;com.sun.star.lang.XMain;com.sun.star.lang.XMultiComponentFactory;com.sun.star.lang.XMultiServiceFactory;com.sun.star.lang.XSingleComponentFactory;com.sun.star.lang.XSingleServiceFactory;com.sun.star.lang.XTypeProvider;com.sun.star.registry.XRegistryKey;com.sun.star.uno.DeploymentException;com.sun.star.uno.Exception;com.sun.star.uno.RuntimeException;com.sun.star.uno.XAggregation;com.sun.star.uno.XComponentContext;com.sun.star.uno.XCurrentContext;com.sun.star.uno.XInterface;com.sun.star.uno.XWeak' \
130 -B/UCR $(URE_HOME)/share/misc/types.rdb
131 touch $@

--- 170 unchanged lines hidden ---