makefile.mk (752c0af7) makefile.mk (0a45483e)
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

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

49PYTHONBINARY=$(DESTROOT)$/bin$/python$(EXECPOST)
50.ENDIF
51.ENDIF
52
53FINDLIBFILES_TMP:=$(subst,/,$/ \
54 $(shell @$(FIND) $(SOLARLIBDIR)$/python -type f| $(GREP) -v "\.pyc" |$(GREP) -v "\.py~" |$(GREP) -v .orig | $(GREP) -v _failed))
55FINDLIBFILES=$(subst,$(SOLARLIBDIR)$/python, $(FINDLIBFILES_TMP))
56
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

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

49PYTHONBINARY=$(DESTROOT)$/bin$/python$(EXECPOST)
50.ENDIF
51.ENDIF
52
53FINDLIBFILES_TMP:=$(subst,/,$/ \
54 $(shell @$(FIND) $(SOLARLIBDIR)$/python -type f| $(GREP) -v "\.pyc" |$(GREP) -v "\.py~" |$(GREP) -v .orig | $(GREP) -v _failed))
55FINDLIBFILES=$(subst,$(SOLARLIBDIR)$/python, $(FINDLIBFILES_TMP))
56
57FINDINCFILES_TMP:=$(subst,/,$/ \
58 $(shell @$(FIND) $(SOLARINCDIR)$/python -type f| $(GREP) -v "\.h~" | $(GREP) -v _failed))
59FINDINCFILES=$(subst,$(SOLARINCDIR)$/python, $(FINDINCFILES_TMP))
60
57FILES=\
58 $(PYTHONBINARY) \
61FILES=\
62 $(PYTHONBINARY) \
59 $(foreach,i,$(FINDLIBFILES) $(DESTROOT)$/lib$(i))
63 $(foreach,i,$(FINDLIBFILES) $(DESTROOT)$/lib$(i)) \
64 $(foreach,i,$(FINDINCFILES) $(DESTROOT)$/include$/python$(PYMAJOR).$(PYMINOR)$(i))
60
61.IF "$(OS)" == "WNT"
62APP1TARGET = python
63APP1OBJS = $(OBJFILES) $(SOLARLIBDIR)$/pathutils-obj.obj
64APP1STDLIBS =
65APP1RPATH = BRAND
66OBJFILES = $(OBJ)$/python.obj
67.ENDIF

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

96 -rm -f $@
97 cd $(BIN) && zip -r $(PYDIRNAME).zip $(PYDIRNAME)
98
99$(DESTROOT)$/lib$/% : $(SOLARLIBDIR)$/python$/%
100 -$(MKDIRHIER) $(@:d)
101 -rm -f $@
102 cat $< > $@
103
65
66.IF "$(OS)" == "WNT"
67APP1TARGET = python
68APP1OBJS = $(OBJFILES) $(SOLARLIBDIR)$/pathutils-obj.obj
69APP1STDLIBS =
70APP1RPATH = BRAND
71OBJFILES = $(OBJ)$/python.obj
72.ENDIF

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

101 -rm -f $@
102 cd $(BIN) && zip -r $(PYDIRNAME).zip $(PYDIRNAME)
103
104$(DESTROOT)$/lib$/% : $(SOLARLIBDIR)$/python$/%
105 -$(MKDIRHIER) $(@:d)
106 -rm -f $@
107 cat $< > $@
108
109$(DESTROOT)$/include$/python$(PYMAJOR).$(PYMINOR)%: $(SOLARINCDIR)$/python$/%
110 -$(MKDIRHIER) $(@:d)
111 -rm -f $@
112 cat $< > $@
113
104.IF "$(GUI)"== "UNX"
105$(BIN)$/python$(EXECPOST).bin : $(SOLARBINDIR)$/python$(EXECPOST)
106 -$(MKDIRHIER) $(@:d)
107 -rm -f $@
108 cat $< > $@
109.IF "$(OS)" != "MACOSX"
110 strip $@
111.ENDIF

--- 17 unchanged lines hidden ---
114.IF "$(GUI)"== "UNX"
115$(BIN)$/python$(EXECPOST).bin : $(SOLARBINDIR)$/python$(EXECPOST)
116 -$(MKDIRHIER) $(@:d)
117 -rm -f $@
118 cat $< > $@
119.IF "$(OS)" != "MACOSX"
120 strip $@
121.ENDIF

--- 17 unchanged lines hidden ---