makefile.mk (0ea1a209) makefile.mk (a44fea77)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#

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

31TARGET=mythes
32
33# --- Settings -----------------------------------------------------
34
35.INCLUDE : settings.mk
36
37# --- Files --------------------------------------------------------
38
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#

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

31TARGET=mythes
32
33# --- Settings -----------------------------------------------------
34
35.INCLUDE : settings.mk
36
37# --- Files --------------------------------------------------------
38
39.IF "$(DISABLE_HUNSPELL)" == ""
40
41TARFILE_NAME=mythes-1.2.0
42TARFILE_MD5=067201ea8b126597670b5eff72e1f66c
43
44ADDITIONAL_FILES += makefile.mk
45
46PATCH_FILES=mythes-1.2.0-vanilla-th-gen-idx.patch \
39
40TARFILE_NAME=mythes-1.2.0
41TARFILE_MD5=067201ea8b126597670b5eff72e1f66c
42
43ADDITIONAL_FILES += makefile.mk
44
45PATCH_FILES=mythes-1.2.0-vanilla-th-gen-idx.patch \
47 mythes-1.2.0-makefile-mk.diff
46 mythes-1.2.0-makefile-mk.diff \
47 mythes-1.2.0-disable-example.patch
48
49.IF "$(GUI)"=="UNX"
50CONFIGURE_DIR=$(BUILD_DIR)
51
52.IF "$(SYSTEM_MYTHES)" != "YES"
53
48
49.IF "$(GUI)"=="UNX"
50CONFIGURE_DIR=$(BUILD_DIR)
51
52.IF "$(SYSTEM_MYTHES)" != "YES"
53
54.IF "$(SYSTEM_HUNSPELL)" != "YES"
55HUNSPELL_CFLAGS +:= -I$(SOLARINCDIR)$/hunspell
56HUNSPELL_LIBS +:= -L$(SOLARLIBDIR) -lhunspell-1.2
57.ENDIF
58
59#relative to CONFIGURE_DIR
60# still needed also in system-mythes case as it creates the makefile
61CONFIGURE_ACTION=configure
62CONFIGURE_FLAGS= --disable-shared --with-pic
63
64.IF "$(COM)"=="C52" && "$(CPU)"=="U"
65LCL_CONFIGURE_CFLAGS+=-m64
66.ENDIF

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

82OUT2INC += mythes.hxx
83.ENDIF
84.ENDIF # "$(GUI)"=="UNX"
85
86
87.IF "$(GUI)"=="WNT"
88.IF "$(COM)"=="GCC"
89CONFIGURE_ACTION=configure
54#relative to CONFIGURE_DIR
55# still needed also in system-mythes case as it creates the makefile
56CONFIGURE_ACTION=configure
57CONFIGURE_FLAGS= --disable-shared --with-pic
58
59.IF "$(COM)"=="C52" && "$(CPU)"=="U"
60LCL_CONFIGURE_CFLAGS+=-m64
61.ENDIF

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

77OUT2INC += mythes.hxx
78.ENDIF
79.ENDIF # "$(GUI)"=="UNX"
80
81
82.IF "$(GUI)"=="WNT"
83.IF "$(COM)"=="GCC"
84CONFIGURE_ACTION=configure
90CONFIGURE_FLAGS= --disable-shared --with-pic \
91 HUNSPELL_CFLAGS=-I$(SOLARINCDIR)$/hunspell \
92 HUNSPELL_LIBS="-L$(SOLARLIBDIR) -lhunspell-1.2"
85CONFIGURE_FLAGS= --disable-shared --with-pic
93
94BUILD_ACTION=make
95
96.ELSE
97BUILD_ACTION=dmake
98.ENDIF # "$(COM)"=="GCC"
99OUT2INC += mythes.hxx
100.ENDIF # "$(GUI)"=="WNT"
101
102.IF "$(GUI)"=="OS2"
103BUILD_ACTION=dmake
104OUT2INC += mythes.hxx
105.ENDIF # "$(GUI)"=="OS2"
106
107# --- Targets ------------------------------------------------------
108
109.INCLUDE : set_ext.mk
110.INCLUDE : target.mk
111.INCLUDE : tg_ext.mk
86
87BUILD_ACTION=make
88
89.ELSE
90BUILD_ACTION=dmake
91.ENDIF # "$(COM)"=="GCC"
92OUT2INC += mythes.hxx
93.ENDIF # "$(GUI)"=="WNT"
94
95.IF "$(GUI)"=="OS2"
96BUILD_ACTION=dmake
97OUT2INC += mythes.hxx
98.ENDIF # "$(GUI)"=="OS2"
99
100# --- Targets ------------------------------------------------------
101
102.INCLUDE : set_ext.mk
103.INCLUDE : target.mk
104.INCLUDE : tg_ext.mk
112
113.IF "$(SYSTEM_HUNSPELL)" != "YES"
114.EXPORT: HUNSPELL_LIBS HUNSPELL_CFLAGS
115.ENDIF
116
117.ELSE
118all:
119 @echo "hunspell disabled"
120.ENDIF