Commit 538988aeff0908fa912ed70f1b64ed4761f85a98
1 parent
c95c96a4
Exists in
master
and in
5 other branches
Ajustes para empacotamento.
Showing
4 changed files
with
92 additions
and
25 deletions
Show diff stats
Makefile.in
| ... | ... | @@ -38,7 +38,6 @@ exec_prefix=@exec_prefix@ |
| 38 | 38 | bindir=@bindir@ |
| 39 | 39 | sbindir=@sbindir@ |
| 40 | 40 | libdir=@libdir@ |
| 41 | -includedir=@includedir@ | |
| 42 | 41 | datarootdir=@datarootdir@ |
| 43 | 42 | localedir=${datarootdir}/locale |
| 44 | 43 | docdir=@docdir@ |
| ... | ... | @@ -167,6 +166,7 @@ install: \ |
| 167 | 166 | |
| 168 | 167 | @$(MAKE) -C ui install |
| 169 | 168 | @$(MAKE) -C locale install |
| 169 | + @$(MAKE) -C sdk install | |
| 170 | 170 | |
| 171 | 171 | #---[ Debug targets ]---------------------------------------------------------- |
| 172 | 172 | |
| ... | ... | @@ -225,7 +225,8 @@ $(SRCDIR): \ |
| 225 | 225 | clean \ |
| 226 | 226 | $(SRCDIR)/ui \ |
| 227 | 227 | $(SRCDIR)/src/lib3270 \ |
| 228 | - $(SRCDIR)/src/pw3270 | |
| 228 | + $(SRCDIR)/src/pw3270 \ | |
| 229 | + $(SRCDIR)/sdk | |
| 229 | 230 | |
| 230 | 231 | @$(MKDIR) $(SRCDIR) |
| 231 | 232 | @$(INSTALL_DATA) \ |
| ... | ... | @@ -257,31 +258,10 @@ $(SRCDIR): \ |
| 257 | 258 | scripts/* \ |
| 258 | 259 | $(SRCDIR)/scripts |
| 259 | 260 | |
| 260 | - @$(MKDIR) $(SRCDIR)/sdk | |
| 261 | - @$(INSTALL_DATA) \ | |
| 262 | - sdk/*.in \ | |
| 263 | - $(SRCDIR)/sdk | |
| 264 | - | |
| 265 | 261 | @$(INSTALL_DATA) \ |
| 266 | 262 | rpm/*.spec \ |
| 267 | 263 | $(SRCDIR) |
| 268 | 264 | |
| 269 | - @$(MKDIR) $(SRCDIR)/src/include | |
| 270 | - @$(INSTALL_DATA) \ | |
| 271 | - src/include/*.h \ | |
| 272 | - $(SRCDIR)/src/include | |
| 273 | - | |
| 274 | - @$(MKDIR) $(SRCDIR)/src/include/lib3270 | |
| 275 | - @$(INSTALL_DATA) \ | |
| 276 | - src/include/lib3270/*.h \ | |
| 277 | - src/include/lib3270/*.in \ | |
| 278 | - $(SRCDIR)/src/include/lib3270 | |
| 279 | - | |
| 280 | - @$(MKDIR) $(SRCDIR)/src/include/pw3270 | |
| 281 | - @$(INSTALL_DATA) \ | |
| 282 | - src/include/pw3270/*.h \ | |
| 283 | - $(SRCDIR)/src/include/pw3270 | |
| 284 | - | |
| 285 | 265 | |
| 286 | 266 | #---[ Clean Targets ]----------------------------------------------------------$( |
| 287 | 267 | ... | ... |
configure.ac
locale/pw3270.pot
| ... | ... | @@ -9,7 +9,7 @@ msgstr "" |
| 9 | 9 | "#-#-#-#-# lib3270.pot (PACKAGE VERSION) #-#-#-#-#\n" |
| 10 | 10 | "Project-Id-Version: PACKAGE VERSION\n" |
| 11 | 11 | "Report-Msgid-Bugs-To: \n" |
| 12 | -"POT-Creation-Date: 2017-01-18 17:22-0200\n" | |
| 12 | +"POT-Creation-Date: 2017-01-18 17:33-0200\n" | |
| 13 | 13 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 14 | 14 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 15 | 15 | "Language-Team: LANGUAGE <LL@li.org>\n" |
| ... | ... | @@ -20,7 +20,7 @@ msgstr "" |
| 20 | 20 | "#-#-#-#-# pw3270.pot (PACKAGE VERSION) #-#-#-#-#\n" |
| 21 | 21 | "Project-Id-Version: PACKAGE VERSION\n" |
| 22 | 22 | "Report-Msgid-Bugs-To: \n" |
| 23 | -"POT-Creation-Date: 2017-01-18 17:22-0200\n" | |
| 23 | +"POT-Creation-Date: 2017-01-18 17:33-0200\n" | |
| 24 | 24 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 25 | 25 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 26 | 26 | "Language-Team: LANGUAGE <LL@li.org>\n" | ... | ... |
| ... | ... | @@ -0,0 +1,86 @@ |
| 1 | +# | |
| 2 | +# "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 | |
| 3 | +# (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a | |
| 4 | +# aplicativos mainframe. Registro no INPI sob o nome G3270. | |
| 5 | +# | |
| 6 | +# Copyright (C) <2008> <Banco do Brasil S.A.> | |
| 7 | +# | |
| 8 | +# Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob | |
| 9 | +# os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela | |
| 10 | +# Free Software Foundation. | |
| 11 | +# | |
| 12 | +# Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER | |
| 13 | +# GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO | |
| 14 | +# A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para | |
| 15 | +# obter mais detalhes. | |
| 16 | +# | |
| 17 | +# Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este | |
| 18 | +# programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple | |
| 19 | +# Place, Suite 330, Boston, MA, 02111-1307, USA | |
| 20 | +# | |
| 21 | +# Contatos: | |
| 22 | +# | |
| 23 | +# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) | |
| 24 | +# erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça) | |
| 25 | +# | |
| 26 | + | |
| 27 | + | |
| 28 | +#---[ Configuration values ]------------------------------------------------------------- | |
| 29 | + | |
| 30 | +prefix=@prefix@ | |
| 31 | +exec_prefix=@exec_prefix@ | |
| 32 | +includedir=@includedir@ | |
| 33 | +libdir=@libdir@ | |
| 34 | + | |
| 35 | +BASEDIR=@BASEDIR@ | |
| 36 | +SRCDIR=$(BASEDIR)/.src/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) | |
| 37 | + | |
| 38 | +PACKAGE_NAME=@PACKAGE_NAME@ | |
| 39 | +PACKAGE_VERSION=@PACKAGE_VERSION@ | |
| 40 | +PACKAGE_TARNAME=@PACKAGE_TARNAME@ | |
| 41 | + | |
| 42 | +MKDIR=@MKDIR_P@ | |
| 43 | +INSTALL=@INSTALL@ | |
| 44 | +INSTALL_DATA=@INSTALL_DATA@ | |
| 45 | + | |
| 46 | +#---[ Rules ]---------------------------------------------------------------------------- | |
| 47 | + | |
| 48 | +$(DESTDIR)$(libdir)/pkgconfig/%.pc: \ | |
| 49 | + %.pc | |
| 50 | + | |
| 51 | + @$(MKDIR) `dirname $@` | |
| 52 | + @$(INSTALL_DATA) $^ $@ | |
| 53 | + | |
| 54 | +$(DESTDIR)$(includedir)/%.h: \ | |
| 55 | + $(BASEDIR)/src/include/%.h | |
| 56 | + | |
| 57 | + @$(MKDIR) `dirname $@` | |
| 58 | + @$(INSTALL_DATA) $^ $@ | |
| 59 | + | |
| 60 | +$(SRCDIR)/src/include/%.h: \ | |
| 61 | + $(BASEDIR)/src/include/%.h | |
| 62 | + | |
| 63 | + @$(MKDIR) `dirname $@` | |
| 64 | + @$(INSTALL_DATA) $^ $@ | |
| 65 | + | |
| 66 | + | |
| 67 | +#---[ Targets ]-------------------------------------------------------------------------- | |
| 68 | + | |
| 69 | +install: \ | |
| 70 | + $(foreach SRC, $(basename $(wildcard *.pc)), $(DESTDIR)$(libdir)/pkgconfig/$(SRC).pc) \ | |
| 71 | + $(foreach SRC, $(notdir $(wildcard $(BASEDIR)/src/include/lib3270/*.h)), $(DESTDIR)$(includedir)/lib3270/$(SRC)) \ | |
| 72 | + $(foreach SRC, $(notdir $(wildcard $(BASEDIR)/src/include/pw3270/*.h)), $(DESTDIR)$(includedir)/pw3270/$(SRC)) \ | |
| 73 | + $(DESTDIR)$(includedir)/lib3270.h \ | |
| 74 | + $(DESTDIR)$(includedir)/pw3270.h | |
| 75 | + | |
| 76 | + | |
| 77 | +$(SRCDIR)/sdk: \ | |
| 78 | + $(foreach SRC, $(notdir $(wildcard $(BASEDIR)/src/include/lib3270/*.h)), $(SRCDIR)/src/include/lib3270/$(SRC)) \ | |
| 79 | + $(foreach SRC, $(notdir $(wildcard $(BASEDIR)/src/include/pw3270/*.h)), $(SRCDIR)/src/include/pw3270/$(SRC)) \ | |
| 80 | + $(SRCDIR)/src/include/lib3270.h \ | |
| 81 | + $(SRCDIR)/src/include/pw3270.h | |
| 82 | + | |
| 83 | + @$(MKDIR) $@/sdk | |
| 84 | + @$(INSTALL_DATA) *.in $@/sdk | |
| 85 | + | |
| 86 | + | ... | ... |