INTEGRATION: CWS ause071 (1.9.32); FILE MERGED

2006/11/03 15:28:48 hjs 1.9.32.1: #i66997# a bit of cleanup
This commit is contained in:
Vladimir Glazounov 2006-11-21 14:12:29 +00:00
parent 88c105aae1
commit 26e7f15c31

View file

@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.9 $
# $Revision: 1.10 $
#
# last change: $Author: hr $ $Date: 2006-06-19 23:54:07 $
# last change: $Author: vg $ $Date: 2006-11-21 15:12:29 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@ -40,20 +40,18 @@ TARGET=test
LIBTARGET=NO
TARGETTYPE=CUI
ENABLE_EXCEPTIONS=TRUE
NO_BSYMBOLIC=TRUE
EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : svpre.mk
.INCLUDE : settings.mk
.INCLUDE : sv.mk
# --- Files --------------------------------------------------------
ALLIDLFILES = test_bridge.idl
CPPUMAKERFLAGS += -C
UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb $(BIN)$/test.rdb
UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb $(BIN)$/test.rdb
# output directory (one dir for each project)
@ -93,34 +91,8 @@ UNOTYPES = \
com.sun.star.lang.XMultiComponentFactory \
com.sun.star.lang.XSingleComponentFactory
#UNOTYPES= com.sun.star.corba.giop.MsgType_1_1
#UNOTYPES= com.sun.star.uno.XInterface \
# com.sun.star.uno.TypeClass \
# com.sun.star.corba.CorbaString8
#com.sun.star.corba.giop.RequestHeader_1_1
JARFILES = jurt.jar unoil.jar
# GENJAVACLASSFILES = \
# $(CLASSDIR)$/test$/TestTypes.class \
# $(CLASSDIR)$/test$/TestBridgeException.class \
# $(CLASSDIR)$/test$/XCallMe.class \
# $(CLASSDIR)$/test$/XInterfaceTest.class \
# $(CLASSDIR)$/test$/XTestFactory.class \
# JAVACLASSFILES= \
# $(CLASSDIR)$/testclient.class
# TYPES={$(subst,.class, $(subst,$/,. $(subst,$(CLASSDIR)$/,-T $(GENJAVACLASSFILES))))}
# GENJAVAFILES = {$(subst,.class,.java $(subst,$/class, $(GENJAVACLASSFILES)))}
# JAVAFILES= $(subst,$(CLASSDIR)$/, $(subst,.class,.java $(JAVACLASSFILES))) $(GENJAVAFILES)
OBJFILES= \
$(OBJ)$/testserver.obj \
$(OBJ)$/testclient.obj \
@ -142,8 +114,6 @@ APP2STDLIBS+= \
$(SALLIB) \
$(LIBCIMT)
#APP2DEF= $(MISC)$/$(APP2TARGET).def
APP3TARGET= testclient
APP3OBJS= $(OBJ)$/testclient.obj \
$(OBJ)$/testcomp.obj
@ -157,9 +127,6 @@ APP3STDLIBS+= \
$(CPPUHELPERLIB) \
$(SALLIB) \
$(LIBCIMT)
# imsci_uno.lib
#APP3DEF= $(MISC)$/$(APP3TARGET).def
#----------------------------------
@ -200,19 +167,12 @@ APP4DEF= $(MISC)$/$(APP4TARGET).def
# --- Targets ------------------------------------------------------
#.IF "$(depend)" == ""
ALL : $(BIN)$/test.rdb \
$(BIN)$/server.rdb \
$(BIN)$/client.rdb \
$(GENJAVAFILES) \
ALLTAR
#.ELSE
#ALL: ALLDEP
#.ENDIF
.INCLUDE : target.mk
ALLTAR : $(BIN)$/test.rdb \
$(BIN)$/server.rdb \
$(BIN)$/client.rdb
$(BIN)$/test.rdb: $(ALLIDLFILES)
+idlc -I$(PRJ) -I$(SOLARIDLDIR) -O$(BIN) $?
+regmerge $@ /UCR $(BIN)$/{$(?:f:s/.idl/.urd/)}
@ -226,6 +186,3 @@ $(BIN)$/server.rdb: $(BIN)$/test.rdb
+rm -f $(BIN)$/client.rdb
+regmerge $@ / $(BIN)$/test.rdb $(SOLARBINDIR)$/udkapi.rdb
# $(GENJAVAFILES) : $(RDB)
# +javamaker -BUCR -O$(OUT) $(TYPES) $(UNOUCRRDB)