Update ooo320-m1
[ooovba.git] / shell / source / unix / exec / makefile.mk
blobe23e249e08353a51607603041f7aeb24f9b4a7b1
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.12 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..$/..
33 PRJNAME=shell
34 TARGET=exec
36 LIBTARGET=NO
37 ENABLE_EXCEPTIONS=TRUE
39 COMP1TYPELIST=syssh
41 TESTAPP1=urltest
43 # --- Settings -----------------------------------------------------
45 .INCLUDE : settings.mk
47 # --- Files --------------------------------------------------------
49 DLLPRE=
51 SLOFILES=$(SLO)$/shellexec.obj\
52 $(SLO)$/shellexecentry.obj
54 SHL1OBJS=$(SLOFILES)
56 SHL1TARGET=syssh.uno
57 .IF "$(GUI)" == "OS2"
58 SHL1IMPLIB=i$(TARGET)
59 .ELSE
60 SHL1IMPLIB=
61 .ENDIF
63 SHL1VERSIONMAP=exports.map
64 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
65 DEF1NAME=$(SHL1TARGET)
67 SHL1STDLIBS=$(CPPULIB)\
68 $(CPPUHELPERLIB)\
69 $(SALLIB)
70 SHL1LIBS=
71 SHL1DEPN=
73 .IF "$(test)" != ""
75 APP1TARGET=$(TESTAPP1)
76 APP1STDLIBS= $(SHL1STDLIBS)
77 APP1OBJS= \
78 $(SLO)$/shellexec.obj \
79 $(SLO)$/$(APP1TARGET).obj
81 .ENDIF # "$(test)" != ""
84 # --- Targets ------------------------------------------------------
86 .INCLUDE : target.mk
88 run_test : $(BIN)$/$(TESTAPP1).sh
89 dmake test=t
90 $(BIN)$/$(TESTAPP1) urltest.txt
92 $(BIN)$/$(TESTAPP1).sh : $$(@:f)
93 $(COPY) $< $@
94 -chmod +x $@