| 1 |
# This library is free software; you can redistribute it and/or |
| 2 |
# modify it under the terms of the GNU Lesser General Public |
| 3 |
# License as published by the Free Software Foundation; either |
| 4 |
# version 2.1 of the License, or (at your option) any later version. |
| 5 |
# You may obtain a copy of the Licence at |
| 6 |
# http://www.gnu.org/licences/lgpl.html |
| 7 |
# |
| 8 |
# As a special exception this file can also be included in modules |
| 9 |
# with other source code as long as that source code has been |
| 10 |
# released under an Open Source Initiative certificed licence. |
| 11 |
# More information about OSI certification can be found at: |
| 12 |
# http://www.opensource.org |
| 13 |
# |
| 14 |
# This module is distributed in the hope that it will be useful, |
| 15 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 |
# GNU Lesser General Public Licence for more details. |
| 18 |
# |
| 19 |
# This module was created by members of the firebird development |
| 20 |
# team. All individual contributions remain the Copyright (C) of |
| 21 |
# those individuals and all rights are reserved. Contributors to |
| 22 |
# this file are either listed below or can be obtained from a CVS |
| 23 |
# history command. |
| 24 |
# |
| 25 |
# Created by: Erik Kunze <[email protected]> |
| 26 |
# |
| 27 |
# Contributor(s): |
| 28 |
# |
| 29 |
# |
| 30 |
|
| 31 |
ROOT=.. |
| 32 |
|
| 33 |
include $(ROOT)/gen/make.defaults |
| 34 |
include $(ROOT)/gen/make.platform |
| 35 |
include $(ROOT)/gen/make.rules |
| 36 |
include $(ROOT)/gen/make.shared.variables |
| 37 |
|
| 38 |
@SET_MAKE@ |
| 39 |
|
| 40 |
|
| 41 |
PGK_FILES=pkginfo prototype preinstall postinstall postremove |
| 42 |
PKG_DIR=$(RealFirebirdPath)/../install |
| 43 |
PKG_NAME=Firebird-$(FirebirdVersion).$(BuildNum)-$(PackageVersion)-SolX86.pkg |
| 44 |
LGCC_PKG_NAME=LibGCC-3.x.FB-runtime-SolX86.pkg |
| 45 |
|
| 46 |
install package packages dist: |
| 47 |
@echo Making Solaris x86 package... |
| 48 |
rm -rf $(PKG_DIR)/FB2SI |
| 49 |
-mkdir -p $(PKG_DIR) |
| 50 |
(cd $(PKG_DIR); pkgmk -o -d $(PKG_DIR)) |
| 51 |
pkgtrans -s $(PKG_DIR) $(PKG_DIR)/$(PKG_NAME) FB2SI |
| 52 |
libs: |
| 53 |
@echo Making Solaris x86 LIBGCC package... |
| 54 |
rm -rf $(PKG_DIR)/FBLIBGCC |
| 55 |
-mkdir -p $(PKG_DIR) |
| 56 |
(cd $(PKG_DIR); pkgmk -o -f prototypelg -d $(PKG_DIR)) |
| 57 |
pkgtrans -s $(PKG_DIR) $(PKG_DIR)/$(LGCC_PKG_NAME) FBLIBGCC |
| 58 |
|
| 59 |
clean clobber: |
| 60 |
rm -rf $(PKG_DIR)/FB2SI |
| 61 |
rm -rf $(PKG_DIR)/FBLIBGCC |
| 62 |
rm -f $(PKG_DIR)/$(PKG_NAME) |