~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to gettext-runtime/libasprintf/Makefile.vms

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- Makefile -*- for gettext-runtime/libasprintf on VMS using the MMS utility
 
2
 
 
3
#### Start of system configuration section. ####
 
4
 
 
5
# Directories used by "make install":
 
6
prefix = SYS$DATA:[
 
7
exec_prefix = $(prefix)
 
8
datadir = $(prefix).share
 
9
bindir = $(exec_prefix).bin
 
10
libdir = $(exec_prefix).lib
 
11
includedir = $(prefix).include
 
12
# For this subpackage only.
 
13
sub_docdir = $(datadir).doc.libasprintf
 
14
 
 
15
# Programs used by "make":
 
16
 
 
17
CC = cc
 
18
CXX = cxx
 
19
 
 
20
# These flags affect binary compatibility. GNU gettext does not need them,
 
21
# but other packages do, and we need to be binary compatible with them.
 
22
ABIFLAGS = /name=(as_is,short) /float=ieee
 
23
 
 
24
WARN_CFLAGS = /warning
 
25
 
 
26
OPTIMFLAGS = /optimize
 
27
 
 
28
CFLAGS = $(ABIFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS)
 
29
CXXFLAGS = $(ABIFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS)
 
30
DEFS = "VMS=1","HAVE_CONFIG_H=1"
 
31
 
 
32
INCLUDES = /include=([])
 
33
 
 
34
AR = library
 
35
AR_FLAGS = /create
 
36
 
 
37
LN = copy
 
38
RM = delete
 
39
 
 
40
# Programs used by "make install":
 
41
INSTALL = copy
 
42
INSTALL_PROGRAM = copy
 
43
INSTALL_DATA = copy
 
44
 
 
45
#### End of system configuration section. ####
 
46
 
 
47
OBJECTS = lib-asprintf.obj,autosprintf.obj
 
48
 
 
49
all : autosprintf.h,asprintf.olb
 
50
        write sys$output "Nothing else to be done for 'all'."
 
51
 
 
52
autosprintf.h :
 
53
        if f$search("autosprintf.h_in") .nes. "" then $(LN) autosprintf.h_in autosprintf.h
 
54
        if f$search("autosprintf.h_in") .eqs. "" then $(LN) autosprintf.h.in autosprintf.h
 
55
 
 
56
config.h : config.h_vms
 
57
        $(LN) config.h_vms config.h
 
58
 
 
59
alloca.h : alloca_.h
 
60
        $(LN) alloca_.h alloca.h
 
61
 
 
62
lib-asprintf.obj : lib-asprintf.c,config.h,printf-args.h,printf-args.c,printf-parse.h,printf-parse.c,alloca.h,vasnprintf.h,vasnprintf.c,asnprintf.c,vasprintf.h,vasprintf.c,asprintf.c
 
63
        $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) lib-asprintf.c
 
64
 
 
65
autosprintf.obj : autosprintf.cc,autosprintf.h,config.h,lib-asprintf.h
 
66
        $(CXX) $(INCLUDES) $(CXXFLAGS) /define=($(DEFS)) autosprintf.cc
 
67
 
 
68
asprintf.olb : $(OBJECTS)
 
69
        $(AR) $(AR_FLAGS) asprintf.olb $(OBJECTS)
 
70
 
 
71
install : all
 
72
        create /directory $(prefix)]
 
73
        create /directory $(includedir)]
 
74
        $(INSTALL_DATA) autosprintf.h $(includedir)]autosprintf.h
 
75
        create /directory $(exec_prefix)]
 
76
        create /directory $(libdir)]
 
77
        $(INSTALL_DATA) asprintf.olb $(libdir)]asprintf.olb
 
78
        create /directory $(datadir)]
 
79
        create /directory $(datadir).doc]
 
80
        create /directory $(sub_docdir)]
 
81
        $(INSTALL_DATA) [.doc]autosprintf.html $(sub_docdir)]autosprintf.html
 
82
 
 
83
installdirs :
 
84
        create /directory $(prefix)]
 
85
        create /directory $(includedir)]
 
86
        create /directory $(exec_prefix)]
 
87
        create /directory $(libdir)]
 
88
        create /directory $(datadir)]
 
89
        create /directory $(datadir).doc]
 
90
        create /directory $(sub_docdir)]
 
91
 
 
92
uninstall :
 
93
        $(RM) $(includedir)]autosprintf.h;
 
94
        $(RM) $(libdir)]asprintf.olb;
 
95
        $(RM) $(sub_docdir)]autosprintf.html;
 
96
 
 
97
check : all
 
98
        write sys$output "Nothing else to be done for 'check'."
 
99
 
 
100
mostlyclean : clean
 
101
        write sys$output "Nothing else to be done for 'mostlyclean'."
 
102
 
 
103
clean :
 
104
        $(RM) autosprintf.h;*
 
105
        $(RM) config.h;*
 
106
        $(RM) alloca.h;*
 
107
        $(RM) *.obj;*
 
108
        $(RM) *.olb;*
 
109
 
 
110
distclean : clean
 
111
        write sys$output "Nothing else to be done for 'distclean'."
 
112
 
 
113
maintainer-clean : distclean
 
114
        write sys$output "Nothing else to be done for 'maintainer-clean'."