summaryrefslogtreecommitdiff
path: root/pyuno/source/module/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/makefile.mk')
-rw-r--r--pyuno/source/module/makefile.mk78
1 files changed, 38 insertions, 40 deletions
diff --git a/pyuno/source/module/makefile.mk b/pyuno/source/module/makefile.mk
index 935303f6f..f72e1c303 100644
--- a/pyuno/source/module/makefile.mk
+++ b/pyuno/source/module/makefile.mk
@@ -24,7 +24,7 @@
# for a copy of the LGPLv3 License.
#
#*************************************************************************
-PRJ=..$/..
+PRJ=../..
PRJNAME=pyuno
TARGET=pyuno
@@ -64,25 +64,25 @@ PYTHONLIB=$(PYTHON_LIBS)
CFLAGS+=$(PYTHON_CFLAGS)
.ELSE # "$(SYSTEM_PYTHON)" == "YES"
.INCLUDE : pyversion.mk
-CFLAGS+=-I$(SOLARINCDIR)$/python
+CFLAGS+=-I$(SOLARINCDIR)/python
.ENDIF # "$(SYSTEM_PYTHON)" == "YES"
SHL1TARGET=$(TARGET)
SLOFILES= \
- $(SLO)$/pyuno_runtime.obj \
- $(SLO)$/pyuno.obj \
- $(SLO)$/pyuno_callable.obj \
- $(SLO)$/pyuno_module.obj \
- $(SLO)$/pyuno_type.obj \
- $(SLO)$/pyuno_util.obj \
- $(SLO)$/pyuno_except.obj \
- $(SLO)$/pyuno_adapter.obj \
- $(SLO)$/pyuno_gc.obj
+ $(SLO)/pyuno_runtime.obj \
+ $(SLO)/pyuno.obj \
+ $(SLO)/pyuno_callable.obj \
+ $(SLO)/pyuno_module.obj \
+ $(SLO)/pyuno_type.obj \
+ $(SLO)/pyuno_util.obj \
+ $(SLO)/pyuno_except.obj \
+ $(SLO)/pyuno_adapter.obj \
+ $(SLO)/pyuno_gc.obj
# remove this, when issue i35064 is integrated
.IF "$(COM)"=="GCC"
NOOPTFILES= \
- $(SLO)$/pyuno_module.obj
+ $(SLO)/pyuno_module.obj
.ENDIF # "$(COM)"=="GCC"
SHL1STDLIBS= \
@@ -93,13 +93,13 @@ SHL1STDLIBS= \
$(EXTRA_FRAMEWORK_FLAG)
SHL1DEPN=$(eq,$(OS),MACOSX $(MISC)/framework_link $(NULL))
-SHL1LIBS= $(SLB)$/$(TARGET).lib
-SHL1IMPLIB= i$(TARGET)
+SHL1LIBS=$(SLB)/$(TARGET).lib
+SHL1IMPLIB=i$(TARGET)
-SHL1DEF= $(MISC)$/$(SHL1TARGET).def
+SHL1DEF=$(MISC)/$(SHL1TARGET).def
-DEF1NAME= $(SHL1TARGET)
-DEF1DEPN= $(MISC)$/pyuno.flt
+DEF1NAME=$(SHL1TARGET)
+DEF1DEPN=$(MISC)/pyuno.flt
DEFLIB1NAME=$(TARGET)
@@ -107,55 +107,53 @@ DEFLIB1NAME=$(TARGET)
.IF "$(GUI)$(COM)"=="WNTGCC"
ALLTAR : \
- $(DLLDEST)$/uno.py \
- $(DLLDEST)$/unohelper.py \
- $(MISC)$/$(PYUNORC) \
- $(LB)$/lib$(TARGET).a
+ $(DLLDEST)/uno.py \
+ $(DLLDEST)/unohelper.py \
+ $(MISC)/$(PYUNORC) \
+ $(LB)/lib$(TARGET).a
-$(LB)$/lib$(TARGET).a: $(MISC)$/$(TARGET).def
- $(DLLTOOL) --dllname $(TARGET)$(DLLPOST) --input-def=$(MISC)$/$(TARGET).def --kill-at --output-lib=$(LB)$/lib$(TARGET).a
+$(LB)/lib$(TARGET).a: $(MISC)/$(TARGET).def
+ $(DLLTOOL) --dllname $(TARGET)$(DLLPOST) --input-def=$(MISC)/$(TARGET).def --kill-at --output-lib=$(LB)/lib$(TARGET).a
.ELSE
.IF "$(GUI)"!="WNT"
# For some reason the build breaks on Windows if this is listed in the
# prerequisite list of ALLTAR, but pyuno.pyd still gets produced. Go
# figure. But we need it on non-Windows.
-targetdll=$(LB)$/$(TARGET)$(DLLPOST)
+targetdll=$(LB)/$(TARGET)$(DLLPOST)
.ENDIF
ALLTAR : \
- $(DLLDEST)$/uno.py \
- $(DLLDEST)$/unohelper.py \
+ $(DLLDEST)/uno.py \
+ $(DLLDEST)/unohelper.py \
$(targetdll) \
- $(MISC)$/$(PYUNORC)
+ $(MISC)/$(PYUNORC)
.ENDIF
.ENDIF
.INCLUDE : target.mk
.IF "$(L10N_framework)"==""
-$(DLLDEST)$/%.py: %.py
- cp $? $@
+$(DLLDEST)/%.py: %.py
+ cp $? $@
# make checkdll happy
$(MISC)/framework_link :
$(COMMAND_ECHO)ln -sf $(SOLARLIBDIR)/OOoPython.framework $(LB)/OOoPython.framework
@touch $@
-$(MISC)$/$(PYUNORC) : pyuno
- -rm -f $@
- cat pyuno > $@
+$(MISC)/$(PYUNORC) : pyuno
+ -rm -f $@
+ cat pyuno > $@
-$(MISC)$/pyuno.flt : pyuno.flt
- -rm -f $@
- cat $? > $@
+$(MISC)/pyuno.flt : pyuno.flt
+ -rm -f $@
+ cat $? > $@
.IF "$(DLLPRE)"!=""
# python does not accept the "lib" prefix in the module library
-$(LB)$/$(TARGET)$(DLLPOST) : $(LB)$/$(DLLPRE)$(TARGET)$(DLLPOST)
- -rm -f $@
- ln -s $? $@
+$(LB)/$(TARGET)$(DLLPOST) : $(LB)/$(DLLPRE)$(TARGET)$(DLLPOST)
+ -rm -f $@
+ ln -s $? $@
.ENDIF
.ENDIF # L10N_framework
-
-# vim:set shiftwidth=4 softtabstop=4 expandtab: