~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/3rdparty/qmake/makefile.vms

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
Import upstream version 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 1988, 1989, 1996, 1997 Free Software Foundation, Inc.
 
2
# This file is part of GNU Make.
 
3
#
 
4
# VMS extensions from GNU Make 3.60 imported by
 
5
#  Klaus K�mpf (kkaempf@progis.de) of proGIS Software, Aachen, Germany
 
6
#
 
7
# GNU Make is free software; you can redistribute it and/or modify
 
8
# it under the terms of the GNU General Public License as published by
 
9
# the Free Software Foundation; either version 2, or (at your option)
 
10
# any later version.
 
11
#
 
12
# GNU Make is distributed in the hope that it will be useful,
 
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
# GNU General Public License for more details.
 
16
#
 
17
# You should have received a copy of the GNU General Public License
 
18
# along with GNU Make; see the file COPYING.  If not, write to
 
19
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
# Boston, MA 02111-1307, USA.
 
21
 
 
22
CC = cc/warn
 
23
CP = copy
 
24
 
 
25
%.obj: %.c
 
26
        $(CC) $(CFLAGS)/obj=$@ $<
 
27
#
 
28
#       Makefile for GNU Make
 
29
#
 
30
 
 
31
CFLAGS = $(defines) /debug/noopt/include=([],[.glob])
 
32
#LDFLAGS = /deb
 
33
LDFLAGS =
 
34
 
 
35
defines = /define=("unlink=remove","HAVE_CONFIG_H","VMS","allocated_variable_expand_for_file=alloc_var_expand_for_file")
 
36
 
 
37
LOAD_AVG = /define="NO_LDAV"
 
38
 
 
39
# If you don't want archive support, comment these out.
 
40
ARCHIVES = ,ar.obj,arscan.obj
 
41
ARCHIVES_SRC = ar.c arscan.c
 
42
 
 
43
# If your system needs extra libraries loaded in, define them here.
 
44
# System V probably need -lPW for alloca.
 
45
# if on vax, uncomment the following line
 
46
#LOADLIBES = ,c.opt/opt
 
47
LOADLIBES =,sys$$library:vaxcrtl.olb/lib
 
48
 
 
49
# If your system doesn't have alloca, or the one provided is bad,
 
50
# get it from the Emacs distribution and define these.
 
51
ALLOCA = ,alloca.obj
 
52
ALLOCASRC = alloca.c
 
53
 
 
54
# If there are remote execution facilities defined,
 
55
# enable them with switches here (see remote-*.c).
 
56
REMOTE =
 
57
 
 
58
# Any extra object files your system needs.
 
59
extras = ,signame.obj,remote-stub.obj,vmsfunctions.obj,vmsify.obj
 
60
#,directory.obj
 
61
# as an alternative:
 
62
glob = ,[.glob]glob.obj,[.glob]fnmatch.obj
 
63
getopt = ,getopt.obj,getopt1.obj
 
64
# Directory to install `make' in.
 
65
bindir = []
 
66
# Directory to install the man page in.
 
67
mandir = []
 
68
# Number to put on the man page filename.
 
69
manext = 1
 
70
 
 
71
objs = commands.obj,job.obj,dir.obj,file.obj,misc.obj,\
 
72
       main.obj,read.obj,remake.obj,rule.obj,implicit.obj,\
 
73
       default.obj,variable.obj,expand.obj,function.obj,\
 
74
       vpath.obj,version.obj$(ARCHIVES)$(ALLOCA)$(extras)$(getopt)$(glob)
 
75
srcs = commands.c job.c dir.c file.c misc.c \
 
76
        main.c read.c remake.c rule.c implicit.c \
 
77
        default.c variable.c expand.c function.c \
 
78
        vpath.c version.c vmsfunctions.c vmsify.c $(ARCHIVES_SRC) $(ALLOCASRC) \
 
79
        commands.h dep.h filedef.h job.h make.h rule.h variable.h
 
80
 
 
81
 
 
82
.PHONY: all doc
 
83
all: config.h make.exe
 
84
 
 
85
doc: make.info make.dvi
 
86
 
 
87
 
 
88
make.exe: $(objs)
 
89
        $(LD)$(LDFLAGS)/exe=$@ $^$(LOADLIBES)
 
90
 
 
91
.PHONY: clean realclean
 
92
clean:
 
93
        -$(RM) make.exe;,*.obj;*
 
94
 
 
95
# Automatically generated dependencies.
 
96
commands.obj: commands.c make.h dep.h commands.h filedef.h variable.h job.h
 
97
job.obj: job.c make.h commands.h job.h filedef.h variable.h
 
98
dir.obj: dir.c make.h
 
99
file.obj: file.c make.h commands.h dep.h filedef.h variable.h
 
100
misc.obj: misc.c make.h dep.h
 
101
main.obj: main.c make.h commands.h dep.h filedef.h variable.h job.h
 
102
read.obj: read.c make.h commands.h dep.h filedef.h variable.h
 
103
remake.obj: remake.c make.h commands.h job.h dep.h filedef.h
 
104
rule.obj: rule.c make.h commands.h dep.h filedef.h variable.h rule.h
 
105
implicit.obj: implicit.c make.h rule.h dep.h filedef.h
 
106
default.obj: default.c make.h rule.h dep.h filedef.h commands.h variable.h
 
107
variable.obj: variable.c make.h commands.h variable.h dep.h filedef.h
 
108
expand.obj: expand.c make.h commands.h filedef.h variable.h
 
109
function.obj: function.c make.h variable.h dep.h commands.h job.h
 
110
vpath.obj: vpath.c make.h filedef.h variable.h
 
111
version.obj: version.c
 
112
arscan.obj: arscan.c
 
113
ar.obj: ar.c make.h filedef.h
 
114
signame.obj: signame.c
 
115
remote-stub.obj: remote-stub.c
 
116
[.glob]glob.obj: [.glob]glob.c
 
117
[.glob]fnmatch.obj: [.glob]fnmatch.c
 
118
getopt.obj: getopt.c
 
119
getopt1.obj: getopt1.c
 
120
 
 
121
config.h: config.h-vms
 
122
        $(CP) $< $@