~ubuntu-branches/ubuntu/precise/ncurses/precise

« back to all changes in this revision

Viewing changes to include/MKterm.h.awk.in

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-11 16:40:32 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081111164032-dudxd0hy2im0f2bj
Tags: 5.7-2ubuntu1
* Merge from debian unstable, remaining changes:
  - On amd64, use /{,usr/}lib32 instead of /emul/ia32-linux/.
  - Link using -Bsymbolic-functions.
  - Don't install the upstream changelog in the runtime library packages.

* Install wide-character patches into /{,usr/}lib32 as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# vile:awkmode
2
2
BEGIN           {
3
3
                    print  "/****************************************************************************"
4
 
                    print  " * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc.              *"
 
4
                    print  " * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc.              *"
5
5
                    print  " *                                                                          *"
6
6
                    print  " * Permission is hereby granted, free of charge, to any person obtaining a  *"
7
7
                    print  " * copy of this software and associated documentation files (the            *"
34
34
                    print  "/*    and: Thomas E. Dickey                        1995-on                  */"
35
35
                    print  "/****************************************************************************/"
36
36
                    print  ""
37
 
                    print  "/* $Id: MKterm.h.awk.in,v 1.49 2007/08/18 11:44:26 tom Exp $ */"
 
37
                    print  "/* $Id: MKterm.h.awk.in,v 1.50 2008/05/24 23:13:59 tom Exp $ */"
38
38
                    print  ""
39
39
                    print  "/*"
40
40
                    print  "**  term.h -- Definition of struct term"
228
228
                        print  "    char *      _termname;      /* used for termname() */"
229
229
                        print  "} TERMINAL;"
230
230
                        print  ""
231
 
                        print  "extern NCURSES_EXPORT_VAR(TERMINAL *) cur_term;"
232
 
                        print  ""
233
231
                        print  "#if @BROKEN_LINKER@ || @cf_cv_enable_reentrant@"
 
232
                        print  "NCURSES_WRAPPED_VAR(TERMINAL *, cur_term);"
234
233
                        print  "NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, boolnames);"
235
234
                        print  "NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, boolcodes);"
236
235
                        print  "NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, boolfnames);"
241
240
                        print  "NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, strcodes);"
242
241
                        print  "NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, strfnames);"
243
242
                        print  ""
 
243
                        print  "#define cur_term   NCURSES_PUBLIC_VAR(cur_term())"
244
244
                        print  "#define boolnames  NCURSES_PUBLIC_VAR(boolnames())"
245
245
                        print  "#define boolcodes  NCURSES_PUBLIC_VAR(boolcodes())"
246
246
                        print  "#define boolfnames NCURSES_PUBLIC_VAR(boolfnames())"
253
253
                        print  ""
254
254
                        print  "#else"
255
255
                        print  ""
 
256
                        print  "extern NCURSES_EXPORT_VAR(TERMINAL *) cur_term;"
 
257
                        print  ""
256
258
                        print  "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolnames[];"
257
259
                        print  "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];"
258
260
                        print  "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolfnames[];"