View | Details | Raw Unified | Return to issue 118604
Collapse All | Expand All

(-)a/main/dmake/startup/templates/mac/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= mac
6
   OSRELEASE     *:= 
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/msdos/borland/bcc30/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= msdos
6
   OSRELEASE     *:= borland
7
   OSENVIRONMENT *:= bcc30
(-)a/main/dmake/startup/templates/msdos/borland/bcc40/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= msdos
6
   OSRELEASE     *:= borland
7
   OSENVIRONMENT *:= bcc40
(-)a/main/dmake/startup/templates/msdos/borland/bcc45/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= msdos
6
   OSRELEASE     *:= borland
7
   OSENVIRONMENT *:= bcc45
(-)a/main/dmake/startup/templates/msdos/borland/bcc50/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= msdos
6
   OSRELEASE     *:= borland
7
   OSENVIRONMENT *:= bcc50
(-)a/main/dmake/startup/templates/msdos/borland/tcc20/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= msdos
6
   OSRELEASE     *:= borland
7
   OSENVIRONMENT *:= tcc20
(-)a/main/dmake/startup/templates/msdos/microsft/msc51/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= msdos
6
   OSRELEASE     *:= microsft
7
   OSENVIRONMENT *:= msc51
(-)a/main/dmake/startup/templates/msdos/microsft/msc60/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= msdos
6
   OSRELEASE     *:= microsft
7
   OSENVIRONMENT *:= msc60
(-)a/main/dmake/startup/templates/os2/ibm/icc/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= os2
6
   OSRELEASE     *:= ibm
7
   OSENVIRONMENT *:= icc
(-)a/main/dmake/startup/templates/qssl/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= qssl
6
   OSRELEASE     *:= 
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/tos/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= tos
6
   OSRELEASE     *:= 
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/unix/386ix/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= 386ix
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/unix/bsd43/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= bsd43
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/unix/bsd43/uw/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= bsd43
7
   OSENVIRONMENT *:= uw
(-)a/main/dmake/startup/templates/unix/bsd43/vf/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= bsd43
7
   OSENVIRONMENT *:= vf
(-)a/main/dmake/startup/templates/unix/coherent/ver40/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= coherent
7
   OSENVIRONMENT *:= ver40
(-)a/main/dmake/startup/templates/unix/coherent/ver42/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= coherent
7
   OSENVIRONMENT *:= ver42
(-)a/main/dmake/startup/templates/unix/linux/gnu/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= linux
7
   OSENVIRONMENT *:= gnu
(-)a/main/dmake/startup/templates/unix/solaris/gnu/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= solaris
7
   OSENVIRONMENT *:= gnu
(-)a/main/dmake/startup/templates/unix/solaris/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= solaris
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/unix/sysvr1/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= sysvr1
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/unix/sysvr3/pwd/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= sysvr3
7
   OSENVIRONMENT *:= pwd
(-)a/main/dmake/startup/templates/unix/sysvr3/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= sysvr3
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/unix/sysvr4/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= sysvr4
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/unix/xenix/pwd/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= xenix
7
   OSENVIRONMENT *:= pwd
(-)a/main/dmake/startup/templates/unix/xenix/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= unix
6
   OSRELEASE     *:= xenix
7
   OSENVIRONMENT *:= 
(-)a/main/dmake/startup/templates/win95/borland/bcc50/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= win95
6
   OSRELEASE     *:= borland
7
   OSENVIRONMENT *:= bcc50
(-)a/main/dmake/startup/templates/win95/microsft/vpp40/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= win95
6
   OSRELEASE     *:= microsft
7
   OSENVIRONMENT *:= vpp40
(-)a/main/dmake/startup/templates/winnt/borland/bcc50/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= winnt
6
   OSRELEASE     *:= borland
7
   OSENVIRONMENT *:= bcc50
(-)a/main/dmake/startup/templates/winnt/microsft/vpp40/template.mk (-7 lines)
Lines 1-7 Link Here
1
# ** Default build configuration for dmake.
2
# ** DO NOT PLACE LOCAL DEFINITIONS INTO THIS FILE IT IS AUTO GENERATED
3
# ** USE "startup/local.mk" for those.
4
5
   OS            *:= winnt
6
   OSRELEASE     *:= microsft
7
   OSENVIRONMENT *:= vpp40
(-)a/main/dmake/startup/tos/macros.mk (-24 lines)
Lines 1-24 Link Here
1
# Define Atari TOS specific macros.
2
#
3
4
# Process environment-specific refinements, if any.
5
.IF $(OSENVIRONMENT)
6
   .INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
7
.ENDIF
8
9
# Set default to GCC Compiler.
10
CPP   *:= /gnu/lib/cpp
11
CC    *:= gcc
12
"C++" *:= g++
13
AS    *:= gas
14
YACC  *:= bison
15
LEX   *:= flex
16
RM    *:= /bin/rm
17
18
# Common flag settings
19
ARFLAGS *= -rvs
20
21
# Other appropriate macro settings.
22
A            *:= .olb
23
SHELLFLAGS   *:=
24
GROUPSUFFIX  *:= .bat
(-)a/main/dmake/startup/unix/386ix/macros.mk (-6 lines)
Lines 1-6 Link Here
1
# We hang off the standard sysvr3'isms
2
#
3
__.incdir !:= $(INCFILENAME:d:d:d:d)/sysvr3
4
5
# Process environment-specific refinements, if any.
6
.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : macros.mk
(-)a/main/dmake/startup/unix/Makefile.am (-8 lines)
Lines 1-8 Link Here
1
2
startupdir = $(datadir)/startup/unix
3
4
startup_DATA = macros.mk recipes.mk
5
6
DIST_SUBDIRS = cygwin linux macosx solaris sysvr4
7
SUBDIRS = @OS_VERSION@
8
(-)a/main/dmake/startup/unix/Makefile.in (-489 lines)
Lines 1-489 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/unix
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
52
	html-recursive info-recursive install-data-recursive \
53
	install-exec-recursive install-info-recursive \
54
	install-recursive installcheck-recursive installdirs-recursive \
55
	pdf-recursive ps-recursive uninstall-info-recursive \
56
	uninstall-recursive
57
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
58
am__vpath_adj = case $$p in \
59
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
60
    *) f=$$p;; \
61
  esac;
62
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
63
am__installdirs = "$(DESTDIR)$(startupdir)"
64
startupDATA_INSTALL = $(INSTALL_DATA)
65
DATA = $(startup_DATA)
66
ETAGS = etags
67
CTAGS = ctags
68
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
69
ACLOCAL = @ACLOCAL@
70
AMDEP_FALSE = @AMDEP_FALSE@
71
AMDEP_TRUE = @AMDEP_TRUE@
72
AMTAR = @AMTAR@
73
AUTOCONF = @AUTOCONF@
74
AUTOHEADER = @AUTOHEADER@
75
AUTOMAKE = @AUTOMAKE@
76
AWK = @AWK@
77
CC = @CC@
78
CCDEPMODE = @CCDEPMODE@
79
CFLAGS = @CFLAGS@
80
CPP = @CPP@
81
CPPFLAGS = @CPPFLAGS@
82
CYGPATH_W = @CYGPATH_W@
83
DBUG_FALSE = @DBUG_FALSE@
84
DBUG_TRUE = @DBUG_TRUE@
85
DEFS = @DEFS@
86
DEPDIR = @DEPDIR@
87
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
88
ECHO_C = @ECHO_C@
89
ECHO_N = @ECHO_N@
90
ECHO_T = @ECHO_T@
91
EGREP = @EGREP@
92
EXEEXT = @EXEEXT@
93
GREP = @GREP@
94
INSTALL_DATA = @INSTALL_DATA@
95
INSTALL_PROGRAM = @INSTALL_PROGRAM@
96
INSTALL_SCRIPT = @INSTALL_SCRIPT@
97
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
98
LDFLAGS = @LDFLAGS@
99
LIBOBJS = @LIBOBJS@
100
LIBS = @LIBS@
101
LN_S = @LN_S@
102
LTLIBOBJS = @LTLIBOBJS@
103
MAINT = @MAINT@
104
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
105
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
106
MAKEINFO = @MAKEINFO@
107
OBJEXT = @OBJEXT@
108
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
109
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
110
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
111
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
112
OS_TYPE = @OS_TYPE@
113
OS_VERSION = @OS_VERSION@
114
PACKAGE = @PACKAGE@
115
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
116
PACKAGE_NAME = @PACKAGE_NAME@
117
PACKAGE_STRING = @PACKAGE_STRING@
118
PACKAGE_TARNAME = @PACKAGE_TARNAME@
119
PACKAGE_VERSION = @PACKAGE_VERSION@
120
PATH_SEPARATOR = @PATH_SEPARATOR@
121
RANLIB = @RANLIB@
122
SET_MAKE = @SET_MAKE@
123
SHELL = @SHELL@
124
STRIP = @STRIP@
125
VERSION = @VERSION@
126
ac_ct_CC = @ac_ct_CC@
127
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
128
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
129
am__include = @am__include@
130
am__leading_dot = @am__leading_dot@
131
am__quote = @am__quote@
132
am__tar = @am__tar@
133
am__untar = @am__untar@
134
bindir = @bindir@
135
build = @build@
136
build_alias = @build_alias@
137
build_cpu = @build_cpu@
138
build_os = @build_os@
139
build_vendor = @build_vendor@
140
datadir = @datadir@
141
datarootdir = @datarootdir@
142
docdir = @docdir@
143
dvidir = @dvidir@
144
exec_prefix = @exec_prefix@
145
host_alias = @host_alias@
146
htmldir = @htmldir@
147
includedir = @includedir@
148
infodir = @infodir@
149
install_sh = @install_sh@
150
libdir = @libdir@
151
libexecdir = @libexecdir@
152
localedir = @localedir@
153
localstatedir = @localstatedir@
154
mandir = @mandir@
155
mkdir_p = @mkdir_p@
156
oldincludedir = @oldincludedir@
157
pdfdir = @pdfdir@
158
prefix = @prefix@
159
program_transform_name = @program_transform_name@
160
psdir = @psdir@
161
sbindir = @sbindir@
162
sharedstatedir = @sharedstatedir@
163
sysconfdir = @sysconfdir@
164
target_alias = @target_alias@
165
startupdir = $(datadir)/startup/unix
166
startup_DATA = macros.mk recipes.mk
167
DIST_SUBDIRS = cygwin linux macosx solaris sysvr4
168
SUBDIRS = @OS_VERSION@
169
all: all-recursive
170
171
.SUFFIXES:
172
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
173
	@for dep in $?; do \
174
	  case '$(am__configure_deps)' in \
175
	    *$$dep*) \
176
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
177
		&& exit 0; \
178
	      exit 1;; \
179
	  esac; \
180
	done; \
181
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/unix/Makefile'; \
182
	cd $(top_srcdir) && \
183
	  $(AUTOMAKE) --foreign  startup/unix/Makefile
184
.PRECIOUS: Makefile
185
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
186
	@case '$?' in \
187
	  *config.status*) \
188
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
189
	  *) \
190
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
191
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
192
	esac;
193
194
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
195
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
196
197
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
198
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
199
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
200
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
201
uninstall-info-am:
202
install-startupDATA: $(startup_DATA)
203
	@$(NORMAL_INSTALL)
204
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
205
	@list='$(startup_DATA)'; for p in $$list; do \
206
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
207
	  f=$(am__strip_dir) \
208
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
209
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
210
	done
211
212
uninstall-startupDATA:
213
	@$(NORMAL_UNINSTALL)
214
	@list='$(startup_DATA)'; for p in $$list; do \
215
	  f=$(am__strip_dir) \
216
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
217
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
218
	done
219
220
# This directory's subdirectories are mostly independent; you can cd
221
# into them and run `make' without going through this Makefile.
222
# To change the values of `make' variables: instead of editing Makefiles,
223
# (1) if the variable is set in `config.status', edit `config.status'
224
#     (which will cause the Makefiles to be regenerated when you run `make');
225
# (2) otherwise, pass the desired values on the `make' command line.
226
$(RECURSIVE_TARGETS):
227
	@failcom='exit 1'; \
228
	for f in x $$MAKEFLAGS; do \
229
	  case $$f in \
230
	    *=* | --[!k]*);; \
231
	    *k*) failcom='fail=yes';; \
232
	  esac; \
233
	done; \
234
	dot_seen=no; \
235
	target=`echo $@ | sed s/-recursive//`; \
236
	list='$(SUBDIRS)'; for subdir in $$list; do \
237
	  echo "Making $$target in $$subdir"; \
238
	  if test "$$subdir" = "."; then \
239
	    dot_seen=yes; \
240
	    local_target="$$target-am"; \
241
	  else \
242
	    local_target="$$target"; \
243
	  fi; \
244
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
245
	  || eval $$failcom; \
246
	done; \
247
	if test "$$dot_seen" = "no"; then \
248
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
249
	fi; test -z "$$fail"
250
251
mostlyclean-recursive clean-recursive distclean-recursive \
252
maintainer-clean-recursive:
253
	@failcom='exit 1'; \
254
	for f in x $$MAKEFLAGS; do \
255
	  case $$f in \
256
	    *=* | --[!k]*);; \
257
	    *k*) failcom='fail=yes';; \
258
	  esac; \
259
	done; \
260
	dot_seen=no; \
261
	case "$@" in \
262
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
263
	  *) list='$(SUBDIRS)' ;; \
264
	esac; \
265
	rev=''; for subdir in $$list; do \
266
	  if test "$$subdir" = "."; then :; else \
267
	    rev="$$subdir $$rev"; \
268
	  fi; \
269
	done; \
270
	rev="$$rev ."; \
271
	target=`echo $@ | sed s/-recursive//`; \
272
	for subdir in $$rev; do \
273
	  echo "Making $$target in $$subdir"; \
274
	  if test "$$subdir" = "."; then \
275
	    local_target="$$target-am"; \
276
	  else \
277
	    local_target="$$target"; \
278
	  fi; \
279
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
280
	  || eval $$failcom; \
281
	done && test -z "$$fail"
282
tags-recursive:
283
	list='$(SUBDIRS)'; for subdir in $$list; do \
284
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
285
	done
286
ctags-recursive:
287
	list='$(SUBDIRS)'; for subdir in $$list; do \
288
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
289
	done
290
291
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
292
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
293
	unique=`for i in $$list; do \
294
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
295
	  done | \
296
	  $(AWK) '    { files[$$0] = 1; } \
297
	       END { for (i in files) print i; }'`; \
298
	mkid -fID $$unique
299
tags: TAGS
300
301
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
302
		$(TAGS_FILES) $(LISP)
303
	tags=; \
304
	here=`pwd`; \
305
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
306
	  include_option=--etags-include; \
307
	  empty_fix=.; \
308
	else \
309
	  include_option=--include; \
310
	  empty_fix=; \
311
	fi; \
312
	list='$(SUBDIRS)'; for subdir in $$list; do \
313
	  if test "$$subdir" = .; then :; else \
314
	    test ! -f $$subdir/TAGS || \
315
	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
316
	  fi; \
317
	done; \
318
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
319
	unique=`for i in $$list; do \
320
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
321
	  done | \
322
	  $(AWK) '    { files[$$0] = 1; } \
323
	       END { for (i in files) print i; }'`; \
324
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
325
	  test -n "$$unique" || unique=$$empty_fix; \
326
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
327
	    $$tags $$unique; \
328
	fi
329
ctags: CTAGS
330
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
331
		$(TAGS_FILES) $(LISP)
332
	tags=; \
333
	here=`pwd`; \
334
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
335
	unique=`for i in $$list; do \
336
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
337
	  done | \
338
	  $(AWK) '    { files[$$0] = 1; } \
339
	       END { for (i in files) print i; }'`; \
340
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
341
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
342
	     $$tags $$unique
343
344
GTAGS:
345
	here=`$(am__cd) $(top_builddir) && pwd` \
346
	  && cd $(top_srcdir) \
347
	  && gtags -i $(GTAGS_ARGS) $$here
348
349
distclean-tags:
350
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
351
352
distdir: $(DISTFILES)
353
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
354
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
355
	list='$(DISTFILES)'; for file in $$list; do \
356
	  case $$file in \
357
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
358
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
359
	  esac; \
360
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
361
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
362
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
363
	    dir="/$$dir"; \
364
	    $(mkdir_p) "$(distdir)$$dir"; \
365
	  else \
366
	    dir=''; \
367
	  fi; \
368
	  if test -d $$d/$$file; then \
369
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
370
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
371
	    fi; \
372
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
373
	  else \
374
	    test -f $(distdir)/$$file \
375
	    || cp -p $$d/$$file $(distdir)/$$file \
376
	    || exit 1; \
377
	  fi; \
378
	done
379
	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
380
	  if test "$$subdir" = .; then :; else \
381
	    test -d "$(distdir)/$$subdir" \
382
	    || $(mkdir_p) "$(distdir)/$$subdir" \
383
	    || exit 1; \
384
	    distdir=`$(am__cd) $(distdir) && pwd`; \
385
	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
386
	    (cd $$subdir && \
387
	      $(MAKE) $(AM_MAKEFLAGS) \
388
	        top_distdir="$$top_distdir" \
389
	        distdir="$$distdir/$$subdir" \
390
	        distdir) \
391
	      || exit 1; \
392
	  fi; \
393
	done
394
check-am: all-am
395
check: check-recursive
396
all-am: Makefile $(DATA)
397
installdirs: installdirs-recursive
398
installdirs-am:
399
	for dir in "$(DESTDIR)$(startupdir)"; do \
400
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
401
	done
402
install: install-recursive
403
install-exec: install-exec-recursive
404
install-data: install-data-recursive
405
uninstall: uninstall-recursive
406
407
install-am: all-am
408
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
409
410
installcheck: installcheck-recursive
411
install-strip:
412
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
413
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
414
	  `test -z '$(STRIP)' || \
415
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
416
mostlyclean-generic:
417
418
clean-generic:
419
420
distclean-generic:
421
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
422
423
maintainer-clean-generic:
424
	@echo "This command is intended for maintainers to use"
425
	@echo "it deletes files that may require special tools to rebuild."
426
clean: clean-recursive
427
428
clean-am: clean-generic mostlyclean-am
429
430
distclean: distclean-recursive
431
	-rm -f Makefile
432
distclean-am: clean-am distclean-generic distclean-tags
433
434
dvi: dvi-recursive
435
436
dvi-am:
437
438
html: html-recursive
439
440
info: info-recursive
441
442
info-am:
443
444
install-data-am: install-startupDATA
445
446
install-exec-am:
447
448
install-info: install-info-recursive
449
450
install-man:
451
452
installcheck-am:
453
454
maintainer-clean: maintainer-clean-recursive
455
	-rm -f Makefile
456
maintainer-clean-am: distclean-am maintainer-clean-generic
457
458
mostlyclean: mostlyclean-recursive
459
460
mostlyclean-am: mostlyclean-generic
461
462
pdf: pdf-recursive
463
464
pdf-am:
465
466
ps: ps-recursive
467
468
ps-am:
469
470
uninstall-am: uninstall-info-am uninstall-startupDATA
471
472
uninstall-info: uninstall-info-recursive
473
474
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
475
	clean clean-generic clean-recursive ctags ctags-recursive \
476
	distclean distclean-generic distclean-recursive distclean-tags \
477
	distdir dvi dvi-am html html-am info info-am install \
478
	install-am install-data install-data-am install-exec \
479
	install-exec-am install-info install-info-am install-man \
480
	install-startupDATA install-strip installcheck installcheck-am \
481
	installdirs installdirs-am maintainer-clean \
482
	maintainer-clean-generic maintainer-clean-recursive \
483
	mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
484
	pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
485
	uninstall-info-am uninstall-startupDATA
486
487
# Tell versions [3.59,3.63) of GNU make to not export all variables.
488
# Otherwise a system limit (for SysV at least) may be exceeded.
489
.NOEXPORT:
(-)a/main/dmake/startup/unix/bsd43/macros.mk (-11 lines)
Lines 1-11 Link Here
1
# Define additional Berkely UNIX specific macros.
2
#
3
4
# Process environment-specific refinements, if any.
5
.IF $(OSENVIRONMENT)
6
   .INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
7
.ENDIF
8
9
# Set defaults for local OS release
10
RANLIB *:= ranlib
11
PRINT  *:= lpr
(-)a/main/dmake/startup/unix/bsd43/recipes.mk (-13 lines)
Lines 1-13 Link Here
1
# Define additional Berkeley UNIX specific build rules and recipes.
2
#
3
4
# Recipe to make archive files.
5
%$A .GROUP :
6
	$(AR) $(ARFLAGS) $@ $?
7
	$(RM) $(RMFLAGS) $?
8
	$(RANLIB) $@
9
10
# Process environment-specific refinements, if any.
11
.IF $(OSENVIRONMENT)
12
   .INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSENVIRONMENT)$/recipes.mk
13
.ENDIF
(-)a/main/dmake/startup/unix/coherent/macros.mk (-6 lines)
Lines 1-6 Link Here
1
# We hang off the standard BSD'isms
2
#
3
__.incdir !:= $(INCFILENAME:d:d:d:d)/bsd43
4
5
# Process environment-specific refinements, if any.
6
.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : macros.mk
(-)a/main/dmake/startup/unix/coherent/recipes.mk (-6 lines)
Lines 1-6 Link Here
1
# Use the same file as 
2
#
3
__.incdir !:= $(INCFILENAME:d:d:d:d)/bsd43
4
5
# Process environment-specific refinements, if any.
6
.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : recipes.mk
(-)a/main/dmake/startup/unix/cygwin/Makefile.am (-6 lines)
Lines 1-6 Link Here
1
startupdir = $(datadir)/startup/unix/cygwin
2
3
startup_DATA = macros.mk 
4
5
6
(-)a/main/dmake/startup/unix/cygwin/Makefile.in (-331 lines)
Lines 1-331 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/unix/cygwin
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
am__vpath_adj = case $$p in \
53
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
    *) f=$$p;; \
55
  esac;
56
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57
am__installdirs = "$(DESTDIR)$(startupdir)"
58
startupDATA_INSTALL = $(INSTALL_DATA)
59
DATA = $(startup_DATA)
60
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61
ACLOCAL = @ACLOCAL@
62
AMDEP_FALSE = @AMDEP_FALSE@
63
AMDEP_TRUE = @AMDEP_TRUE@
64
AMTAR = @AMTAR@
65
AUTOCONF = @AUTOCONF@
66
AUTOHEADER = @AUTOHEADER@
67
AUTOMAKE = @AUTOMAKE@
68
AWK = @AWK@
69
CC = @CC@
70
CCDEPMODE = @CCDEPMODE@
71
CFLAGS = @CFLAGS@
72
CPP = @CPP@
73
CPPFLAGS = @CPPFLAGS@
74
CYGPATH_W = @CYGPATH_W@
75
DBUG_FALSE = @DBUG_FALSE@
76
DBUG_TRUE = @DBUG_TRUE@
77
DEFS = @DEFS@
78
DEPDIR = @DEPDIR@
79
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
80
ECHO_C = @ECHO_C@
81
ECHO_N = @ECHO_N@
82
ECHO_T = @ECHO_T@
83
EGREP = @EGREP@
84
EXEEXT = @EXEEXT@
85
GREP = @GREP@
86
INSTALL_DATA = @INSTALL_DATA@
87
INSTALL_PROGRAM = @INSTALL_PROGRAM@
88
INSTALL_SCRIPT = @INSTALL_SCRIPT@
89
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90
LDFLAGS = @LDFLAGS@
91
LIBOBJS = @LIBOBJS@
92
LIBS = @LIBS@
93
LN_S = @LN_S@
94
LTLIBOBJS = @LTLIBOBJS@
95
MAINT = @MAINT@
96
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
97
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
98
MAKEINFO = @MAKEINFO@
99
OBJEXT = @OBJEXT@
100
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
101
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
102
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
103
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
104
OS_TYPE = @OS_TYPE@
105
OS_VERSION = @OS_VERSION@
106
PACKAGE = @PACKAGE@
107
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108
PACKAGE_NAME = @PACKAGE_NAME@
109
PACKAGE_STRING = @PACKAGE_STRING@
110
PACKAGE_TARNAME = @PACKAGE_TARNAME@
111
PACKAGE_VERSION = @PACKAGE_VERSION@
112
PATH_SEPARATOR = @PATH_SEPARATOR@
113
RANLIB = @RANLIB@
114
SET_MAKE = @SET_MAKE@
115
SHELL = @SHELL@
116
STRIP = @STRIP@
117
VERSION = @VERSION@
118
ac_ct_CC = @ac_ct_CC@
119
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121
am__include = @am__include@
122
am__leading_dot = @am__leading_dot@
123
am__quote = @am__quote@
124
am__tar = @am__tar@
125
am__untar = @am__untar@
126
bindir = @bindir@
127
build = @build@
128
build_alias = @build_alias@
129
build_cpu = @build_cpu@
130
build_os = @build_os@
131
build_vendor = @build_vendor@
132
datadir = @datadir@
133
datarootdir = @datarootdir@
134
docdir = @docdir@
135
dvidir = @dvidir@
136
exec_prefix = @exec_prefix@
137
host_alias = @host_alias@
138
htmldir = @htmldir@
139
includedir = @includedir@
140
infodir = @infodir@
141
install_sh = @install_sh@
142
libdir = @libdir@
143
libexecdir = @libexecdir@
144
localedir = @localedir@
145
localstatedir = @localstatedir@
146
mandir = @mandir@
147
mkdir_p = @mkdir_p@
148
oldincludedir = @oldincludedir@
149
pdfdir = @pdfdir@
150
prefix = @prefix@
151
program_transform_name = @program_transform_name@
152
psdir = @psdir@
153
sbindir = @sbindir@
154
sharedstatedir = @sharedstatedir@
155
sysconfdir = @sysconfdir@
156
target_alias = @target_alias@
157
startupdir = $(datadir)/startup/unix/cygwin
158
startup_DATA = macros.mk 
159
all: all-am
160
161
.SUFFIXES:
162
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
163
	@for dep in $?; do \
164
	  case '$(am__configure_deps)' in \
165
	    *$$dep*) \
166
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
167
		&& exit 0; \
168
	      exit 1;; \
169
	  esac; \
170
	done; \
171
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/unix/cygwin/Makefile'; \
172
	cd $(top_srcdir) && \
173
	  $(AUTOMAKE) --foreign  startup/unix/cygwin/Makefile
174
.PRECIOUS: Makefile
175
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
	@case '$?' in \
177
	  *config.status*) \
178
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
179
	  *) \
180
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
181
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
182
	esac;
183
184
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
185
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
186
187
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
188
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
189
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
190
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
191
uninstall-info-am:
192
install-startupDATA: $(startup_DATA)
193
	@$(NORMAL_INSTALL)
194
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
195
	@list='$(startup_DATA)'; for p in $$list; do \
196
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
197
	  f=$(am__strip_dir) \
198
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
199
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
200
	done
201
202
uninstall-startupDATA:
203
	@$(NORMAL_UNINSTALL)
204
	@list='$(startup_DATA)'; for p in $$list; do \
205
	  f=$(am__strip_dir) \
206
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
207
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
208
	done
209
tags: TAGS
210
TAGS:
211
212
ctags: CTAGS
213
CTAGS:
214
215
216
distdir: $(DISTFILES)
217
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
218
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
219
	list='$(DISTFILES)'; for file in $$list; do \
220
	  case $$file in \
221
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
222
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
223
	  esac; \
224
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
225
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
226
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
227
	    dir="/$$dir"; \
228
	    $(mkdir_p) "$(distdir)$$dir"; \
229
	  else \
230
	    dir=''; \
231
	  fi; \
232
	  if test -d $$d/$$file; then \
233
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
234
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
235
	    fi; \
236
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
237
	  else \
238
	    test -f $(distdir)/$$file \
239
	    || cp -p $$d/$$file $(distdir)/$$file \
240
	    || exit 1; \
241
	  fi; \
242
	done
243
check-am: all-am
244
check: check-am
245
all-am: Makefile $(DATA)
246
installdirs:
247
	for dir in "$(DESTDIR)$(startupdir)"; do \
248
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
249
	done
250
install: install-am
251
install-exec: install-exec-am
252
install-data: install-data-am
253
uninstall: uninstall-am
254
255
install-am: all-am
256
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
257
258
installcheck: installcheck-am
259
install-strip:
260
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
261
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
262
	  `test -z '$(STRIP)' || \
263
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
264
mostlyclean-generic:
265
266
clean-generic:
267
268
distclean-generic:
269
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
270
271
maintainer-clean-generic:
272
	@echo "This command is intended for maintainers to use"
273
	@echo "it deletes files that may require special tools to rebuild."
274
clean: clean-am
275
276
clean-am: clean-generic mostlyclean-am
277
278
distclean: distclean-am
279
	-rm -f Makefile
280
distclean-am: clean-am distclean-generic
281
282
dvi: dvi-am
283
284
dvi-am:
285
286
html: html-am
287
288
info: info-am
289
290
info-am:
291
292
install-data-am: install-startupDATA
293
294
install-exec-am:
295
296
install-info: install-info-am
297
298
install-man:
299
300
installcheck-am:
301
302
maintainer-clean: maintainer-clean-am
303
	-rm -f Makefile
304
maintainer-clean-am: distclean-am maintainer-clean-generic
305
306
mostlyclean: mostlyclean-am
307
308
mostlyclean-am: mostlyclean-generic
309
310
pdf: pdf-am
311
312
pdf-am:
313
314
ps: ps-am
315
316
ps-am:
317
318
uninstall-am: uninstall-info-am uninstall-startupDATA
319
320
.PHONY: all all-am check check-am clean clean-generic distclean \
321
	distclean-generic distdir dvi dvi-am html html-am info info-am \
322
	install install-am install-data install-data-am install-exec \
323
	install-exec-am install-info install-info-am install-man \
324
	install-startupDATA install-strip installcheck installcheck-am \
325
	installdirs maintainer-clean maintainer-clean-generic \
326
	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
327
	uninstall-am uninstall-info-am uninstall-startupDATA
328
329
# Tell versions [3.59,3.63) of GNU make to not export all variables.
330
# Otherwise a system limit (for SysV at least) may be exceeded.
331
.NOEXPORT:
(-)a/main/dmake/startup/unix/cygwin/macros.mk (-10 lines)
Lines 1-10 Link Here
1
# Define additional Cygwin specific macros.
2
#
3
4
# Process environment-specific refinements, if any.
5
.IF $(OSENVIRONMENT)
6
   .INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
7
.ENDIF
8
9
# Make OS-release-specific settings
10
#PRINT *:= lpr
(-)a/main/dmake/startup/unix/linux/Makefile.am (-6 lines)
Lines 1-6 Link Here
1
2
startupdir = $(datadir)/startup/unix/linux
3
4
startup_DATA = macros.mk 
5
6
(-)a/main/dmake/startup/unix/linux/Makefile.in (-331 lines)
Lines 1-331 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/unix/linux
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
am__vpath_adj = case $$p in \
53
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
    *) f=$$p;; \
55
  esac;
56
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57
am__installdirs = "$(DESTDIR)$(startupdir)"
58
startupDATA_INSTALL = $(INSTALL_DATA)
59
DATA = $(startup_DATA)
60
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61
ACLOCAL = @ACLOCAL@
62
AMDEP_FALSE = @AMDEP_FALSE@
63
AMDEP_TRUE = @AMDEP_TRUE@
64
AMTAR = @AMTAR@
65
AUTOCONF = @AUTOCONF@
66
AUTOHEADER = @AUTOHEADER@
67
AUTOMAKE = @AUTOMAKE@
68
AWK = @AWK@
69
CC = @CC@
70
CCDEPMODE = @CCDEPMODE@
71
CFLAGS = @CFLAGS@
72
CPP = @CPP@
73
CPPFLAGS = @CPPFLAGS@
74
CYGPATH_W = @CYGPATH_W@
75
DBUG_FALSE = @DBUG_FALSE@
76
DBUG_TRUE = @DBUG_TRUE@
77
DEFS = @DEFS@
78
DEPDIR = @DEPDIR@
79
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
80
ECHO_C = @ECHO_C@
81
ECHO_N = @ECHO_N@
82
ECHO_T = @ECHO_T@
83
EGREP = @EGREP@
84
EXEEXT = @EXEEXT@
85
GREP = @GREP@
86
INSTALL_DATA = @INSTALL_DATA@
87
INSTALL_PROGRAM = @INSTALL_PROGRAM@
88
INSTALL_SCRIPT = @INSTALL_SCRIPT@
89
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90
LDFLAGS = @LDFLAGS@
91
LIBOBJS = @LIBOBJS@
92
LIBS = @LIBS@
93
LN_S = @LN_S@
94
LTLIBOBJS = @LTLIBOBJS@
95
MAINT = @MAINT@
96
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
97
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
98
MAKEINFO = @MAKEINFO@
99
OBJEXT = @OBJEXT@
100
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
101
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
102
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
103
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
104
OS_TYPE = @OS_TYPE@
105
OS_VERSION = @OS_VERSION@
106
PACKAGE = @PACKAGE@
107
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108
PACKAGE_NAME = @PACKAGE_NAME@
109
PACKAGE_STRING = @PACKAGE_STRING@
110
PACKAGE_TARNAME = @PACKAGE_TARNAME@
111
PACKAGE_VERSION = @PACKAGE_VERSION@
112
PATH_SEPARATOR = @PATH_SEPARATOR@
113
RANLIB = @RANLIB@
114
SET_MAKE = @SET_MAKE@
115
SHELL = @SHELL@
116
STRIP = @STRIP@
117
VERSION = @VERSION@
118
ac_ct_CC = @ac_ct_CC@
119
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121
am__include = @am__include@
122
am__leading_dot = @am__leading_dot@
123
am__quote = @am__quote@
124
am__tar = @am__tar@
125
am__untar = @am__untar@
126
bindir = @bindir@
127
build = @build@
128
build_alias = @build_alias@
129
build_cpu = @build_cpu@
130
build_os = @build_os@
131
build_vendor = @build_vendor@
132
datadir = @datadir@
133
datarootdir = @datarootdir@
134
docdir = @docdir@
135
dvidir = @dvidir@
136
exec_prefix = @exec_prefix@
137
host_alias = @host_alias@
138
htmldir = @htmldir@
139
includedir = @includedir@
140
infodir = @infodir@
141
install_sh = @install_sh@
142
libdir = @libdir@
143
libexecdir = @libexecdir@
144
localedir = @localedir@
145
localstatedir = @localstatedir@
146
mandir = @mandir@
147
mkdir_p = @mkdir_p@
148
oldincludedir = @oldincludedir@
149
pdfdir = @pdfdir@
150
prefix = @prefix@
151
program_transform_name = @program_transform_name@
152
psdir = @psdir@
153
sbindir = @sbindir@
154
sharedstatedir = @sharedstatedir@
155
sysconfdir = @sysconfdir@
156
target_alias = @target_alias@
157
startupdir = $(datadir)/startup/unix/linux
158
startup_DATA = macros.mk 
159
all: all-am
160
161
.SUFFIXES:
162
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
163
	@for dep in $?; do \
164
	  case '$(am__configure_deps)' in \
165
	    *$$dep*) \
166
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
167
		&& exit 0; \
168
	      exit 1;; \
169
	  esac; \
170
	done; \
171
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/unix/linux/Makefile'; \
172
	cd $(top_srcdir) && \
173
	  $(AUTOMAKE) --foreign  startup/unix/linux/Makefile
174
.PRECIOUS: Makefile
175
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
	@case '$?' in \
177
	  *config.status*) \
178
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
179
	  *) \
180
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
181
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
182
	esac;
183
184
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
185
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
186
187
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
188
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
189
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
190
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
191
uninstall-info-am:
192
install-startupDATA: $(startup_DATA)
193
	@$(NORMAL_INSTALL)
194
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
195
	@list='$(startup_DATA)'; for p in $$list; do \
196
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
197
	  f=$(am__strip_dir) \
198
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
199
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
200
	done
201
202
uninstall-startupDATA:
203
	@$(NORMAL_UNINSTALL)
204
	@list='$(startup_DATA)'; for p in $$list; do \
205
	  f=$(am__strip_dir) \
206
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
207
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
208
	done
209
tags: TAGS
210
TAGS:
211
212
ctags: CTAGS
213
CTAGS:
214
215
216
distdir: $(DISTFILES)
217
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
218
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
219
	list='$(DISTFILES)'; for file in $$list; do \
220
	  case $$file in \
221
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
222
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
223
	  esac; \
224
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
225
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
226
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
227
	    dir="/$$dir"; \
228
	    $(mkdir_p) "$(distdir)$$dir"; \
229
	  else \
230
	    dir=''; \
231
	  fi; \
232
	  if test -d $$d/$$file; then \
233
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
234
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
235
	    fi; \
236
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
237
	  else \
238
	    test -f $(distdir)/$$file \
239
	    || cp -p $$d/$$file $(distdir)/$$file \
240
	    || exit 1; \
241
	  fi; \
242
	done
243
check-am: all-am
244
check: check-am
245
all-am: Makefile $(DATA)
246
installdirs:
247
	for dir in "$(DESTDIR)$(startupdir)"; do \
248
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
249
	done
250
install: install-am
251
install-exec: install-exec-am
252
install-data: install-data-am
253
uninstall: uninstall-am
254
255
install-am: all-am
256
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
257
258
installcheck: installcheck-am
259
install-strip:
260
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
261
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
262
	  `test -z '$(STRIP)' || \
263
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
264
mostlyclean-generic:
265
266
clean-generic:
267
268
distclean-generic:
269
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
270
271
maintainer-clean-generic:
272
	@echo "This command is intended for maintainers to use"
273
	@echo "it deletes files that may require special tools to rebuild."
274
clean: clean-am
275
276
clean-am: clean-generic mostlyclean-am
277
278
distclean: distclean-am
279
	-rm -f Makefile
280
distclean-am: clean-am distclean-generic
281
282
dvi: dvi-am
283
284
dvi-am:
285
286
html: html-am
287
288
info: info-am
289
290
info-am:
291
292
install-data-am: install-startupDATA
293
294
install-exec-am:
295
296
install-info: install-info-am
297
298
install-man:
299
300
installcheck-am:
301
302
maintainer-clean: maintainer-clean-am
303
	-rm -f Makefile
304
maintainer-clean-am: distclean-am maintainer-clean-generic
305
306
mostlyclean: mostlyclean-am
307
308
mostlyclean-am: mostlyclean-generic
309
310
pdf: pdf-am
311
312
pdf-am:
313
314
ps: ps-am
315
316
ps-am:
317
318
uninstall-am: uninstall-info-am uninstall-startupDATA
319
320
.PHONY: all all-am check check-am clean clean-generic distclean \
321
	distclean-generic distdir dvi dvi-am html html-am info info-am \
322
	install install-am install-data install-data-am install-exec \
323
	install-exec-am install-info install-info-am install-man \
324
	install-startupDATA install-strip installcheck installcheck-am \
325
	installdirs maintainer-clean maintainer-clean-generic \
326
	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
327
	uninstall-am uninstall-info-am uninstall-startupDATA
328
329
# Tell versions [3.59,3.63) of GNU make to not export all variables.
330
# Otherwise a system limit (for SysV at least) may be exceeded.
331
.NOEXPORT:
(-)a/main/dmake/startup/unix/linux/gnu/macros.mk (-6 lines)
Lines 1-6 Link Here
1
# We hang off the standard sysvr3'isms
2
#
3
__.incdir !:= $(INCFILENAME:d:d:d:d:d:d)/sysvr3/gnu
4
5
# Process environment-specific refinements, if any.
6
.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : macros.mk
(-)a/main/dmake/startup/unix/linux/macros.mk (-10 lines)
Lines 1-10 Link Here
1
# Define additional Linux specific macros.
2
#
3
4
# Process environment-specific refinements, if any.
5
.IF $(OSENVIRONMENT)
6
   .INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
7
.ENDIF
8
9
# Make OS-release-specific settings
10
PRINT *:= lpr
(-)a/main/dmake/startup/unix/macosx/Makefile.am (-6 lines)
Lines 1-6 Link Here
1
2
startupdir = $(datadir)/startup/unix/macosx
3
4
startup_DATA = macros.mk 
5
6
(-)a/main/dmake/startup/unix/macosx/Makefile.in (-331 lines)
Lines 1-331 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/unix/macosx
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
am__vpath_adj = case $$p in \
53
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
    *) f=$$p;; \
55
  esac;
56
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57
am__installdirs = "$(DESTDIR)$(startupdir)"
58
startupDATA_INSTALL = $(INSTALL_DATA)
59
DATA = $(startup_DATA)
60
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61
ACLOCAL = @ACLOCAL@
62
AMDEP_FALSE = @AMDEP_FALSE@
63
AMDEP_TRUE = @AMDEP_TRUE@
64
AMTAR = @AMTAR@
65
AUTOCONF = @AUTOCONF@
66
AUTOHEADER = @AUTOHEADER@
67
AUTOMAKE = @AUTOMAKE@
68
AWK = @AWK@
69
CC = @CC@
70
CCDEPMODE = @CCDEPMODE@
71
CFLAGS = @CFLAGS@
72
CPP = @CPP@
73
CPPFLAGS = @CPPFLAGS@
74
CYGPATH_W = @CYGPATH_W@
75
DBUG_FALSE = @DBUG_FALSE@
76
DBUG_TRUE = @DBUG_TRUE@
77
DEFS = @DEFS@
78
DEPDIR = @DEPDIR@
79
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
80
ECHO_C = @ECHO_C@
81
ECHO_N = @ECHO_N@
82
ECHO_T = @ECHO_T@
83
EGREP = @EGREP@
84
EXEEXT = @EXEEXT@
85
GREP = @GREP@
86
INSTALL_DATA = @INSTALL_DATA@
87
INSTALL_PROGRAM = @INSTALL_PROGRAM@
88
INSTALL_SCRIPT = @INSTALL_SCRIPT@
89
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90
LDFLAGS = @LDFLAGS@
91
LIBOBJS = @LIBOBJS@
92
LIBS = @LIBS@
93
LN_S = @LN_S@
94
LTLIBOBJS = @LTLIBOBJS@
95
MAINT = @MAINT@
96
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
97
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
98
MAKEINFO = @MAKEINFO@
99
OBJEXT = @OBJEXT@
100
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
101
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
102
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
103
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
104
OS_TYPE = @OS_TYPE@
105
OS_VERSION = @OS_VERSION@
106
PACKAGE = @PACKAGE@
107
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108
PACKAGE_NAME = @PACKAGE_NAME@
109
PACKAGE_STRING = @PACKAGE_STRING@
110
PACKAGE_TARNAME = @PACKAGE_TARNAME@
111
PACKAGE_VERSION = @PACKAGE_VERSION@
112
PATH_SEPARATOR = @PATH_SEPARATOR@
113
RANLIB = @RANLIB@
114
SET_MAKE = @SET_MAKE@
115
SHELL = @SHELL@
116
STRIP = @STRIP@
117
VERSION = @VERSION@
118
ac_ct_CC = @ac_ct_CC@
119
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121
am__include = @am__include@
122
am__leading_dot = @am__leading_dot@
123
am__quote = @am__quote@
124
am__tar = @am__tar@
125
am__untar = @am__untar@
126
bindir = @bindir@
127
build = @build@
128
build_alias = @build_alias@
129
build_cpu = @build_cpu@
130
build_os = @build_os@
131
build_vendor = @build_vendor@
132
datadir = @datadir@
133
datarootdir = @datarootdir@
134
docdir = @docdir@
135
dvidir = @dvidir@
136
exec_prefix = @exec_prefix@
137
host_alias = @host_alias@
138
htmldir = @htmldir@
139
includedir = @includedir@
140
infodir = @infodir@
141
install_sh = @install_sh@
142
libdir = @libdir@
143
libexecdir = @libexecdir@
144
localedir = @localedir@
145
localstatedir = @localstatedir@
146
mandir = @mandir@
147
mkdir_p = @mkdir_p@
148
oldincludedir = @oldincludedir@
149
pdfdir = @pdfdir@
150
prefix = @prefix@
151
program_transform_name = @program_transform_name@
152
psdir = @psdir@
153
sbindir = @sbindir@
154
sharedstatedir = @sharedstatedir@
155
sysconfdir = @sysconfdir@
156
target_alias = @target_alias@
157
startupdir = $(datadir)/startup/unix/macosx
158
startup_DATA = macros.mk 
159
all: all-am
160
161
.SUFFIXES:
162
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
163
	@for dep in $?; do \
164
	  case '$(am__configure_deps)' in \
165
	    *$$dep*) \
166
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
167
		&& exit 0; \
168
	      exit 1;; \
169
	  esac; \
170
	done; \
171
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/unix/macosx/Makefile'; \
172
	cd $(top_srcdir) && \
173
	  $(AUTOMAKE) --foreign  startup/unix/macosx/Makefile
174
.PRECIOUS: Makefile
175
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
	@case '$?' in \
177
	  *config.status*) \
178
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
179
	  *) \
180
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
181
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
182
	esac;
183
184
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
185
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
186
187
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
188
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
189
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
190
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
191
uninstall-info-am:
192
install-startupDATA: $(startup_DATA)
193
	@$(NORMAL_INSTALL)
194
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
195
	@list='$(startup_DATA)'; for p in $$list; do \
196
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
197
	  f=$(am__strip_dir) \
198
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
199
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
200
	done
201
202
uninstall-startupDATA:
203
	@$(NORMAL_UNINSTALL)
204
	@list='$(startup_DATA)'; for p in $$list; do \
205
	  f=$(am__strip_dir) \
206
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
207
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
208
	done
209
tags: TAGS
210
TAGS:
211
212
ctags: CTAGS
213
CTAGS:
214
215
216
distdir: $(DISTFILES)
217
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
218
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
219
	list='$(DISTFILES)'; for file in $$list; do \
220
	  case $$file in \
221
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
222
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
223
	  esac; \
224
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
225
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
226
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
227
	    dir="/$$dir"; \
228
	    $(mkdir_p) "$(distdir)$$dir"; \
229
	  else \
230
	    dir=''; \
231
	  fi; \
232
	  if test -d $$d/$$file; then \
233
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
234
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
235
	    fi; \
236
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
237
	  else \
238
	    test -f $(distdir)/$$file \
239
	    || cp -p $$d/$$file $(distdir)/$$file \
240
	    || exit 1; \
241
	  fi; \
242
	done
243
check-am: all-am
244
check: check-am
245
all-am: Makefile $(DATA)
246
installdirs:
247
	for dir in "$(DESTDIR)$(startupdir)"; do \
248
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
249
	done
250
install: install-am
251
install-exec: install-exec-am
252
install-data: install-data-am
253
uninstall: uninstall-am
254
255
install-am: all-am
256
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
257
258
installcheck: installcheck-am
259
install-strip:
260
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
261
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
262
	  `test -z '$(STRIP)' || \
263
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
264
mostlyclean-generic:
265
266
clean-generic:
267
268
distclean-generic:
269
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
270
271
maintainer-clean-generic:
272
	@echo "This command is intended for maintainers to use"
273
	@echo "it deletes files that may require special tools to rebuild."
274
clean: clean-am
275
276
clean-am: clean-generic mostlyclean-am
277
278
distclean: distclean-am
279
	-rm -f Makefile
280
distclean-am: clean-am distclean-generic
281
282
dvi: dvi-am
283
284
dvi-am:
285
286
html: html-am
287
288
info: info-am
289
290
info-am:
291
292
install-data-am: install-startupDATA
293
294
install-exec-am:
295
296
install-info: install-info-am
297
298
install-man:
299
300
installcheck-am:
301
302
maintainer-clean: maintainer-clean-am
303
	-rm -f Makefile
304
maintainer-clean-am: distclean-am maintainer-clean-generic
305
306
mostlyclean: mostlyclean-am
307
308
mostlyclean-am: mostlyclean-generic
309
310
pdf: pdf-am
311
312
pdf-am:
313
314
ps: ps-am
315
316
ps-am:
317
318
uninstall-am: uninstall-info-am uninstall-startupDATA
319
320
.PHONY: all all-am check check-am clean clean-generic distclean \
321
	distclean-generic distdir dvi dvi-am html html-am info info-am \
322
	install install-am install-data install-data-am install-exec \
323
	install-exec-am install-info install-info-am install-man \
324
	install-startupDATA install-strip installcheck installcheck-am \
325
	installdirs maintainer-clean maintainer-clean-generic \
326
	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
327
	uninstall-am uninstall-info-am uninstall-startupDATA
328
329
# Tell versions [3.59,3.63) of GNU make to not export all variables.
330
# Otherwise a system limit (for SysV at least) may be exceeded.
331
.NOEXPORT:
(-)a/main/dmake/startup/unix/macosx/gnu/macros.mk (-6 lines)
Lines 1-6 Link Here
1
# We hang off the standard sysvr3'isms
2
#
3
__.incdir !:= $(INCFILENAME:d:d:d:d:d:d)/sysvr3/gnu
4
5
# Process environment-specific refinements, if any.
6
.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : macros.mk
(-)a/main/dmake/startup/unix/macosx/macros.mk (-10 lines)
Lines 1-10 Link Here
1
# Define additional Mac OS X specific macros.
2
#
3
4
# Process environment-specific refinements, if any.
5
.IF $(OSENVIRONMENT)
6
   .INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
7
.ENDIF
8
9
# Make OS-release-specific settings
10
PRINT *:= lpr
(-)a/main/dmake/startup/unix/macros.mk (-5 lines)
Lines 1-5 Link Here
1
# Define additional UNIX specific macros.
2
#
3
4
# Process release-specific refinements, if any.
5
.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/macros.mk
(-)a/main/dmake/startup/unix/os2/Makefile.am (-6 lines)
Lines 1-6 Link Here
1
2
startupdir = $(datadir)/startup/unix/os2
3
4
startup_DATA = macros.mk 
5
6
(-)a/main/dmake/startup/unix/os2/Makefile.in (-331 lines)
Lines 1-331 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/unix/os2
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
am__vpath_adj = case $$p in \
53
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
    *) f=$$p;; \
55
  esac;
56
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57
am__installdirs = "$(DESTDIR)$(startupdir)"
58
startupDATA_INSTALL = $(INSTALL_DATA)
59
DATA = $(startup_DATA)
60
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61
ACLOCAL = @ACLOCAL@
62
AMDEP_FALSE = @AMDEP_FALSE@
63
AMDEP_TRUE = @AMDEP_TRUE@
64
AMTAR = @AMTAR@
65
AUTOCONF = @AUTOCONF@
66
AUTOHEADER = @AUTOHEADER@
67
AUTOMAKE = @AUTOMAKE@
68
AWK = @AWK@
69
CC = @CC@
70
CCDEPMODE = @CCDEPMODE@
71
CFLAGS = @CFLAGS@
72
CPP = @CPP@
73
CPPFLAGS = @CPPFLAGS@
74
CYGPATH_W = @CYGPATH_W@
75
DBUG_FALSE = @DBUG_FALSE@
76
DBUG_TRUE = @DBUG_TRUE@
77
DEFS = @DEFS@
78
DEPDIR = @DEPDIR@
79
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
80
ECHO_C = @ECHO_C@
81
ECHO_N = @ECHO_N@
82
ECHO_T = @ECHO_T@
83
EGREP = @EGREP@
84
EXEEXT = @EXEEXT@
85
GREP = @GREP@
86
INSTALL_DATA = @INSTALL_DATA@
87
INSTALL_PROGRAM = @INSTALL_PROGRAM@
88
INSTALL_SCRIPT = @INSTALL_SCRIPT@
89
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90
LDFLAGS = @LDFLAGS@
91
LIBOBJS = @LIBOBJS@
92
LIBS = @LIBS@
93
LN_S = @LN_S@
94
LTLIBOBJS = @LTLIBOBJS@
95
MAINT = @MAINT@
96
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
97
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
98
MAKEINFO = @MAKEINFO@
99
OBJEXT = @OBJEXT@
100
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
101
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
102
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
103
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
104
OS_TYPE = @OS_TYPE@
105
OS_VERSION = @OS_VERSION@
106
PACKAGE = @PACKAGE@
107
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108
PACKAGE_NAME = @PACKAGE_NAME@
109
PACKAGE_STRING = @PACKAGE_STRING@
110
PACKAGE_TARNAME = @PACKAGE_TARNAME@
111
PACKAGE_VERSION = @PACKAGE_VERSION@
112
PATH_SEPARATOR = @PATH_SEPARATOR@
113
RANLIB = @RANLIB@
114
SET_MAKE = @SET_MAKE@
115
SHELL = @SHELL@
116
STRIP = @STRIP@
117
VERSION = @VERSION@
118
ac_ct_CC = @ac_ct_CC@
119
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121
am__include = @am__include@
122
am__leading_dot = @am__leading_dot@
123
am__quote = @am__quote@
124
am__tar = @am__tar@
125
am__untar = @am__untar@
126
bindir = @bindir@
127
build = @build@
128
build_alias = @build_alias@
129
build_cpu = @build_cpu@
130
build_os = @build_os@
131
build_vendor = @build_vendor@
132
datadir = @datadir@
133
datarootdir = @datarootdir@
134
docdir = @docdir@
135
dvidir = @dvidir@
136
exec_prefix = @exec_prefix@
137
host_alias = @host_alias@
138
htmldir = @htmldir@
139
includedir = @includedir@
140
infodir = @infodir@
141
install_sh = @install_sh@
142
libdir = @libdir@
143
libexecdir = @libexecdir@
144
localedir = @localedir@
145
localstatedir = @localstatedir@
146
mandir = @mandir@
147
mkdir_p = @mkdir_p@
148
oldincludedir = @oldincludedir@
149
pdfdir = @pdfdir@
150
prefix = @prefix@
151
program_transform_name = @program_transform_name@
152
psdir = @psdir@
153
sbindir = @sbindir@
154
sharedstatedir = @sharedstatedir@
155
sysconfdir = @sysconfdir@
156
target_alias = @target_alias@
157
startupdir = $(datadir)/startup/unix/os2
158
startup_DATA = macros.mk 
159
all: all-am
160
161
.SUFFIXES:
162
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
163
	@for dep in $?; do \
164
	  case '$(am__configure_deps)' in \
165
	    *$$dep*) \
166
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
167
		&& exit 0; \
168
	      exit 1;; \
169
	  esac; \
170
	done; \
171
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/unix/os2/Makefile'; \
172
	cd $(top_srcdir) && \
173
	  $(AUTOMAKE) --foreign  startup/unix/os2/Makefile
174
.PRECIOUS: Makefile
175
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
	@case '$?' in \
177
	  *config.status*) \
178
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
179
	  *) \
180
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
181
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
182
	esac;
183
184
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
185
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
186
187
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
188
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
189
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
190
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
191
uninstall-info-am:
192
install-startupDATA: $(startup_DATA)
193
	@$(NORMAL_INSTALL)
194
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
195
	@list='$(startup_DATA)'; for p in $$list; do \
196
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
197
	  f=$(am__strip_dir) \
198
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
199
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
200
	done
201
202
uninstall-startupDATA:
203
	@$(NORMAL_UNINSTALL)
204
	@list='$(startup_DATA)'; for p in $$list; do \
205
	  f=$(am__strip_dir) \
206
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
207
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
208
	done
209
tags: TAGS
210
TAGS:
211
212
ctags: CTAGS
213
CTAGS:
214
215
216
distdir: $(DISTFILES)
217
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
218
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
219
	list='$(DISTFILES)'; for file in $$list; do \
220
	  case $$file in \
221
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
222
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
223
	  esac; \
224
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
225
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
226
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
227
	    dir="/$$dir"; \
228
	    $(mkdir_p) "$(distdir)$$dir"; \
229
	  else \
230
	    dir=''; \
231
	  fi; \
232
	  if test -d $$d/$$file; then \
233
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
234
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
235
	    fi; \
236
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
237
	  else \
238
	    test -f $(distdir)/$$file \
239
	    || cp -p $$d/$$file $(distdir)/$$file \
240
	    || exit 1; \
241
	  fi; \
242
	done
243
check-am: all-am
244
check: check-am
245
all-am: Makefile $(DATA)
246
installdirs:
247
	for dir in "$(DESTDIR)$(startupdir)"; do \
248
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
249
	done
250
install: install-am
251
install-exec: install-exec-am
252
install-data: install-data-am
253
uninstall: uninstall-am
254
255
install-am: all-am
256
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
257
258
installcheck: installcheck-am
259
install-strip:
260
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
261
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
262
	  `test -z '$(STRIP)' || \
263
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
264
mostlyclean-generic:
265
266
clean-generic:
267
268
distclean-generic:
269
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
270
271
maintainer-clean-generic:
272
	@echo "This command is intended for maintainers to use"
273
	@echo "it deletes files that may require special tools to rebuild."
274
clean: clean-am
275
276
clean-am: clean-generic mostlyclean-am
277
278
distclean: distclean-am
279
	-rm -f Makefile
280
distclean-am: clean-am distclean-generic
281
282
dvi: dvi-am
283
284
dvi-am:
285
286
html: html-am
287
288
info: info-am
289
290
info-am:
291
292
install-data-am: install-startupDATA
293
294
install-exec-am:
295
296
install-info: install-info-am
297
298
install-man:
299
300
installcheck-am:
301
302
maintainer-clean: maintainer-clean-am
303
	-rm -f Makefile
304
maintainer-clean-am: distclean-am maintainer-clean-generic
305
306
mostlyclean: mostlyclean-am
307
308
mostlyclean-am: mostlyclean-generic
309
310
pdf: pdf-am
311
312
pdf-am:
313
314
ps: ps-am
315
316
ps-am:
317
318
uninstall-am: uninstall-info-am uninstall-startupDATA
319
320
.PHONY: all all-am check check-am clean clean-generic distclean \
321
	distclean-generic distdir dvi dvi-am html html-am info info-am \
322
	install install-am install-data install-data-am install-exec \
323
	install-exec-am install-info install-info-am install-man \
324
	install-startupDATA install-strip installcheck installcheck-am \
325
	installdirs maintainer-clean maintainer-clean-generic \
326
	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
327
	uninstall-am uninstall-info-am uninstall-startupDATA
328
329
# Tell versions [3.59,3.63) of GNU make to not export all variables.
330
# Otherwise a system limit (for SysV at least) may be exceeded.
331
.NOEXPORT:
(-)a/main/dmake/startup/unix/os2/macros.mk (-60 lines)
Lines 1-60 Link Here
1
# Define additional OS/2 specific macros.
2
#
3
4
# Process release-specific refinements, if any.
5
.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/macros.mk
6
7
# Execution environment configuration.
8
# Grab the current setting of COMSPEC.
9
#
10
.IMPORT .IGNORE : COMSPEC ROOTDIR
11
12
# First check if SHELL is defined to be something other than COMSPEC.
13
# If it is assume that SHELL is a Korn compatible shell like MKS's
14
.IF $(SHELL) == $(NULL)
15
   .IF $(COMSPEC) == $(NULL)
16
      SHELL *:= $(ROOTDIR)$/bin$/sh$E
17
   .ELSE
18
      SHELL *:= $(COMSPEC)
19
   .END
20
.END
21
GROUPSHELL *:= $(SHELL)
22
23
# Directory entries are case incensitive
24
.DIRCACHERESPCASE *:= no
25
26
# Applicable suffix definitions
27
A *:= .lib	# Libraries
28
E *:= .exe	# Executables
29
F *:= .for	# Fortran
30
O *:= .obj	# Objects
31
P *:= .pas	# Pascal
32
S *:= .asm	# Assembler sources
33
V *:= 		# RCS suffix
34
35
# Now set the remaining arguments depending on which SHELL we
36
# are going to use.  COMSPEC (assumed to be command.com) or
37
# MKS Korn shell.
38
.IF $(SHELL) == $(COMSPEC)
39
   SHELLFLAGS       *:= $(SWITCHAR)c
40
   GROUPFLAGS       *:= $(SHELLFLAGS)
41
   SHELLMETAS       *:= *"?<>
42
   GROUPSUFFIX      *:= .bat
43
   DIRSEPSTR        *:= \\\
44
   DIVFILE          *=  $(TMPFILE:s,/,\,)
45
   RM               *=  del
46
   RMFLAGS          *=
47
   MV	            *=  rename
48
.ELSE
49
   SHELLFLAGS       *:= -c
50
   GROUPFLAGS       *:= 
51
   SHELLMETAS       *:= *"?<>|()&][$$\#`'
52
   GROUPSUFFIX      *:= .ksh
53
   .MKSARGS         *:= yes
54
   RM               *=  $(ROOTDIR)$/bin$/rm
55
   RMFLAGS          *=  -f
56
   MV	            *=  $(ROOTDIR)$/bin$/mv
57
   DIVFILE          *=  $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}},)
58
   __.DIVSEP-sh-yes !:= \\\
59
   __.DIVSEP-sh-no  !:= \\
60
.ENDIF
(-)a/main/dmake/startup/unix/recipes.mk (-15 lines)
Lines 1-15 Link Here
1
# Define additional UNIX specific build recipes.
2
#
3
4
# Define additional build targets.
5
%$E : %.sh; cp $< $@; chmod 0777 $@
6
7
# This rule tells how to make a non-suffixed executable from its single
8
# file source.
9
% : %$O; $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS)
10
11
# This rule tells how to make a.out from it's immediate list of prerequisites.
12
%.out :; $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
13
14
# Process release-specific refinements, if any.
15
.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/recipes.mk
(-)a/main/dmake/startup/unix/solaris/Makefile.am (-6 lines)
Lines 1-6 Link Here
1
2
startupdir = $(datadir)/startup/unix/solaris
3
4
startup_DATA = macros.mk 
5
6
(-)a/main/dmake/startup/unix/solaris/Makefile.in (-331 lines)
Lines 1-331 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/unix/solaris
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
am__vpath_adj = case $$p in \
53
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
    *) f=$$p;; \
55
  esac;
56
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57
am__installdirs = "$(DESTDIR)$(startupdir)"
58
startupDATA_INSTALL = $(INSTALL_DATA)
59
DATA = $(startup_DATA)
60
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61
ACLOCAL = @ACLOCAL@
62
AMDEP_FALSE = @AMDEP_FALSE@
63
AMDEP_TRUE = @AMDEP_TRUE@
64
AMTAR = @AMTAR@
65
AUTOCONF = @AUTOCONF@
66
AUTOHEADER = @AUTOHEADER@
67
AUTOMAKE = @AUTOMAKE@
68
AWK = @AWK@
69
CC = @CC@
70
CCDEPMODE = @CCDEPMODE@
71
CFLAGS = @CFLAGS@
72
CPP = @CPP@
73
CPPFLAGS = @CPPFLAGS@
74
CYGPATH_W = @CYGPATH_W@
75
DBUG_FALSE = @DBUG_FALSE@
76
DBUG_TRUE = @DBUG_TRUE@
77
DEFS = @DEFS@
78
DEPDIR = @DEPDIR@
79
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
80
ECHO_C = @ECHO_C@
81
ECHO_N = @ECHO_N@
82
ECHO_T = @ECHO_T@
83
EGREP = @EGREP@
84
EXEEXT = @EXEEXT@
85
GREP = @GREP@
86
INSTALL_DATA = @INSTALL_DATA@
87
INSTALL_PROGRAM = @INSTALL_PROGRAM@
88
INSTALL_SCRIPT = @INSTALL_SCRIPT@
89
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90
LDFLAGS = @LDFLAGS@
91
LIBOBJS = @LIBOBJS@
92
LIBS = @LIBS@
93
LN_S = @LN_S@
94
LTLIBOBJS = @LTLIBOBJS@
95
MAINT = @MAINT@
96
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
97
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
98
MAKEINFO = @MAKEINFO@
99
OBJEXT = @OBJEXT@
100
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
101
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
102
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
103
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
104
OS_TYPE = @OS_TYPE@
105
OS_VERSION = @OS_VERSION@
106
PACKAGE = @PACKAGE@
107
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108
PACKAGE_NAME = @PACKAGE_NAME@
109
PACKAGE_STRING = @PACKAGE_STRING@
110
PACKAGE_TARNAME = @PACKAGE_TARNAME@
111
PACKAGE_VERSION = @PACKAGE_VERSION@
112
PATH_SEPARATOR = @PATH_SEPARATOR@
113
RANLIB = @RANLIB@
114
SET_MAKE = @SET_MAKE@
115
SHELL = @SHELL@
116
STRIP = @STRIP@
117
VERSION = @VERSION@
118
ac_ct_CC = @ac_ct_CC@
119
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121
am__include = @am__include@
122
am__leading_dot = @am__leading_dot@
123
am__quote = @am__quote@
124
am__tar = @am__tar@
125
am__untar = @am__untar@
126
bindir = @bindir@
127
build = @build@
128
build_alias = @build_alias@
129
build_cpu = @build_cpu@
130
build_os = @build_os@
131
build_vendor = @build_vendor@
132
datadir = @datadir@
133
datarootdir = @datarootdir@
134
docdir = @docdir@
135
dvidir = @dvidir@
136
exec_prefix = @exec_prefix@
137
host_alias = @host_alias@
138
htmldir = @htmldir@
139
includedir = @includedir@
140
infodir = @infodir@
141
install_sh = @install_sh@
142
libdir = @libdir@
143
libexecdir = @libexecdir@
144
localedir = @localedir@
145
localstatedir = @localstatedir@
146
mandir = @mandir@
147
mkdir_p = @mkdir_p@
148
oldincludedir = @oldincludedir@
149
pdfdir = @pdfdir@
150
prefix = @prefix@
151
program_transform_name = @program_transform_name@
152
psdir = @psdir@
153
sbindir = @sbindir@
154
sharedstatedir = @sharedstatedir@
155
sysconfdir = @sysconfdir@
156
target_alias = @target_alias@
157
startupdir = $(datadir)/startup/unix/solaris
158
startup_DATA = macros.mk 
159
all: all-am
160
161
.SUFFIXES:
162
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
163
	@for dep in $?; do \
164
	  case '$(am__configure_deps)' in \
165
	    *$$dep*) \
166
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
167
		&& exit 0; \
168
	      exit 1;; \
169
	  esac; \
170
	done; \
171
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/unix/solaris/Makefile'; \
172
	cd $(top_srcdir) && \
173
	  $(AUTOMAKE) --foreign  startup/unix/solaris/Makefile
174
.PRECIOUS: Makefile
175
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
	@case '$?' in \
177
	  *config.status*) \
178
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
179
	  *) \
180
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
181
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
182
	esac;
183
184
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
185
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
186
187
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
188
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
189
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
190
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
191
uninstall-info-am:
192
install-startupDATA: $(startup_DATA)
193
	@$(NORMAL_INSTALL)
194
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
195
	@list='$(startup_DATA)'; for p in $$list; do \
196
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
197
	  f=$(am__strip_dir) \
198
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
199
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
200
	done
201
202
uninstall-startupDATA:
203
	@$(NORMAL_UNINSTALL)
204
	@list='$(startup_DATA)'; for p in $$list; do \
205
	  f=$(am__strip_dir) \
206
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
207
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
208
	done
209
tags: TAGS
210
TAGS:
211
212
ctags: CTAGS
213
CTAGS:
214
215
216
distdir: $(DISTFILES)
217
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
218
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
219
	list='$(DISTFILES)'; for file in $$list; do \
220
	  case $$file in \
221
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
222
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
223
	  esac; \
224
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
225
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
226
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
227
	    dir="/$$dir"; \
228
	    $(mkdir_p) "$(distdir)$$dir"; \
229
	  else \
230
	    dir=''; \
231
	  fi; \
232
	  if test -d $$d/$$file; then \
233
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
234
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
235
	    fi; \
236
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
237
	  else \
238
	    test -f $(distdir)/$$file \
239
	    || cp -p $$d/$$file $(distdir)/$$file \
240
	    || exit 1; \
241
	  fi; \
242
	done
243
check-am: all-am
244
check: check-am
245
all-am: Makefile $(DATA)
246
installdirs:
247
	for dir in "$(DESTDIR)$(startupdir)"; do \
248
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
249
	done
250
install: install-am
251
install-exec: install-exec-am
252
install-data: install-data-am
253
uninstall: uninstall-am
254
255
install-am: all-am
256
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
257
258
installcheck: installcheck-am
259
install-strip:
260
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
261
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
262
	  `test -z '$(STRIP)' || \
263
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
264
mostlyclean-generic:
265
266
clean-generic:
267
268
distclean-generic:
269
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
270
271
maintainer-clean-generic:
272
	@echo "This command is intended for maintainers to use"
273
	@echo "it deletes files that may require special tools to rebuild."
274
clean: clean-am
275
276
clean-am: clean-generic mostlyclean-am
277
278
distclean: distclean-am
279
	-rm -f Makefile
280
distclean-am: clean-am distclean-generic
281
282
dvi: dvi-am
283
284
dvi-am:
285
286
html: html-am
287
288
info: info-am
289
290
info-am:
291
292
install-data-am: install-startupDATA
293
294
install-exec-am:
295
296
install-info: install-info-am
297
298
install-man:
299
300
installcheck-am:
301
302
maintainer-clean: maintainer-clean-am
303
	-rm -f Makefile
304
maintainer-clean-am: distclean-am maintainer-clean-generic
305
306
mostlyclean: mostlyclean-am
307
308
mostlyclean-am: mostlyclean-generic
309
310
pdf: pdf-am
311
312
pdf-am:
313
314
ps: ps-am
315
316
ps-am:
317
318
uninstall-am: uninstall-info-am uninstall-startupDATA
319
320
.PHONY: all all-am check check-am clean clean-generic distclean \
321
	distclean-generic distdir dvi dvi-am html html-am info info-am \
322
	install install-am install-data install-data-am install-exec \
323
	install-exec-am install-info install-info-am install-man \
324
	install-startupDATA install-strip installcheck installcheck-am \
325
	installdirs maintainer-clean maintainer-clean-generic \
326
	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
327
	uninstall-am uninstall-info-am uninstall-startupDATA
328
329
# Tell versions [3.59,3.63) of GNU make to not export all variables.
330
# Otherwise a system limit (for SysV at least) may be exceeded.
331
.NOEXPORT:
(-)a/main/dmake/startup/unix/solaris/macros.mk (-6 lines)
Lines 1-6 Link Here
1
# We hang off the standard sysvr3'isms
2
#
3
__.incdir !:= $(INCFILENAME:d:d:d:d)/sysvr3
4
5
# Process environment-specific refinements, if any.
6
.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : macros.mk
(-)a/main/dmake/startup/unix/sysvr1/macros.mk (-6 lines)
Lines 1-6 Link Here
1
# We hang off the standard sysvr3'isms
2
#
3
__.incdir !:= $(INCFILENAME:d:d:d:d)/sysvr3
4
5
# Process environment-specific refinements, if any.
6
.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : macros.mk
(-)a/main/dmake/startup/unix/sysvr3/gnu/macros.mk (-12 lines)
Lines 1-12 Link Here
1
# System V R3 GCC compiler specific macro definitions...
2
#
3
4
# Common tool renamings
5
CC    *:= gcc
6
"C++" *:= g++
7
AS    *:= gas
8
YACC  *:= bison
9
LEX   *:= flex
10
11
# Common flag settings
12
ARFLAGS *= -rvs
(-)a/main/dmake/startup/unix/sysvr3/macros.mk (-7 lines)
Lines 1-7 Link Here
1
# Define additional UNIX specific macros.
2
#
3
4
# Process environment-specific refinements, if any.
5
.IF $(OSENVIRONMENT)
6
   .INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
7
.ENDIF
(-)a/main/dmake/startup/unix/sysvr4/Makefile.am (-6 lines)
Lines 1-6 Link Here
1
2
startupdir = $(datadir)/startup/unix/sysvr4
3
4
startup_DATA = macros.mk 
5
6
(-)a/main/dmake/startup/unix/sysvr4/Makefile.in (-331 lines)
Lines 1-331 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/unix/sysvr4
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
am__vpath_adj = case $$p in \
53
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
    *) f=$$p;; \
55
  esac;
56
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57
am__installdirs = "$(DESTDIR)$(startupdir)"
58
startupDATA_INSTALL = $(INSTALL_DATA)
59
DATA = $(startup_DATA)
60
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61
ACLOCAL = @ACLOCAL@
62
AMDEP_FALSE = @AMDEP_FALSE@
63
AMDEP_TRUE = @AMDEP_TRUE@
64
AMTAR = @AMTAR@
65
AUTOCONF = @AUTOCONF@
66
AUTOHEADER = @AUTOHEADER@
67
AUTOMAKE = @AUTOMAKE@
68
AWK = @AWK@
69
CC = @CC@
70
CCDEPMODE = @CCDEPMODE@
71
CFLAGS = @CFLAGS@
72
CPP = @CPP@
73
CPPFLAGS = @CPPFLAGS@
74
CYGPATH_W = @CYGPATH_W@
75
DBUG_FALSE = @DBUG_FALSE@
76
DBUG_TRUE = @DBUG_TRUE@
77
DEFS = @DEFS@
78
DEPDIR = @DEPDIR@
79
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
80
ECHO_C = @ECHO_C@
81
ECHO_N = @ECHO_N@
82
ECHO_T = @ECHO_T@
83
EGREP = @EGREP@
84
EXEEXT = @EXEEXT@
85
GREP = @GREP@
86
INSTALL_DATA = @INSTALL_DATA@
87
INSTALL_PROGRAM = @INSTALL_PROGRAM@
88
INSTALL_SCRIPT = @INSTALL_SCRIPT@
89
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90
LDFLAGS = @LDFLAGS@
91
LIBOBJS = @LIBOBJS@
92
LIBS = @LIBS@
93
LN_S = @LN_S@
94
LTLIBOBJS = @LTLIBOBJS@
95
MAINT = @MAINT@
96
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
97
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
98
MAKEINFO = @MAKEINFO@
99
OBJEXT = @OBJEXT@
100
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
101
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
102
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
103
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
104
OS_TYPE = @OS_TYPE@
105
OS_VERSION = @OS_VERSION@
106
PACKAGE = @PACKAGE@
107
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108
PACKAGE_NAME = @PACKAGE_NAME@
109
PACKAGE_STRING = @PACKAGE_STRING@
110
PACKAGE_TARNAME = @PACKAGE_TARNAME@
111
PACKAGE_VERSION = @PACKAGE_VERSION@
112
PATH_SEPARATOR = @PATH_SEPARATOR@
113
RANLIB = @RANLIB@
114
SET_MAKE = @SET_MAKE@
115
SHELL = @SHELL@
116
STRIP = @STRIP@
117
VERSION = @VERSION@
118
ac_ct_CC = @ac_ct_CC@
119
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121
am__include = @am__include@
122
am__leading_dot = @am__leading_dot@
123
am__quote = @am__quote@
124
am__tar = @am__tar@
125
am__untar = @am__untar@
126
bindir = @bindir@
127
build = @build@
128
build_alias = @build_alias@
129
build_cpu = @build_cpu@
130
build_os = @build_os@
131
build_vendor = @build_vendor@
132
datadir = @datadir@
133
datarootdir = @datarootdir@
134
docdir = @docdir@
135
dvidir = @dvidir@
136
exec_prefix = @exec_prefix@
137
host_alias = @host_alias@
138
htmldir = @htmldir@
139
includedir = @includedir@
140
infodir = @infodir@
141
install_sh = @install_sh@
142
libdir = @libdir@
143
libexecdir = @libexecdir@
144
localedir = @localedir@
145
localstatedir = @localstatedir@
146
mandir = @mandir@
147
mkdir_p = @mkdir_p@
148
oldincludedir = @oldincludedir@
149
pdfdir = @pdfdir@
150
prefix = @prefix@
151
program_transform_name = @program_transform_name@
152
psdir = @psdir@
153
sbindir = @sbindir@
154
sharedstatedir = @sharedstatedir@
155
sysconfdir = @sysconfdir@
156
target_alias = @target_alias@
157
startupdir = $(datadir)/startup/unix/sysvr4
158
startup_DATA = macros.mk 
159
all: all-am
160
161
.SUFFIXES:
162
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
163
	@for dep in $?; do \
164
	  case '$(am__configure_deps)' in \
165
	    *$$dep*) \
166
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
167
		&& exit 0; \
168
	      exit 1;; \
169
	  esac; \
170
	done; \
171
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/unix/sysvr4/Makefile'; \
172
	cd $(top_srcdir) && \
173
	  $(AUTOMAKE) --foreign  startup/unix/sysvr4/Makefile
174
.PRECIOUS: Makefile
175
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
	@case '$?' in \
177
	  *config.status*) \
178
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
179
	  *) \
180
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
181
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
182
	esac;
183
184
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
185
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
186
187
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
188
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
189
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
190
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
191
uninstall-info-am:
192
install-startupDATA: $(startup_DATA)
193
	@$(NORMAL_INSTALL)
194
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
195
	@list='$(startup_DATA)'; for p in $$list; do \
196
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
197
	  f=$(am__strip_dir) \
198
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
199
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
200
	done
201
202
uninstall-startupDATA:
203
	@$(NORMAL_UNINSTALL)
204
	@list='$(startup_DATA)'; for p in $$list; do \
205
	  f=$(am__strip_dir) \
206
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
207
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
208
	done
209
tags: TAGS
210
TAGS:
211
212
ctags: CTAGS
213
CTAGS:
214
215
216
distdir: $(DISTFILES)
217
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
218
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
219
	list='$(DISTFILES)'; for file in $$list; do \
220
	  case $$file in \
221
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
222
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
223
	  esac; \
224
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
225
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
226
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
227
	    dir="/$$dir"; \
228
	    $(mkdir_p) "$(distdir)$$dir"; \
229
	  else \
230
	    dir=''; \
231
	  fi; \
232
	  if test -d $$d/$$file; then \
233
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
234
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
235
	    fi; \
236
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
237
	  else \
238
	    test -f $(distdir)/$$file \
239
	    || cp -p $$d/$$file $(distdir)/$$file \
240
	    || exit 1; \
241
	  fi; \
242
	done
243
check-am: all-am
244
check: check-am
245
all-am: Makefile $(DATA)
246
installdirs:
247
	for dir in "$(DESTDIR)$(startupdir)"; do \
248
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
249
	done
250
install: install-am
251
install-exec: install-exec-am
252
install-data: install-data-am
253
uninstall: uninstall-am
254
255
install-am: all-am
256
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
257
258
installcheck: installcheck-am
259
install-strip:
260
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
261
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
262
	  `test -z '$(STRIP)' || \
263
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
264
mostlyclean-generic:
265
266
clean-generic:
267
268
distclean-generic:
269
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
270
271
maintainer-clean-generic:
272
	@echo "This command is intended for maintainers to use"
273
	@echo "it deletes files that may require special tools to rebuild."
274
clean: clean-am
275
276
clean-am: clean-generic mostlyclean-am
277
278
distclean: distclean-am
279
	-rm -f Makefile
280
distclean-am: clean-am distclean-generic
281
282
dvi: dvi-am
283
284
dvi-am:
285
286
html: html-am
287
288
info: info-am
289
290
info-am:
291
292
install-data-am: install-startupDATA
293
294
install-exec-am:
295
296
install-info: install-info-am
297
298
install-man:
299
300
installcheck-am:
301
302
maintainer-clean: maintainer-clean-am
303
	-rm -f Makefile
304
maintainer-clean-am: distclean-am maintainer-clean-generic
305
306
mostlyclean: mostlyclean-am
307
308
mostlyclean-am: mostlyclean-generic
309
310
pdf: pdf-am
311
312
pdf-am:
313
314
ps: ps-am
315
316
ps-am:
317
318
uninstall-am: uninstall-info-am uninstall-startupDATA
319
320
.PHONY: all all-am check check-am clean clean-generic distclean \
321
	distclean-generic distdir dvi dvi-am html html-am info info-am \
322
	install install-am install-data install-data-am install-exec \
323
	install-exec-am install-info install-info-am install-man \
324
	install-startupDATA install-strip installcheck installcheck-am \
325
	installdirs maintainer-clean maintainer-clean-generic \
326
	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
327
	uninstall-am uninstall-info-am uninstall-startupDATA
328
329
# Tell versions [3.59,3.63) of GNU make to not export all variables.
330
# Otherwise a system limit (for SysV at least) may be exceeded.
331
.NOEXPORT:
(-)a/main/dmake/startup/unix/sysvr4/macros.mk (-6 lines)
Lines 1-6 Link Here
1
# We hang off the standard sysvr3'isms
2
#
3
__.incdir !:= $(INCFILENAME:d:d:d:d)/sysvr3
4
5
# Process environment-specific refinements, if any.
6
.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : macros.mk
(-)a/main/dmake/startup/unix/xenix/macros.mk (-6 lines)
Lines 1-6 Link Here
1
# We hang off the standard sysvr3'isms
2
#
3
__.incdir !:= $(INCFILENAME:d:d:d:d)/sysvr3
4
5
# Process environment-specific refinements, if any.
6
.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : macros.mk
(-)a/main/dmake/startup/win95/borland/macros.mk (-34 lines)
Lines 1-34 Link Here
1
# MSDOS Borland-C environment customization.
2
3
.IF $(OSENVIRONMENT)
4
   .INCLUDE .IGNORE .NOINFER : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
5
.ENDIF
6
7
# Standard C-language command names and flags
8
CPP	   *:=			# C-preprocessor
9
CC         *:= bcc32
10
CFLAGS     *=			# C   compiler flags
11
"C++"      *:=			# C++ Compiler
12
"C++FLAGS" *=			# C++ Compiler flags
13
14
AS         *:= tasm		# Assembler and flags
15
ASFLAGS    *= 
16
LD         *= tlink32		# Loader and flags
17
LDFLAGS    *=
18
LDLIBS     *=			# Default libraries
19
AR         *:= tlib		# archiver
20
ARFLAGS    *= ????
21
22
# Definition of Print command for this system.
23
PRINT      *= print
24
25
# Language and Parser generation Tools and their flags
26
YACC	   *:= yacc		# standard yacc
27
YFLAGS     *=
28
LEX	   *:= lex		# standard lex
29
LFLAGS     *=
30
31
# Other Compilers, Tools and their flags
32
PC	   *:= tpc		# pascal compiler
33
RC	   *:= ???		# ratfor compiler
34
FC	   *:= ???		# fortran compiler
(-)a/main/dmake/startup/win95/macros.mk (-75 lines)
Lines 1-75 Link Here
1
# Define additional MSDOS specific settings.
2
#
3
4
# Execution environment configuration.
5
# Grab the current setting of COMSPEC.
6
#
7
.IMPORT .IGNORE : COMSPEC ROOTDIR
8
9
# First check if SHELL is defined to be something other than COMSPEC.
10
# If it is, then assume that SHELL is a Korn compatible shell like MKS's
11
.IF $(SHELL) == $(NULL)
12
   .IF $(COMSPEC) == $(NULL)
13
      SHELL *:= $(ROOTDIR)$/bin$/sh$E
14
   .ELSE
15
      SHELL *:= $(COMSPEC)
16
   .END
17
.END
18
GROUPSHELL *:= $(SHELL)
19
20
# Process release-specific refinements, if any.
21
.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/macros.mk
22
23
# Applicable suffix definitions
24
A *:= .lib	# Libraries
25
E *:= .exe	# Executables
26
F *:= .for	# Fortran
27
O *:= .obj	# Objects
28
P *:= .pas	# Pascal
29
S *:= .asm	# Assembler sources
30
V *:= 		# RCS suffix
31
32
# Now set the remaining arguments depending on which SHELL we
33
# are going to use.  COMSPEC (assumed to be command.com) or
34
# MKS Korn shell.
35
.IF $(SHELL) == $(COMSPEC)
36
.IF $(COMSPEC:lf) == cmd.exe
37
   SHELLFLAGS       *:= $(SWITCHAR)S $(SWITCHAR)c
38
   SHELLCMDQUOTE    *:= "
39
# " fix syntax highlighting
40
.ELIF $(COMSPEC:lf) == command.com
41
   SHELLFLAGS       *:= $(SWITCHAR)c
42
   SHELLCMDQUOTE    *:= "
43
# " fix syntax highlighting
44
.ELSE
45
   SHELLFLAGS       *:= $(SWITCHAR)c
46
.END
47
   GROUPFLAGS       *:= $(SWITCHAR)c
48
   SHELLMETAS       *:= "<>|
49
# " fix syntax highlighting
50
   GROUPSUFFIX      *:= .bat
51
   DIVFILE          *=  $(TMPFILE:s,/,\,)
52
   RM               *=  del
53
   RMFLAGS          *=
54
   MV	            *=  rename
55
   __.DIVSEP-sh-yes *:= \\
56
   __.DIVSEP-sh-no  *:= \\
57
.ELSE
58
   SHELL	    !:= $(SHELL:s,/,\,)
59
   COMMAND          *=  $(CMNDNAME:s,/,\,) $(CMNDARGS)
60
   SHELLFLAGS       *:= -c
61
   GROUPFLAGS       *:= 
62
   SHELLMETAS       *:= *";?<>|()&][$$\#`'
63
   GROUPSUFFIX      *:= .ksh
64
   .MKSARGS         *:= yes
65
   RM               *=  $(ROOTDIR)$/bin$/rm
66
   RMFLAGS          *=  -f
67
   MV	            *=  $(ROOTDIR)$/bin$/mv
68
   DIVFILE          *=  $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}},)
69
   __.DIVSEP-sh-yes *:= \\\
70
   __.DIVSEP-sh-no  *:= \\
71
.ENDIF
72
73
74
# Does not respect case of filenames.
75
.DIRCACHERESPCASE := no
(-)a/main/dmake/startup/win95/microsft/macros.mk (-38 lines)
Lines 1-38 Link Here
1
# MSDOS Microsoft-C environment customization.
2
3
.IF $(OSENVIRONMENT)
4
   .INCLUDE .IGNORE .NOINFER : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
5
.ENDIF
6
7
# Standard C-language command names and flags
8
CC         *:= cl		# C   compiler 
9
CPP	   *:=			# C-preprocessor
10
CFLAGS     *=			# C   compiler flags
11
"C++"      *:=			# C++ Compiler
12
"C++FLAGS" *=			# C++ Compiler flags
13
14
AS         *:= masm		# Assembler and flags
15
ASFLAGS    *= 
16
LD         *= link		# Loader and flags
17
LDFLAGS    *=
18
LDLIBS     *=			# Default libraries
19
AR         *:= lib		# archiver
20
ARFLAGS    *= ????
21
22
# Definition of Print command for this system.
23
PRINT      *= print
24
25
# Language and Parser generation Tools and their flags
26
YACC	   *:= yacc		# standard yacc
27
YFLAGS     *=
28
LEX	   *:= lex		# standard lex
29
LFLAGS     *=
30
31
# Other Compilers, Tools and their flags
32
PC	   *:= ???		# pascal compiler
33
RC	   *:= ???		# ratfor compiler
34
FC	   *:= ???		# fortran compiler
35
36
37
# Directory cache configuration.
38
.DIRCACHE *:= no
(-)a/main/dmake/startup/win95/recipes.mk (-9 lines)
Lines 1-9 Link Here
1
# Define additional MSDOS specific build recipes.
2
#
3
4
# Executables
5
   %$E       : %$O ; $(CC) $(LDFLAGS) -o$@ $< $(LDLIBS)
6
   %$O       : %$S ; $(AS) $(ASFLAGS) $(<:s,/,\)
7
8
# Process release-specific refinements, if any.
9
.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/recipes.mk
(-)a/main/dmake/startup/winnt/Makefile.am (-8 lines)
Lines 1-8 Link Here
1
2
startupdir = $(datadir)/startup/winnt
3
4
startup_DATA = macros.mk recipes.mk
5
6
DIST_SUBDIRS = mingw msvc6
7
SUBDIRS = @OS_VERSION@
8
(-)a/main/dmake/startup/winnt/Makefile.in (-489 lines)
Lines 1-489 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/winnt
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
52
	html-recursive info-recursive install-data-recursive \
53
	install-exec-recursive install-info-recursive \
54
	install-recursive installcheck-recursive installdirs-recursive \
55
	pdf-recursive ps-recursive uninstall-info-recursive \
56
	uninstall-recursive
57
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
58
am__vpath_adj = case $$p in \
59
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
60
    *) f=$$p;; \
61
  esac;
62
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
63
am__installdirs = "$(DESTDIR)$(startupdir)"
64
startupDATA_INSTALL = $(INSTALL_DATA)
65
DATA = $(startup_DATA)
66
ETAGS = etags
67
CTAGS = ctags
68
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
69
ACLOCAL = @ACLOCAL@
70
AMDEP_FALSE = @AMDEP_FALSE@
71
AMDEP_TRUE = @AMDEP_TRUE@
72
AMTAR = @AMTAR@
73
AUTOCONF = @AUTOCONF@
74
AUTOHEADER = @AUTOHEADER@
75
AUTOMAKE = @AUTOMAKE@
76
AWK = @AWK@
77
CC = @CC@
78
CCDEPMODE = @CCDEPMODE@
79
CFLAGS = @CFLAGS@
80
CPP = @CPP@
81
CPPFLAGS = @CPPFLAGS@
82
CYGPATH_W = @CYGPATH_W@
83
DBUG_FALSE = @DBUG_FALSE@
84
DBUG_TRUE = @DBUG_TRUE@
85
DEFS = @DEFS@
86
DEPDIR = @DEPDIR@
87
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
88
ECHO_C = @ECHO_C@
89
ECHO_N = @ECHO_N@
90
ECHO_T = @ECHO_T@
91
EGREP = @EGREP@
92
EXEEXT = @EXEEXT@
93
GREP = @GREP@
94
INSTALL_DATA = @INSTALL_DATA@
95
INSTALL_PROGRAM = @INSTALL_PROGRAM@
96
INSTALL_SCRIPT = @INSTALL_SCRIPT@
97
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
98
LDFLAGS = @LDFLAGS@
99
LIBOBJS = @LIBOBJS@
100
LIBS = @LIBS@
101
LN_S = @LN_S@
102
LTLIBOBJS = @LTLIBOBJS@
103
MAINT = @MAINT@
104
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
105
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
106
MAKEINFO = @MAKEINFO@
107
OBJEXT = @OBJEXT@
108
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
109
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
110
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
111
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
112
OS_TYPE = @OS_TYPE@
113
OS_VERSION = @OS_VERSION@
114
PACKAGE = @PACKAGE@
115
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
116
PACKAGE_NAME = @PACKAGE_NAME@
117
PACKAGE_STRING = @PACKAGE_STRING@
118
PACKAGE_TARNAME = @PACKAGE_TARNAME@
119
PACKAGE_VERSION = @PACKAGE_VERSION@
120
PATH_SEPARATOR = @PATH_SEPARATOR@
121
RANLIB = @RANLIB@
122
SET_MAKE = @SET_MAKE@
123
SHELL = @SHELL@
124
STRIP = @STRIP@
125
VERSION = @VERSION@
126
ac_ct_CC = @ac_ct_CC@
127
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
128
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
129
am__include = @am__include@
130
am__leading_dot = @am__leading_dot@
131
am__quote = @am__quote@
132
am__tar = @am__tar@
133
am__untar = @am__untar@
134
bindir = @bindir@
135
build = @build@
136
build_alias = @build_alias@
137
build_cpu = @build_cpu@
138
build_os = @build_os@
139
build_vendor = @build_vendor@
140
datadir = @datadir@
141
datarootdir = @datarootdir@
142
docdir = @docdir@
143
dvidir = @dvidir@
144
exec_prefix = @exec_prefix@
145
host_alias = @host_alias@
146
htmldir = @htmldir@
147
includedir = @includedir@
148
infodir = @infodir@
149
install_sh = @install_sh@
150
libdir = @libdir@
151
libexecdir = @libexecdir@
152
localedir = @localedir@
153
localstatedir = @localstatedir@
154
mandir = @mandir@
155
mkdir_p = @mkdir_p@
156
oldincludedir = @oldincludedir@
157
pdfdir = @pdfdir@
158
prefix = @prefix@
159
program_transform_name = @program_transform_name@
160
psdir = @psdir@
161
sbindir = @sbindir@
162
sharedstatedir = @sharedstatedir@
163
sysconfdir = @sysconfdir@
164
target_alias = @target_alias@
165
startupdir = $(datadir)/startup/winnt
166
startup_DATA = macros.mk recipes.mk
167
DIST_SUBDIRS = mingw msvc6
168
SUBDIRS = @OS_VERSION@
169
all: all-recursive
170
171
.SUFFIXES:
172
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
173
	@for dep in $?; do \
174
	  case '$(am__configure_deps)' in \
175
	    *$$dep*) \
176
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
177
		&& exit 0; \
178
	      exit 1;; \
179
	  esac; \
180
	done; \
181
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/winnt/Makefile'; \
182
	cd $(top_srcdir) && \
183
	  $(AUTOMAKE) --foreign  startup/winnt/Makefile
184
.PRECIOUS: Makefile
185
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
186
	@case '$?' in \
187
	  *config.status*) \
188
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
189
	  *) \
190
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
191
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
192
	esac;
193
194
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
195
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
196
197
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
198
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
199
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
200
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
201
uninstall-info-am:
202
install-startupDATA: $(startup_DATA)
203
	@$(NORMAL_INSTALL)
204
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
205
	@list='$(startup_DATA)'; for p in $$list; do \
206
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
207
	  f=$(am__strip_dir) \
208
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
209
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
210
	done
211
212
uninstall-startupDATA:
213
	@$(NORMAL_UNINSTALL)
214
	@list='$(startup_DATA)'; for p in $$list; do \
215
	  f=$(am__strip_dir) \
216
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
217
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
218
	done
219
220
# This directory's subdirectories are mostly independent; you can cd
221
# into them and run `make' without going through this Makefile.
222
# To change the values of `make' variables: instead of editing Makefiles,
223
# (1) if the variable is set in `config.status', edit `config.status'
224
#     (which will cause the Makefiles to be regenerated when you run `make');
225
# (2) otherwise, pass the desired values on the `make' command line.
226
$(RECURSIVE_TARGETS):
227
	@failcom='exit 1'; \
228
	for f in x $$MAKEFLAGS; do \
229
	  case $$f in \
230
	    *=* | --[!k]*);; \
231
	    *k*) failcom='fail=yes';; \
232
	  esac; \
233
	done; \
234
	dot_seen=no; \
235
	target=`echo $@ | sed s/-recursive//`; \
236
	list='$(SUBDIRS)'; for subdir in $$list; do \
237
	  echo "Making $$target in $$subdir"; \
238
	  if test "$$subdir" = "."; then \
239
	    dot_seen=yes; \
240
	    local_target="$$target-am"; \
241
	  else \
242
	    local_target="$$target"; \
243
	  fi; \
244
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
245
	  || eval $$failcom; \
246
	done; \
247
	if test "$$dot_seen" = "no"; then \
248
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
249
	fi; test -z "$$fail"
250
251
mostlyclean-recursive clean-recursive distclean-recursive \
252
maintainer-clean-recursive:
253
	@failcom='exit 1'; \
254
	for f in x $$MAKEFLAGS; do \
255
	  case $$f in \
256
	    *=* | --[!k]*);; \
257
	    *k*) failcom='fail=yes';; \
258
	  esac; \
259
	done; \
260
	dot_seen=no; \
261
	case "$@" in \
262
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
263
	  *) list='$(SUBDIRS)' ;; \
264
	esac; \
265
	rev=''; for subdir in $$list; do \
266
	  if test "$$subdir" = "."; then :; else \
267
	    rev="$$subdir $$rev"; \
268
	  fi; \
269
	done; \
270
	rev="$$rev ."; \
271
	target=`echo $@ | sed s/-recursive//`; \
272
	for subdir in $$rev; do \
273
	  echo "Making $$target in $$subdir"; \
274
	  if test "$$subdir" = "."; then \
275
	    local_target="$$target-am"; \
276
	  else \
277
	    local_target="$$target"; \
278
	  fi; \
279
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
280
	  || eval $$failcom; \
281
	done && test -z "$$fail"
282
tags-recursive:
283
	list='$(SUBDIRS)'; for subdir in $$list; do \
284
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
285
	done
286
ctags-recursive:
287
	list='$(SUBDIRS)'; for subdir in $$list; do \
288
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
289
	done
290
291
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
292
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
293
	unique=`for i in $$list; do \
294
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
295
	  done | \
296
	  $(AWK) '    { files[$$0] = 1; } \
297
	       END { for (i in files) print i; }'`; \
298
	mkid -fID $$unique
299
tags: TAGS
300
301
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
302
		$(TAGS_FILES) $(LISP)
303
	tags=; \
304
	here=`pwd`; \
305
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
306
	  include_option=--etags-include; \
307
	  empty_fix=.; \
308
	else \
309
	  include_option=--include; \
310
	  empty_fix=; \
311
	fi; \
312
	list='$(SUBDIRS)'; for subdir in $$list; do \
313
	  if test "$$subdir" = .; then :; else \
314
	    test ! -f $$subdir/TAGS || \
315
	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
316
	  fi; \
317
	done; \
318
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
319
	unique=`for i in $$list; do \
320
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
321
	  done | \
322
	  $(AWK) '    { files[$$0] = 1; } \
323
	       END { for (i in files) print i; }'`; \
324
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
325
	  test -n "$$unique" || unique=$$empty_fix; \
326
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
327
	    $$tags $$unique; \
328
	fi
329
ctags: CTAGS
330
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
331
		$(TAGS_FILES) $(LISP)
332
	tags=; \
333
	here=`pwd`; \
334
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
335
	unique=`for i in $$list; do \
336
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
337
	  done | \
338
	  $(AWK) '    { files[$$0] = 1; } \
339
	       END { for (i in files) print i; }'`; \
340
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
341
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
342
	     $$tags $$unique
343
344
GTAGS:
345
	here=`$(am__cd) $(top_builddir) && pwd` \
346
	  && cd $(top_srcdir) \
347
	  && gtags -i $(GTAGS_ARGS) $$here
348
349
distclean-tags:
350
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
351
352
distdir: $(DISTFILES)
353
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
354
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
355
	list='$(DISTFILES)'; for file in $$list; do \
356
	  case $$file in \
357
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
358
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
359
	  esac; \
360
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
361
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
362
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
363
	    dir="/$$dir"; \
364
	    $(mkdir_p) "$(distdir)$$dir"; \
365
	  else \
366
	    dir=''; \
367
	  fi; \
368
	  if test -d $$d/$$file; then \
369
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
370
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
371
	    fi; \
372
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
373
	  else \
374
	    test -f $(distdir)/$$file \
375
	    || cp -p $$d/$$file $(distdir)/$$file \
376
	    || exit 1; \
377
	  fi; \
378
	done
379
	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
380
	  if test "$$subdir" = .; then :; else \
381
	    test -d "$(distdir)/$$subdir" \
382
	    || $(mkdir_p) "$(distdir)/$$subdir" \
383
	    || exit 1; \
384
	    distdir=`$(am__cd) $(distdir) && pwd`; \
385
	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
386
	    (cd $$subdir && \
387
	      $(MAKE) $(AM_MAKEFLAGS) \
388
	        top_distdir="$$top_distdir" \
389
	        distdir="$$distdir/$$subdir" \
390
	        distdir) \
391
	      || exit 1; \
392
	  fi; \
393
	done
394
check-am: all-am
395
check: check-recursive
396
all-am: Makefile $(DATA)
397
installdirs: installdirs-recursive
398
installdirs-am:
399
	for dir in "$(DESTDIR)$(startupdir)"; do \
400
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
401
	done
402
install: install-recursive
403
install-exec: install-exec-recursive
404
install-data: install-data-recursive
405
uninstall: uninstall-recursive
406
407
install-am: all-am
408
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
409
410
installcheck: installcheck-recursive
411
install-strip:
412
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
413
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
414
	  `test -z '$(STRIP)' || \
415
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
416
mostlyclean-generic:
417
418
clean-generic:
419
420
distclean-generic:
421
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
422
423
maintainer-clean-generic:
424
	@echo "This command is intended for maintainers to use"
425
	@echo "it deletes files that may require special tools to rebuild."
426
clean: clean-recursive
427
428
clean-am: clean-generic mostlyclean-am
429
430
distclean: distclean-recursive
431
	-rm -f Makefile
432
distclean-am: clean-am distclean-generic distclean-tags
433
434
dvi: dvi-recursive
435
436
dvi-am:
437
438
html: html-recursive
439
440
info: info-recursive
441
442
info-am:
443
444
install-data-am: install-startupDATA
445
446
install-exec-am:
447
448
install-info: install-info-recursive
449
450
install-man:
451
452
installcheck-am:
453
454
maintainer-clean: maintainer-clean-recursive
455
	-rm -f Makefile
456
maintainer-clean-am: distclean-am maintainer-clean-generic
457
458
mostlyclean: mostlyclean-recursive
459
460
mostlyclean-am: mostlyclean-generic
461
462
pdf: pdf-recursive
463
464
pdf-am:
465
466
ps: ps-recursive
467
468
ps-am:
469
470
uninstall-am: uninstall-info-am uninstall-startupDATA
471
472
uninstall-info: uninstall-info-recursive
473
474
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
475
	clean clean-generic clean-recursive ctags ctags-recursive \
476
	distclean distclean-generic distclean-recursive distclean-tags \
477
	distdir dvi dvi-am html html-am info info-am install \
478
	install-am install-data install-data-am install-exec \
479
	install-exec-am install-info install-info-am install-man \
480
	install-startupDATA install-strip installcheck installcheck-am \
481
	installdirs installdirs-am maintainer-clean \
482
	maintainer-clean-generic maintainer-clean-recursive \
483
	mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
484
	pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
485
	uninstall-info-am uninstall-startupDATA
486
487
# Tell versions [3.59,3.63) of GNU make to not export all variables.
488
# Otherwise a system limit (for SysV at least) may be exceeded.
489
.NOEXPORT:
(-)a/main/dmake/startup/winnt/borland/macros.mk (-34 lines)
Lines 1-34 Link Here
1
# MSDOS Borland-C environment customization.
2
3
.IF $(OSENVIRONMENT)
4
   .INCLUDE .IGNORE .NOINFER : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
5
.ENDIF
6
7
# Standard C-language command names and flags
8
CPP	   *:=			# C-preprocessor
9
CC         *:= bcc32
10
CFLAGS     *=			# C   compiler flags
11
"C++"      *:=			# C++ Compiler
12
"C++FLAGS" *=			# C++ Compiler flags
13
14
AS         *:= tasm		# Assembler and flags
15
ASFLAGS    *= 
16
LD         *= tlink32		# Loader and flags
17
LDFLAGS    *=
18
LDLIBS     *=			# Default libraries
19
AR         *:= tlib		# archiver
20
ARFLAGS    *= ????
21
22
# Definition of Print command for this system.
23
PRINT      *= print
24
25
# Language and Parser generation Tools and their flags
26
YACC	   *:= yacc		# standard yacc
27
YFLAGS     *=
28
LEX	   *:= lex		# standard lex
29
LFLAGS     *=
30
31
# Other Compilers, Tools and their flags
32
PC	   *:= tpc		# pascal compiler
33
RC	   *:= ???		# ratfor compiler
34
FC	   *:= ???		# fortran compiler
(-)a/main/dmake/startup/winnt/macros.mk (-75 lines)
Lines 1-75 Link Here
1
# Define additional MSDOS specific settings.
2
#
3
4
# Execution environment configuration.
5
# Grab the current setting of COMSPEC.
6
#
7
.IMPORT .IGNORE : COMSPEC ROOTDIR
8
9
# First check if SHELL is defined to be something other than COMSPEC.
10
# If it is, then assume that SHELL is a Korn compatible shell like MKS's
11
.IF $(SHELL) == $(NULL)
12
   .IF $(COMSPEC) == $(NULL)
13
      SHELL *:= $(ROOTDIR)$/bin$/sh$E
14
   .ELSE
15
      SHELL *:= $(COMSPEC)
16
   .END
17
.END
18
GROUPSHELL *:= $(SHELL)
19
20
# Process release-specific refinements, if any.
21
.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/macros.mk
22
23
# Applicable suffix definitions
24
A *:= .lib	# Libraries
25
E *:= .exe	# Executables
26
F *:= .for	# Fortran
27
O *:= .obj	# Objects
28
P *:= .pas	# Pascal
29
S *:= .asm	# Assembler sources
30
V *:= 		# RCS suffix
31
32
# Now set the remaining arguments depending on which SHELL we
33
# are going to use.  COMSPEC (assumed to be command.com) or
34
# MKS Korn shell.
35
.IF $(SHELL) == $(COMSPEC)
36
.IF $(COMSPEC:lf) == cmd.exe
37
   SHELLFLAGS       *:= $(SWITCHAR)S $(SWITCHAR)c
38
   SHELLCMDQUOTE    *:= "
39
# " fix syntax highlighting
40
.ELIF $(COMSPEC:lf) == command.com
41
   SHELLFLAGS       *:= $(SWITCHAR)c
42
   SHELLCMDQUOTE    *:= "
43
# " fix syntax highlighting
44
.ELSE
45
   SHELLFLAGS       *:= $(SWITCHAR)c
46
.END
47
   GROUPFLAGS       *:= $(SWITCHAR)c
48
   SHELLMETAS       *:= "<>|
49
# " fix syntax highlighting
50
   GROUPSUFFIX      *:= .cmd
51
   DIVFILE          *=  $(TMPFILE:s,/,\,)
52
   RM               *=  del
53
   RMFLAGS          *=
54
   MV	            *=  rename
55
   __.DIVSEP-sh-yes *:= \\
56
   __.DIVSEP-sh-no  *:= \\
57
.ELSE
58
   SHELL	    !:= $(SHELL:s,/,\,)
59
   COMMAND          *=  $(CMNDNAME:s,/,\,) $(CMNDARGS)
60
   SHELLFLAGS       *:= -c
61
   GROUPFLAGS       *:= 
62
   SHELLMETAS       *:= *";?<>|()&][$$\#`'
63
   GROUPSUFFIX      *:= .ksh
64
   .MKSARGS         *:= yes
65
   RM               *=  $(ROOTDIR)$/bin$/rm
66
   RMFLAGS          *=  -f
67
   MV	            *=  $(ROOTDIR)$/bin$/mv
68
   DIVFILE          *=  $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}},)
69
   __.DIVSEP-sh-yes *:= \\\
70
   __.DIVSEP-sh-no  *:= \\
71
.ENDIF
72
73
74
# Does not respect case of filenames.
75
.DIRCACHERESPCASE := no
(-)a/main/dmake/startup/winnt/microsft/macros.mk (-37 lines)
Lines 1-37 Link Here
1
# MSDOS Microsoft-C environment customization.
2
3
.IF $(OSENVIRONMENT)
4
   .INCLUDE .IGNORE .NOINFER : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
5
.ENDIF
6
7
# Standard C-language command names and flags
8
CC         *:= cl		# C   compiler 
9
CPP	   *:=			# C-preprocessor
10
CFLAGS     *=			# C   compiler flags
11
"C++"      *:=			# C++ Compiler
12
"C++FLAGS" *=			# C++ Compiler flags
13
14
AS         *:= masm		# Assembler and flags
15
ASFLAGS    *= 
16
LD         *= link		# Loader and flags
17
LDFLAGS    *=
18
LDLIBS     *=			# Default libraries
19
AR         *:= lib		# archiver
20
ARFLAGS    *= ????
21
22
# Definition of Print command for this system.
23
PRINT      *= print
24
25
# Language and Parser generation Tools and their flags
26
YACC	   *:= yacc		# standard yacc
27
YFLAGS     *=
28
LEX	   *:= lex		# standard lex
29
LFLAGS     *=
30
31
# Other Compilers, Tools and their flags
32
PC	   *:= ???		# pascal compiler
33
RC	   *:= ???		# ratfor compiler
34
FC	   *:= ???		# fortran compiler
35
36
# Directory cache configuration.
37
.DIRCACHE  *:= no
(-)a/main/dmake/startup/winnt/mingw/Makefile.am (-6 lines)
Lines 1-6 Link Here
1
startupdir = $(datadir)/startup/winnt/mingw
2
3
startup_DATA = macros.mk 
4
5
6
(-)a/main/dmake/startup/winnt/mingw/Makefile.in (-331 lines)
Lines 1-331 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/winnt/mingw
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
am__vpath_adj = case $$p in \
53
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
    *) f=$$p;; \
55
  esac;
56
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57
am__installdirs = "$(DESTDIR)$(startupdir)"
58
startupDATA_INSTALL = $(INSTALL_DATA)
59
DATA = $(startup_DATA)
60
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61
ACLOCAL = @ACLOCAL@
62
AMDEP_FALSE = @AMDEP_FALSE@
63
AMDEP_TRUE = @AMDEP_TRUE@
64
AMTAR = @AMTAR@
65
AUTOCONF = @AUTOCONF@
66
AUTOHEADER = @AUTOHEADER@
67
AUTOMAKE = @AUTOMAKE@
68
AWK = @AWK@
69
CC = @CC@
70
CCDEPMODE = @CCDEPMODE@
71
CFLAGS = @CFLAGS@
72
CPP = @CPP@
73
CPPFLAGS = @CPPFLAGS@
74
CYGPATH_W = @CYGPATH_W@
75
DBUG_FALSE = @DBUG_FALSE@
76
DBUG_TRUE = @DBUG_TRUE@
77
DEFS = @DEFS@
78
DEPDIR = @DEPDIR@
79
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
80
ECHO_C = @ECHO_C@
81
ECHO_N = @ECHO_N@
82
ECHO_T = @ECHO_T@
83
EGREP = @EGREP@
84
EXEEXT = @EXEEXT@
85
GREP = @GREP@
86
INSTALL_DATA = @INSTALL_DATA@
87
INSTALL_PROGRAM = @INSTALL_PROGRAM@
88
INSTALL_SCRIPT = @INSTALL_SCRIPT@
89
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90
LDFLAGS = @LDFLAGS@
91
LIBOBJS = @LIBOBJS@
92
LIBS = @LIBS@
93
LN_S = @LN_S@
94
LTLIBOBJS = @LTLIBOBJS@
95
MAINT = @MAINT@
96
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
97
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
98
MAKEINFO = @MAKEINFO@
99
OBJEXT = @OBJEXT@
100
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
101
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
102
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
103
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
104
OS_TYPE = @OS_TYPE@
105
OS_VERSION = @OS_VERSION@
106
PACKAGE = @PACKAGE@
107
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108
PACKAGE_NAME = @PACKAGE_NAME@
109
PACKAGE_STRING = @PACKAGE_STRING@
110
PACKAGE_TARNAME = @PACKAGE_TARNAME@
111
PACKAGE_VERSION = @PACKAGE_VERSION@
112
PATH_SEPARATOR = @PATH_SEPARATOR@
113
RANLIB = @RANLIB@
114
SET_MAKE = @SET_MAKE@
115
SHELL = @SHELL@
116
STRIP = @STRIP@
117
VERSION = @VERSION@
118
ac_ct_CC = @ac_ct_CC@
119
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121
am__include = @am__include@
122
am__leading_dot = @am__leading_dot@
123
am__quote = @am__quote@
124
am__tar = @am__tar@
125
am__untar = @am__untar@
126
bindir = @bindir@
127
build = @build@
128
build_alias = @build_alias@
129
build_cpu = @build_cpu@
130
build_os = @build_os@
131
build_vendor = @build_vendor@
132
datadir = @datadir@
133
datarootdir = @datarootdir@
134
docdir = @docdir@
135
dvidir = @dvidir@
136
exec_prefix = @exec_prefix@
137
host_alias = @host_alias@
138
htmldir = @htmldir@
139
includedir = @includedir@
140
infodir = @infodir@
141
install_sh = @install_sh@
142
libdir = @libdir@
143
libexecdir = @libexecdir@
144
localedir = @localedir@
145
localstatedir = @localstatedir@
146
mandir = @mandir@
147
mkdir_p = @mkdir_p@
148
oldincludedir = @oldincludedir@
149
pdfdir = @pdfdir@
150
prefix = @prefix@
151
program_transform_name = @program_transform_name@
152
psdir = @psdir@
153
sbindir = @sbindir@
154
sharedstatedir = @sharedstatedir@
155
sysconfdir = @sysconfdir@
156
target_alias = @target_alias@
157
startupdir = $(datadir)/startup/winnt/mingw
158
startup_DATA = macros.mk 
159
all: all-am
160
161
.SUFFIXES:
162
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
163
	@for dep in $?; do \
164
	  case '$(am__configure_deps)' in \
165
	    *$$dep*) \
166
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
167
		&& exit 0; \
168
	      exit 1;; \
169
	  esac; \
170
	done; \
171
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/winnt/mingw/Makefile'; \
172
	cd $(top_srcdir) && \
173
	  $(AUTOMAKE) --foreign  startup/winnt/mingw/Makefile
174
.PRECIOUS: Makefile
175
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
	@case '$?' in \
177
	  *config.status*) \
178
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
179
	  *) \
180
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
181
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
182
	esac;
183
184
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
185
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
186
187
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
188
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
189
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
190
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
191
uninstall-info-am:
192
install-startupDATA: $(startup_DATA)
193
	@$(NORMAL_INSTALL)
194
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
195
	@list='$(startup_DATA)'; for p in $$list; do \
196
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
197
	  f=$(am__strip_dir) \
198
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
199
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
200
	done
201
202
uninstall-startupDATA:
203
	@$(NORMAL_UNINSTALL)
204
	@list='$(startup_DATA)'; for p in $$list; do \
205
	  f=$(am__strip_dir) \
206
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
207
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
208
	done
209
tags: TAGS
210
TAGS:
211
212
ctags: CTAGS
213
CTAGS:
214
215
216
distdir: $(DISTFILES)
217
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
218
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
219
	list='$(DISTFILES)'; for file in $$list; do \
220
	  case $$file in \
221
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
222
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
223
	  esac; \
224
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
225
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
226
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
227
	    dir="/$$dir"; \
228
	    $(mkdir_p) "$(distdir)$$dir"; \
229
	  else \
230
	    dir=''; \
231
	  fi; \
232
	  if test -d $$d/$$file; then \
233
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
234
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
235
	    fi; \
236
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
237
	  else \
238
	    test -f $(distdir)/$$file \
239
	    || cp -p $$d/$$file $(distdir)/$$file \
240
	    || exit 1; \
241
	  fi; \
242
	done
243
check-am: all-am
244
check: check-am
245
all-am: Makefile $(DATA)
246
installdirs:
247
	for dir in "$(DESTDIR)$(startupdir)"; do \
248
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
249
	done
250
install: install-am
251
install-exec: install-exec-am
252
install-data: install-data-am
253
uninstall: uninstall-am
254
255
install-am: all-am
256
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
257
258
installcheck: installcheck-am
259
install-strip:
260
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
261
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
262
	  `test -z '$(STRIP)' || \
263
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
264
mostlyclean-generic:
265
266
clean-generic:
267
268
distclean-generic:
269
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
270
271
maintainer-clean-generic:
272
	@echo "This command is intended for maintainers to use"
273
	@echo "it deletes files that may require special tools to rebuild."
274
clean: clean-am
275
276
clean-am: clean-generic mostlyclean-am
277
278
distclean: distclean-am
279
	-rm -f Makefile
280
distclean-am: clean-am distclean-generic
281
282
dvi: dvi-am
283
284
dvi-am:
285
286
html: html-am
287
288
info: info-am
289
290
info-am:
291
292
install-data-am: install-startupDATA
293
294
install-exec-am:
295
296
install-info: install-info-am
297
298
install-man:
299
300
installcheck-am:
301
302
maintainer-clean: maintainer-clean-am
303
	-rm -f Makefile
304
maintainer-clean-am: distclean-am maintainer-clean-generic
305
306
mostlyclean: mostlyclean-am
307
308
mostlyclean-am: mostlyclean-generic
309
310
pdf: pdf-am
311
312
pdf-am:
313
314
ps: ps-am
315
316
ps-am:
317
318
uninstall-am: uninstall-info-am uninstall-startupDATA
319
320
.PHONY: all all-am check check-am clean clean-generic distclean \
321
	distclean-generic distdir dvi dvi-am html html-am info info-am \
322
	install install-am install-data install-data-am install-exec \
323
	install-exec-am install-info install-info-am install-man \
324
	install-startupDATA install-strip installcheck installcheck-am \
325
	installdirs maintainer-clean maintainer-clean-generic \
326
	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
327
	uninstall-am uninstall-info-am uninstall-startupDATA
328
329
# Tell versions [3.59,3.63) of GNU make to not export all variables.
330
# Otherwise a system limit (for SysV at least) may be exceeded.
331
.NOEXPORT:
(-)a/main/dmake/startup/winnt/mingw/macros.mk (-10 lines)
Lines 1-10 Link Here
1
# Define additional MinGW specific macros.
2
#
3
4
# Process environment-specific refinements, if any.
5
.IF $(OSENVIRONMENT)
6
   .INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
7
.ENDIF
8
9
# Make OS-release-specific settings
10
#PRINT *:= lpr
(-)a/main/dmake/startup/winnt/msvc6/Makefile.am (-6 lines)
Lines 1-6 Link Here
1
startupdir = $(datadir)/startup/winnt/msvc6
2
3
startup_DATA = macros.mk 
4
5
6
(-)a/main/dmake/startup/winnt/msvc6/Makefile.in (-331 lines)
Lines 1-331 Link Here
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
9
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
srcdir = @srcdir@
18
top_srcdir = @top_srcdir@
19
VPATH = @srcdir@
20
pkgdatadir = $(datadir)/@PACKAGE@
21
pkglibdir = $(libdir)/@PACKAGE@
22
pkgincludedir = $(includedir)/@PACKAGE@
23
top_builddir = ../../..
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
INSTALL = @INSTALL@
26
install_sh_DATA = $(install_sh) -c -m 644
27
install_sh_PROGRAM = $(install_sh) -c
28
install_sh_SCRIPT = $(install_sh) -c
29
INSTALL_HEADER = $(INSTALL_DATA)
30
transform = $(program_transform_name)
31
NORMAL_INSTALL = :
32
PRE_INSTALL = :
33
POST_INSTALL = :
34
NORMAL_UNINSTALL = :
35
PRE_UNINSTALL = :
36
POST_UNINSTALL = :
37
build_triplet = @build@
38
LIBOBJDIR =
39
subdir = startup/winnt/msvc6
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
43
	$(top_srcdir)/configure.in
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
	$(ACLOCAL_M4)
46
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47
CONFIG_HEADER = $(top_builddir)/config.h
48
CONFIG_CLEAN_FILES =
49
SOURCES =
50
DIST_SOURCES =
51
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52
am__vpath_adj = case $$p in \
53
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54
    *) f=$$p;; \
55
  esac;
56
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57
am__installdirs = "$(DESTDIR)$(startupdir)"
58
startupDATA_INSTALL = $(INSTALL_DATA)
59
DATA = $(startup_DATA)
60
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61
ACLOCAL = @ACLOCAL@
62
AMDEP_FALSE = @AMDEP_FALSE@
63
AMDEP_TRUE = @AMDEP_TRUE@
64
AMTAR = @AMTAR@
65
AUTOCONF = @AUTOCONF@
66
AUTOHEADER = @AUTOHEADER@
67
AUTOMAKE = @AUTOMAKE@
68
AWK = @AWK@
69
CC = @CC@
70
CCDEPMODE = @CCDEPMODE@
71
CFLAGS = @CFLAGS@
72
CPP = @CPP@
73
CPPFLAGS = @CPPFLAGS@
74
CYGPATH_W = @CYGPATH_W@
75
DBUG_FALSE = @DBUG_FALSE@
76
DBUG_TRUE = @DBUG_TRUE@
77
DEFS = @DEFS@
78
DEPDIR = @DEPDIR@
79
DMAKEROOT_H_LINE1 = @DMAKEROOT_H_LINE1@
80
ECHO_C = @ECHO_C@
81
ECHO_N = @ECHO_N@
82
ECHO_T = @ECHO_T@
83
EGREP = @EGREP@
84
EXEEXT = @EXEEXT@
85
GREP = @GREP@
86
INSTALL_DATA = @INSTALL_DATA@
87
INSTALL_PROGRAM = @INSTALL_PROGRAM@
88
INSTALL_SCRIPT = @INSTALL_SCRIPT@
89
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90
LDFLAGS = @LDFLAGS@
91
LIBOBJS = @LIBOBJS@
92
LIBS = @LIBS@
93
LN_S = @LN_S@
94
LTLIBOBJS = @LTLIBOBJS@
95
MAINT = @MAINT@
96
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
97
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
98
MAKEINFO = @MAKEINFO@
99
OBJEXT = @OBJEXT@
100
OSTYPEUNIX_FALSE = @OSTYPEUNIX_FALSE@
101
OSTYPEUNIX_TRUE = @OSTYPEUNIX_TRUE@
102
OSTYPEWIN32_FALSE = @OSTYPEWIN32_FALSE@
103
OSTYPEWIN32_TRUE = @OSTYPEWIN32_TRUE@
104
OS_TYPE = @OS_TYPE@
105
OS_VERSION = @OS_VERSION@
106
PACKAGE = @PACKAGE@
107
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108
PACKAGE_NAME = @PACKAGE_NAME@
109
PACKAGE_STRING = @PACKAGE_STRING@
110
PACKAGE_TARNAME = @PACKAGE_TARNAME@
111
PACKAGE_VERSION = @PACKAGE_VERSION@
112
PATH_SEPARATOR = @PATH_SEPARATOR@
113
RANLIB = @RANLIB@
114
SET_MAKE = @SET_MAKE@
115
SHELL = @SHELL@
116
STRIP = @STRIP@
117
VERSION = @VERSION@
118
ac_ct_CC = @ac_ct_CC@
119
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
120
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
121
am__include = @am__include@
122
am__leading_dot = @am__leading_dot@
123
am__quote = @am__quote@
124
am__tar = @am__tar@
125
am__untar = @am__untar@
126
bindir = @bindir@
127
build = @build@
128
build_alias = @build_alias@
129
build_cpu = @build_cpu@
130
build_os = @build_os@
131
build_vendor = @build_vendor@
132
datadir = @datadir@
133
datarootdir = @datarootdir@
134
docdir = @docdir@
135
dvidir = @dvidir@
136
exec_prefix = @exec_prefix@
137
host_alias = @host_alias@
138
htmldir = @htmldir@
139
includedir = @includedir@
140
infodir = @infodir@
141
install_sh = @install_sh@
142
libdir = @libdir@
143
libexecdir = @libexecdir@
144
localedir = @localedir@
145
localstatedir = @localstatedir@
146
mandir = @mandir@
147
mkdir_p = @mkdir_p@
148
oldincludedir = @oldincludedir@
149
pdfdir = @pdfdir@
150
prefix = @prefix@
151
program_transform_name = @program_transform_name@
152
psdir = @psdir@
153
sbindir = @sbindir@
154
sharedstatedir = @sharedstatedir@
155
sysconfdir = @sysconfdir@
156
target_alias = @target_alias@
157
startupdir = $(datadir)/startup/winnt/msvc6
158
startup_DATA = macros.mk 
159
all: all-am
160
161
.SUFFIXES:
162
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
163
	@for dep in $?; do \
164
	  case '$(am__configure_deps)' in \
165
	    *$$dep*) \
166
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
167
		&& exit 0; \
168
	      exit 1;; \
169
	  esac; \
170
	done; \
171
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  startup/winnt/msvc6/Makefile'; \
172
	cd $(top_srcdir) && \
173
	  $(AUTOMAKE) --foreign  startup/winnt/msvc6/Makefile
174
.PRECIOUS: Makefile
175
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
	@case '$?' in \
177
	  *config.status*) \
178
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
179
	  *) \
180
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
181
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
182
	esac;
183
184
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
185
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
186
187
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
188
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
189
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
190
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
191
uninstall-info-am:
192
install-startupDATA: $(startup_DATA)
193
	@$(NORMAL_INSTALL)
194
	test -z "$(startupdir)" || $(mkdir_p) "$(DESTDIR)$(startupdir)"
195
	@list='$(startup_DATA)'; for p in $$list; do \
196
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
197
	  f=$(am__strip_dir) \
198
	  echo " $(startupDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(startupdir)/$$f'"; \
199
	  $(startupDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(startupdir)/$$f"; \
200
	done
201
202
uninstall-startupDATA:
203
	@$(NORMAL_UNINSTALL)
204
	@list='$(startup_DATA)'; for p in $$list; do \
205
	  f=$(am__strip_dir) \
206
	  echo " rm -f '$(DESTDIR)$(startupdir)/$$f'"; \
207
	  rm -f "$(DESTDIR)$(startupdir)/$$f"; \
208
	done
209
tags: TAGS
210
TAGS:
211
212
ctags: CTAGS
213
CTAGS:
214
215
216
distdir: $(DISTFILES)
217
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
218
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
219
	list='$(DISTFILES)'; for file in $$list; do \
220
	  case $$file in \
221
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
222
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
223
	  esac; \
224
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
225
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
226
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
227
	    dir="/$$dir"; \
228
	    $(mkdir_p) "$(distdir)$$dir"; \
229
	  else \
230
	    dir=''; \
231
	  fi; \
232
	  if test -d $$d/$$file; then \
233
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
234
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
235
	    fi; \
236
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
237
	  else \
238
	    test -f $(distdir)/$$file \
239
	    || cp -p $$d/$$file $(distdir)/$$file \
240
	    || exit 1; \
241
	  fi; \
242
	done
243
check-am: all-am
244
check: check-am
245
all-am: Makefile $(DATA)
246
installdirs:
247
	for dir in "$(DESTDIR)$(startupdir)"; do \
248
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
249
	done
250
install: install-am
251
install-exec: install-exec-am
252
install-data: install-data-am
253
uninstall: uninstall-am
254
255
install-am: all-am
256
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
257
258
installcheck: installcheck-am
259
install-strip:
260
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
261
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
262
	  `test -z '$(STRIP)' || \
263
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
264
mostlyclean-generic:
265
266
clean-generic:
267
268
distclean-generic:
269
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
270
271
maintainer-clean-generic:
272
	@echo "This command is intended for maintainers to use"
273
	@echo "it deletes files that may require special tools to rebuild."
274
clean: clean-am
275
276
clean-am: clean-generic mostlyclean-am
277
278
distclean: distclean-am
279
	-rm -f Makefile
280
distclean-am: clean-am distclean-generic
281
282
dvi: dvi-am
283
284
dvi-am:
285
286
html: html-am
287
288
info: info-am
289
290
info-am:
291
292
install-data-am: install-startupDATA
293
294
install-exec-am:
295
296
install-info: install-info-am
297
298
install-man:
299
300
installcheck-am:
301
302
maintainer-clean: maintainer-clean-am
303
	-rm -f Makefile
304
maintainer-clean-am: distclean-am maintainer-clean-generic
305
306
mostlyclean: mostlyclean-am
307
308
mostlyclean-am: mostlyclean-generic
309
310
pdf: pdf-am
311
312
pdf-am:
313
314
ps: ps-am
315
316
ps-am:
317
318
uninstall-am: uninstall-info-am uninstall-startupDATA
319
320
.PHONY: all all-am check check-am clean clean-generic distclean \
321
	distclean-generic distdir dvi dvi-am html html-am info info-am \
322
	install install-am install-data install-data-am install-exec \
323
	install-exec-am install-info install-info-am install-man \
324
	install-startupDATA install-strip installcheck installcheck-am \
325
	installdirs maintainer-clean maintainer-clean-generic \
326
	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
327
	uninstall-am uninstall-info-am uninstall-startupDATA
328
329
# Tell versions [3.59,3.63) of GNU make to not export all variables.
330
# Otherwise a system limit (for SysV at least) may be exceeded.
331
.NOEXPORT:
(-)a/main/dmake/startup/winnt/msvc6/macros.mk (-37 lines)
Lines 1-37 Link Here
1
# MSDOS Microsoft-C environment customization.
2
3
.IF $(OSENVIRONMENT)
4
   .INCLUDE .IGNORE .NOINFER : $(INCFILENAME:d)$(OSENVIRONMENT)$/macros.mk
5
.ENDIF
6
7
# Standard C-language command names and flags
8
CC         *:= cl		# C   compiler 
9
CPP	   *:=			# C-preprocessor
10
CFLAGS     *=			# C   compiler flags
11
"C++"      *:=			# C++ Compiler
12
"C++FLAGS" *=			# C++ Compiler flags
13
14
AS         *:= masm		# Assembler and flags
15
ASFLAGS    *= 
16
LD         *= link		# Loader and flags
17
LDFLAGS    *=
18
LDLIBS     *=			# Default libraries
19
AR         *:= lib		# archiver
20
ARFLAGS    *= ????
21
22
# Definition of Print command for this system.
23
PRINT      *= print
24
25
# Language and Parser generation Tools and their flags
26
YACC	   *:= yacc		# standard yacc
27
YFLAGS     *=
28
LEX	   *:= lex		# standard lex
29
LFLAGS     *=
30
31
# Other Compilers, Tools and their flags
32
PC	   *:= ???		# pascal compiler
33
RC	   *:= ???		# ratfor compiler
34
FC	   *:= ???		# fortran compiler
35
36
# Directory cache configuration.
37
.DIRCACHE  *:= no
(-)a/main/dmake/startup/winnt/recipes.mk (-9 lines)
Lines 1-9 Link Here
1
# Define additional MSDOS specific build recipes.
2
#
3
4
# Executables
5
   %$E       : %$O ; $(CC) $(LDFLAGS) -o$@ $< $(LDLIBS)
6
   %$O       : %$S ; $(AS) $(ASFLAGS) $(<:s,/,\)
7
8
# Process release-specific refinements, if any.
9
.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/recipes.mk
(-)a/main/dmake/stat.c (-278 lines)
Lines 1-278 Link Here
1
/* RCS  $Id: stat.c,v 1.3 2007-10-15 15:41:38 ihi Exp $
2
--
3
-- SYNOPSIS
4
--      Bind a target name to a file.
5
-- 
6
-- DESCRIPTION
7
--	This file contains the code to go and stat a target.  The stat rules
8
--	follow a predefined order defined in the comment for Stat_target.
9
-- 
10
-- AUTHOR
11
--      Dennis Vadura, dvadura@dmake.wticorp.com
12
--
13
-- WWW
14
--      http://dmake.wticorp.com/
15
--
16
-- COPYRIGHT
17
--      Copyright (c) 1996,1997 by WTI Corp.  All rights reserved.
18
-- 
19
--      This program is NOT free software; you can redistribute it and/or
20
--      modify it under the terms of the Software License Agreement Provided
21
--      in the file <distribution-root>/readme/license.txt.
22
--
23
-- LOG
24
--      Use cvs log to obtain detailed change logs.
25
*/
26
27
#include "extern.h"
28
29
30
static	int	_check_dir_list ANSI((CELLPTR, CELLPTR, int, int));
31
32
#ifdef DBUG
33
   /* Just a little ditty for debugging this thing */
34
   static time_t
35
   _do_stat( name, lib, sym, force )
36
   char *name;
37
   char *lib;
38
   char **sym;
39
   int  force;
40
   {
41
      time_t res;
42
      DB_ENTER( "_do_stat" );
43
44
      res = Do_stat(name, lib, sym, force);
45
      DB_PRINT( "stat", ("Statted [%s,%s,%d,%ld]", name, lib, sym, res) );
46
47
      DB_RETURN( res );
48
   }   
49
#define DO_STAT(A,B,C,D)  _do_stat(A,B,C,D)
50
#else
51
#define DO_STAT(A,B,C,D)  Do_stat(A,B,C,D)
52
#endif
53
54
static char *_first;	/* If set this variable saves the first pathname that was
55
			 * used to stat the target in, if subsequently a match is
56
			 * found it is overridden by the matched path name. */
57
58
PUBLIC void
59
Stat_target( cp, setfname, force )/*
60
====================================
61
	Stat a target.  When doing so follow the following rules, suppose
62
	that cp->CE_NAME points at a target called fred.o:
63
	(See also man page: BINDING TARGETS)
64
65
		0.      If A_SYMBOL attribute set look into the library
66
			then do the steps 1 thru 4 on the resulting name.
67
		1.	Try path's obtained by prepending any dirs found as
68
			prerequisites for .SOURCE.o.
69
		2.	If not found, do same as 2 but use .SOURCE
70
			The predefined '.SOURCE  : .NULL' targets takes care
71
			of local/absolute paths.
72
		3.	If not found and .LIBRARYM attribute for the target is
73
			set then look for it in the corresponding library.
74
	        4.	If found in step 0 thru 3, then ce_fname points at
75
			file name associate with target, else ce_fname points
76
			at a file name built by the first .SOURCE* dir that
77
			applied.
78
	If setfname is != 0 this tells _check_dir_list() to set the static
79
	_first variable. setfname also controls the use of _first.
80
	If it is -1 ce_fname (the file name associated with target) is only
81
	set if a matching file was found and statted, if it is 1 ce_fname
82
	is set to _first even if target doesn't exist yet.
83
84
	If force is TRUE really stat the target. Do not use the directory
85
	cache but update the files entry if it's enabled. */
86
87
CELLPTR cp;
88
int     setfname;
89
int     force;
90
{
91
   register HASHPTR hp;
92
   static   HASHPTR srchp = NIL(HASH);
93
   char		    *name;
94
   char		    *tmp;
95
   int		    res = 0;
96
97
   DB_ENTER( "Stat_target" );
98
99
   name = cp->CE_NAME;
100
   DB_PRINT( "stat", ("called on [%s]", name) );
101
102
   if( srchp == NIL(HASH) ) srchp = Get_name(".SOURCE",Defs,FALSE);
103
104
   /* Look for a symbol of the form lib((symbol)) the name of the symbol
105
    * as entered in the hash table is (symbol) so pull out symbol and try
106
    * to find it's module.  If successful DO_STAT will return the module
107
    * as well as the archive member name (pointed at by tmp).  We then
108
    * replace the symbol name with the archive member name so that we
109
    * have the proper name for any future refrences. */
110
111
   if( cp->ce_attr & A_SYMBOL ) {
112
      DB_PRINT( "stat", ("Binding lib symbol [%s]", name) );
113
114
      cp->ce_time = DO_STAT( name, cp->ce_lib, &tmp, force );
115
116
      if( cp->ce_time != (time_t) 0L ) {
117
	 /* stat the new member name below  note tmp must point at a string
118
	  * returned by MALLOC... ie. the Do_stat code should use DmStrDup */
119
120
	 if( Verbose & V_MAKE )
121
	    printf( "%s:  Mapped ((%s)) to %s(%s)\n", Pname,
122
		     name, cp->ce_lib, tmp );
123
124
         FREE( name );		
125
	 name = cp->CE_NAME = tmp;		
126
	 cp->ce_attr &= ~(A_FFNAME | A_SYMBOL);
127
      }
128
      else
129
         { DB_VOID_RETURN; }
130
   }
131
132
   _first = NIL(char);
133
   tmp = DmStrJoin( ".SOURCE", Get_suffix(name), -1, FALSE);
134
135
   /* Check .SOURCE.xxx target */
136
   if( (hp = Get_name(tmp, Defs, FALSE)) != NIL(HASH) )
137
      res = _check_dir_list( cp, hp->CP_OWNR, setfname, force );
138
139
   /* Check just .SOURCE */
140
   if( !res && (srchp != NIL(HASH)) )
141
      res = _check_dir_list( cp, srchp->CP_OWNR, setfname, force );
142
143
   /* If libmember and we haven't found it check the library */
144
   if( !res && (cp->ce_attr & A_LIBRARYM) ) {
145
      cp->ce_time = DO_STAT(name, cp->ce_lib, NIL(char *), force);
146
147
      if( !cp->ce_time && Tmd && *Tmd && cp->ce_lib ) {
148
	 char *tmplib;
149
	 tmplib=DmStrDup(Build_path(Tmd,cp->ce_lib));
150
151
	 if ((cp->ce_time = DO_STAT(name, tmplib, NIL(char *),force)) != (time_t)0L){
152
	    cp->ce_lib=DmStrDup(tmplib);
153
	 }
154
      }
155
156
      if( Verbose & V_MAKE )
157
	 printf( "%s:  Checking library '%s' for member [%s], time %ld\n",
158
		 Pname, cp->ce_lib, name, cp->ce_time );
159
   }
160
161
   FREE( tmp );
162
163
   if( setfname == 1 || (setfname == -1 && cp->ce_time != (time_t)0L) ) {
164
      int setlib = (cp->ce_lib == cp->ce_fname);
165
166
      if( (cp->ce_attr & A_FFNAME) && (cp->ce_fname != NIL(char)) )
167
	 FREE( cp->ce_fname );
168
169
      if( _first != NIL(char) ) {
170
	 cp->ce_fname = _first;
171
	 cp->ce_attr |= A_FFNAME;
172
      }
173
      else {
174
	 cp->ce_fname = cp->CE_NAME;
175
	 cp->ce_attr &= ~A_FFNAME;
176
      }
177
178
      if ( setlib ) cp->ce_lib = cp->ce_fname;
179
   }
180
   else if( _first )
181
      FREE( _first );
182
183
   /* set it as stated only if successful, this way, we shall try again
184
    * later. */
185
   if( cp->ce_time != (time_t)0L ) {
186
      cp->ce_flag |= F_STAT;
187
188
      /* If it is a whatif this changed scenario then return the current
189
       * time, but do so only if the stat was successful. */
190
      if ( (cp->ce_attr & A_WHATIF) && !(cp->ce_flag & F_MADE) ) {
191
	 cp->ce_time = Do_time();
192
      }
193
   }
194
195
   DB_VOID_RETURN;
196
}
197
198
199
static int
200
_check_dir_list( cp, sp, setfname, force )/*
201
============================================
202
	Check the list of dir's given by the prerequisite list of sp, for a
203
	file pointed at by cp.  Returns 0 if path not bound, else returns
204
	1 and replaces old name for cell with new cell name. */
205
206
CELLPTR cp;
207
CELLPTR sp;
208
int     setfname;
209
int     force;
210
{
211
   /* FIXME: BCC 5.0 BUG??? If lp is assigned to a register variable then
212
    *        BCC 5.0 corrupts a field of the member structure when DO_STAT
213
    *        calls the native win95 stat system call. Blech!!!
214
    *
215
    *        Making this a static variable forces it out of a register and
216
    *        seems to avoid the problem. */
217
   static LINKPTR lp;
218
   char *dir;
219
   char *path;
220
   char *name;
221
   int  res  = 0;
222
   int  fset = 0;
223
224
   DB_ENTER( "_check_dir_list" );
225
   DB_PRINT( "mem", ("%s:-> mem %ld", cp->CE_NAME, (long) coreleft()) );
226
227
   if( sp->ce_prq != NIL(LINK) )	/* check prerequisites if any */
228
   {
229
      /* Use the real name instead of basename, this prevents silly
230
       * loops in inference code, and is consistent with man page */
231
      name = cp->CE_NAME;
232
233
      /* Here we loop through each directory on the list, and try to stat
234
       * the target.  We always save the first pathname we try to stat in
235
       * _first.  If we subsequently get a match we then replace the value of
236
       * _first by the matched path name.  */
237
238
      for( lp=sp->CE_PRQ; lp != NIL(LINK) && !res; lp=lp->cl_next ) {
239
	 int  nodup = 0;
240
	 dir  = lp->cl_prq->CE_NAME;
241
242
	 if( strchr( dir, '$' ) ) dir = Expand(dir);
243
	 if( strcmp( dir, ".NULL" ) == 0 ) {
244
	    nodup = 1;
245
	    path = cp->CE_NAME;
246
	 }	 else {
247
	    path = DmStrDup(Build_path(dir,name));
248
	 }
249
250
	 res = ((cp->ce_time=DO_STAT(path,NIL(char),NIL(char *),force))!=(time_t)0L);
251
252
	 /* Have to use DmStrDup to set _first since Build_path, builds it's
253
	  * path names inside a static buffer. */
254
	 if( setfname )
255
	    if( (_first == NIL(char) && !fset) || res ) {
256
	       if( _first != NIL(char) ) FREE( _first );
257
	       if (nodup)
258
		  _first = NIL(char);
259
	       else {
260
		  _first = path;
261
		  path = NIL(char);
262
	       }
263
	       fset = 1;
264
	    }
265
266
	 DB_PRINT( "stat", ("_first [%s], path [%s]", _first, path) );
267
	 if( dir != lp->cl_prq->CE_NAME )  FREE(dir);
268
	 if( path && path != cp->CE_NAME ) FREE(path);
269
      }
270
   }
271
272
   DB_PRINT( "mem", ("%s:-< mem %ld", cp->CE_NAME, (long) coreleft()) );
273
   DB_RETURN( res );
274
}
275
276
277
278
(-)a/main/dmake/state.c (-6 lines)
Lines 1-231 Link Here
1
/* RCS  $Id: state.c,v 1.3 2007-09-20 14:33:53 vg Exp $
2
--
3
-- SYNOPSIS
4
--      .KEEP_STATE state file management
5
-- 
6
-- DESCRIPTION
(-)a/main/dmake/stdmacs.h (-8 lines)
Lines 1-60 Link Here
1
/* $RCSfile: stdmacs.h,v $
2
-- $Revision: 1.5 $
3
-- last change: $Author: hr $ $Date: 2006-04-20 12:02:29 $
4
--
5
-- SYNOPSIS
6
--      General use macros.
7
-- 
8
-- DESCRIPTION
(-)a/main/dmake/struct.h (-261 lines)
Lines 1-261 Link Here
1
/* RCS  $Id: struct.h,v 1.2 2006-06-29 11:24:50 ihi Exp $
2
--
3
-- SYNOPSIS
4
--      Structure definitions
5
-- 
6
-- DESCRIPTION
7
--	dmake main data structure definitions.  See each of the individual
8
--	struct declarations for more detailed information on the defined
9
--	fields and their use.
10
-- 
11
-- AUTHOR
12
--      Dennis Vadura, dvadura@dmake.wticorp.com
13
--
14
-- WWW
15
--      http://dmake.wticorp.com/
16
--
17
-- COPYRIGHT
18
--      Copyright (c) 1996,1997 by WTI Corp.  All rights reserved.
19
-- 
20
--      This program is NOT free software; you can redistribute it and/or
21
--      modify it under the terms of the Software License Agreement Provided
22
--      in the file <distribution-root>/readme/license.txt.
23
--
24
-- LOG
25
--      Use cvs log to obtain detailed change logs.
26
*/
27
28
#ifndef _STRUCT_INCLUDED_
29
#define _STRUCT_INCLUDED_
30
31
typedef uint32 t_attr;
32
33
/* The following struct is the cell used in the hash table.
34
 * NOTE:  It contains the actual hash value.  This allows the hash table
35
 *        insertion to compare hash values and to do a string compare only
36
 *        for entries that have matching hash_key values.  This elliminates
37
 *        99.9999% of all extraneous string compare operations when searching
38
 *        a hash table chain for matching entries.  */
39
40
typedef struct hcell {
41
	struct hcell	*ht_next;	/* next entry in the hash table */
42
        struct hcell    *ht_link;       /* for temporary lists */
43
	char		*ht_name;	/* name of this cell */
44
	char		*ht_value;	/* cell value if any */
45
	uint32		ht_hash;	/* actual hash_key of cell */
46
	int		ht_flag;	/* flags belonging to hash entry */
47
48
	/* NOTE: some macros have corresponding variables defined
49
	 * that control program behaviour.  For these macros a
50
	 * bit of ht_flag indicates the variable value will be set, and the
51
	 * type of the value that will be set.
52
	 *
53
	 * The struct below contains a mask for bit variables, and a
54
	 * pointer to the global STATIC location for that variable.
55
	 * String and char variables point to the same place as ht_value
56
	 * and must be updated when ht_value changes, bit variables must
57
	 * have their value recomputed. See Def_macro code for more
58
	 * details.
59
	 *
60
	 * NOTE:  Macro variables and Targets are always distinct.  Thus
61
	 * the value union contains pointers back at cells that own
62
	 * a particular name entry.  A conflict in this can never
63
	 * arise, ie pointers at cells will never be used as
64
	 * values for a macro variable, since the cell and macro
65
	 * name spaces are completely distinct. */
66
67
	struct {
68
		int	mv_mask;	/* bit mask for bit variable      */
69
		union {
70
	 		char**	mv_svar;/* ptr to string valued glob var  */
71
			char*	mv_cvar;/* ptr to char   valued glob var */
72
			t_attr*	mv_bvar;/* ptr to bit    valued glob var */
73
 			int*    mv_ivar;/* ptr to int    valued glob var  */
74
75
			struct {
76
			   struct tcell* ht_owner;/* ptr to CELL owning name */
77
			   struct tcell* ht_root; /* root ptr for explode */
78
			} ht;
79
		} val;
80
	} var;				/* variable's static equivalent */
81
} HASH, *HASHPTR;
82
83
#define MV_MASK   var.mv_mask
84
#define MV_SVAR   var.val.mv_svar
85
#define MV_CVAR   var.val.mv_cvar
86
#define MV_BVAR   var.val.mv_bvar
87
#define MV_IVAR   var.val.mv_ivar
88
#define CP_OWNR   var.val.ht.ht_owner
89
#define CP_ROOT   var.val.ht.ht_root
90
91
92
93
/* This struct holds the list of temporary files that have been created.
94
 * It gets unlinked when Quit is called due to an execution error */
95
typedef struct flst {
96
   char		*fl_name;	/* file name 		*/
97
   FILE		*fl_file;	/* the open file	*/
98
   struct flst  *fl_next;	/* pointer to next file */
99
} FILELIST, *FILELISTPTR;
100
101
102
/* The next struct is used to link together prerequisite lists. It
103
 * is also used to link multiple targets together. */
104
typedef struct lcell {
105
	struct tcell	*cl_prq;	/* link to a prerequisite 	*/
106
	struct lcell	*cl_next;	/* next cell on dependency list */
107
	int		cl_flag;	/* flags for link cell		*/
108
} LINK, *LINKPTR;
109
110
111
/* This is the structure of a target cell in the dag which represents the
112
 * graph of dependencies.  Each possible target is represented as a cell.
113
 * 
114
 * Each cell contains a pointer to the hash table entry for this cell.
115
 * The hash table entry records the name of the cell. */
116
117
typedef struct tcell {
118
	struct hcell	*ce_name;	/* name of this cell                */
119
        struct hcell    *ce_pushed;     /* local pushed macro definitions   */
120
121
	/* Def_cell sets ce_all.cl_prq to point back to itself. .UPDATEALL
122
	 * uses ce_all.cl_next to link the cells together. */
123
	struct lcell	ce_all;
124
125
	/* If set it points to first element of the list linked by ce_all. */
126
        struct tcell    *ce_set;
127
	struct tcell    *ce_setdir;	/* SETDIR ROOT pointer for this cell*/
128
	struct tcell	*ce_link;	/* link for temporary list making   */
129
        struct tcell    *ce_parent;     /* used by inner loop, not a static */
130
131
	struct lcell    *ce_prq;	/* list of prerequisites for cell   */
132
	struct lcell    *ce_prqorg;	/* list of original prerequisites   */
133
	struct lcell    *ce_indprq;	/* indirect prerequisites for % cell*/
134
135
	struct str      *ce_recipe;	/* recipe for making this cell      */
136
	FILELISTPTR     ce_files;	/* list of temporary files for cell */
137
        struct str      *ce_cond;       /* conditional macro assignments    */
138
139
	char 		*ce_per;	/* value of % in %-meta expansion   */
140
	char		*ce_fname;	/* file name associated with target */
141
	char		*ce_lib;	/* archive name, if A_LIBRARYM      */
142
	char		*ce_dir;	/* value for .SETDIR attribute      */
143
144
	int		ce_count;	/* value for :: recipe set          */
145
	int		ce_index;	/* value of count for next :: child */
146
	int   		ce_flag;	/* all kinds of goodies		    */
147
	t_attr		ce_attr;	/* attributes for this target	    */
148
	time_t		ce_time;	/* time stamp value of target if any*/
149
} CELL, *CELLPTR;
150
151
#define CE_NAME		ce_name->ht_name
152
#define CE_RECIPE       ce_recipe
153
#define CE_PRQ          ce_prq
154
#define CeMeToo(C)      &((C)->ce_all)
155
#define CeNotMe(C)      (C)->ce_all.cl_next
156
157
158
/* This struct represents that used by Get_token to return and control
159
 * access to a token list inside a particular string.  This gives the
160
 * ability to access non overlapping tokens simultaneously from
161
 * multiple strings. */
162
	
163
typedef struct {
164
	char *tk_str;              /* the string to search for tokens  */
165
	char tk_cchar;             /* current char under *str          */
166
	int  tk_quote;	           /* if we are scanning a quoted str  */
167
}  TKSTR, *TKSTRPTR;
168
169
170
171
/* Below is the struct used to represent a string.  It points at possibly
172
 * another string, since the set of rules for making a target is a collection
173
 * of strings. */
174
175
176
typedef struct str {
177
	char		*st_string;	/* the string value */
178
	struct str	*st_next;	/* pointer to the next string */
179
	t_attr		st_attr;	/* attr for rule operations */
180
} STRING, *STRINGPTR;
181
182
183
184
/* These structs are used in processing of the % rules, and in building
185
 * the NFA machine that is used to match an arbitrary target string to
186
 * one of the % rules that is represented by each DFA */
187
188
typedef int16 statecnt;		/* limits the max number of dfa states	*/
189
190
191
/* Each state of the DFA contains four pieces of information. */
192
typedef struct st {
193
	struct st	*no_match;	/* state to go to if no match */
194
	struct st	*match;		/* state to go to if we do match */
195
	char		symbol;		/* symbol on which we transit */
196
	char		action;		/* action to perform if match */
197
} STATE, *STATEPTR;
198
199
200
/* Each DFA machine looks like this.  It must have two pointers that represent
201
 * the value of % in the matched string, and it contains a pointer into the
202
 * current state, as well as the array of all states. */
203
typedef struct {
204
	char		*pstart;	/* start of % string match */
205
	char		*pend;		/* end of % string match */
206
	STATEPTR	c_state;	/* current DFA state */
207
	CELLPTR		node;		/* % target represented by this DFA */
208
	STATEPTR	states;		/* table of states for the DFA */
209
} DFA, *DFAPTR;
210
211
212
/* An NFA is a collection of DFA's.  For each DFA we must know it's current
213
 * state and where the next NFA is. */
214
typedef struct nfa_machine {
215
	DFAPTR		dfa;		/* The DFA for this eps transition */
216
	char		status;		/* DFA state */
217
	struct nfa_machine *next; 	/* the next DFA in NFA */
218
} NFA, *NFAPTR;
219
220
221
222
/* The next struct is used to link together DFA nodes for inference. */
223
224
typedef struct dfal {
225
	struct tcell	*dl_meta;	/* link to %-meta cell		*/
226
	struct dfal	*dl_next;	/* next cell on matched DFA list*/
227
	struct dfal	*dl_prev;	/* prev cell on matched DFA list*/
228
	struct dfal	*dl_member;	/* used during subset calc	*/
229
	char		dl_delete;	/* used during subset calc	*/
230
	char   		*dl_per;	/* value of % for matched DFA   */
231
	statecnt        dl_state;	/* matched state of the DFA	*/
232
	int		dl_prep;	/* repetion count for the cell	*/
233
} DFALINK, *DFALINKPTR;
234
235
236
/* This struct is used to store the stack of DFA sets during inference */
237
typedef struct dfst {
238
   DFALINKPTR	df_set;			/* pointer to the set		*/
239
   struct dfst *df_next;		/* next element in the stack	*/
240
} DFASET, *DFASETPTR;
241
242
243
/* We need sets of items during inference, here is the item, we form sets
244
 * by linking them together. */
245
246
typedef struct ic {
247
   CELLPTR	ic_meta;		/* Edge we used to make this cell*/
248
   DFALINKPTR   ic_dfa;			/* Dfa that we matched against	 */
249
   CELLPTR	ic_setdirroot;		/* setdir root pointer for cell	 */
250
   DFASET       ic_dfastack;		/* set of dfas we're working with*/
251
   int		ic_dmax;		/* max depth of cycles in graph  */
252
   char	       *ic_name;		/* name of the cell to insert    */
253
   char        *ic_dir;			/* dir to CD to prior to recurse */
254
   struct ic   *ic_next;		/* next pointer to link		 */
255
   struct ic   *ic_link;		/* link all ICELL'S together     */
256
   struct ic   *ic_parent;		/* pointer to post-requisite	 */
257
   char		ic_flag;		/* flag, used for NOINFER only	 */
258
   char         ic_exists;		/* TRUE if prerequisite exists	 */
259
} ICELL, *ICELLPTR;
260
261
#endif
(-)a/main/dmake/sysintf.c (-1163 lines)
Lines 1-1163 Link Here
1
/* RCS  $Id: sysintf.c,v 1.13 2008-03-05 18:30:58 kz Exp $
2
--
3
-- SYNOPSIS
4
--      System independent interface
5
-- 
6
-- DESCRIPTION
7
--	These are the routines constituting the system interface.
8
--	The system is taken to be essentially POSIX conformant.
9
--	The original code was extensively revised by T J Thompson at MKS,
10
--	and the library cacheing was added by Eric Gisin at MKS.  I then
11
--	revised the code yet again, to improve the lib cacheing, and to
12
--	make it more portable.
13
--
14
--	The following is a list of routines that are required by this file
15
--	in order to work.  These routines are provided as functions by the
16
--	standard C lib of the target system or as #defines in system/sysintf.h
17
--	or via appropriate C code in the system/ directory for the given
18
--	system.
19
--
20
--	The first group must be provided by a file in the system/ directory
21
--	the second group is ideally provided by the C lib.  However, there
22
--	are instances where the C lib implementation of the specified routine
23
--	does not exist, or is incorrect.  In these instances the routine
24
--	must be provided by the the user in the system/ directory of dmake.
25
--	(For example, the bsd/ dir contains code for putenv(), and tempnam())
26
--
27
--	DMAKE SPECIFIC:
28
--		seek_arch()
29
--		touch_arch()
30
--		void_lcache()
31
--		runargv()
32
--		DMSTAT()
33
--		Remove_prq()
34
--
35
--	C-LIB SPECIFIC:  (should be present in your C-lib)
36
--		utime()
37
--		time()
38
--		getenv()
39
--		putenv()
40
--		getcwd()
41
--		signal()
42
--		chdir()
43
--		tempnam()
44
-- 
45
-- AUTHOR
46
--      Dennis Vadura, dvadura@dmake.wticorp.com
47
--
48
-- WWW
49
--      http://dmake.wticorp.com/
50
--
51
-- COPYRIGHT
52
--      Copyright (c) 1996,1997 by WTI Corp.  All rights reserved.
53
-- 
54
--      This program is NOT free software; you can redistribute it and/or
55
--      modify it under the terms of the Software License Agreement Provided
56
--      in the file <distribution-root>/readme/license.txt.
57
--
58
-- LOG
59
--      Use cvs log to obtain detailed change logs.
60
*/
61
62
#include "extern.h"
63
64
/* The following definition controls the use of GetModuleFileName() */
65
#if defined(_MSC_VER) || defined(__MINGW32__)
66
#   define HAVE_GETMODULEFILENAMEFUNC 1
67
68
/* this is needed for the _ftime call below. Only needed here. */
69
#   include <sys/timeb.h>
70
#endif
71
72
/* for cygwin_conv_to_posix_path() in Prolog() and for cygdospath()*/
73
#if __CYGWIN__
74
#   include <sys/cygwin.h>
75
#endif
76
77
#include "sysintf.h"
78
#if HAVE_ERRNO_H
79
#  include <errno.h>
80
#else
81
   extern  int  errno;
82
#endif
83
84
/*
85
** Tries to stat the file name.  Returns 0 if the file
86
** does not exist.  Note that if lib is not null it tries to stat
87
** the name found inside lib.
88
**
89
** If member is NOT nil then look for the library object which defines the
90
** symbol given by name.  If found DmStrDup the name and return make the
91
** pointer pointed at by sym point at it.  Not handled for now!
92
*/
93
static time_t
94
really_dostat(name, buf)
95
char *name;
96
struct stat *buf;
97
{
98
   return( (   DMSTAT(name,buf)==-1 
99
            || (STOBOOL(Augmake) && (buf->st_mode & S_IFDIR)))
100
	   ? (time_t)0L
101
	   : (time_t) buf->st_mtime
102
	 );
103
}
104
105
106
PUBLIC time_t
107
Do_stat(name, lib, member, force)
108
char *name;
109
char *lib;
110
char **member;
111
int  force;
112
{
113
   struct stat buf;
114
   time_t seek_arch();
115
116
   if( member != NIL(char *) )
117
      Fatal("Library symbol names not supported");
118
119
   buf.st_mtime = (time_t)0L;
120
   if( lib != NIL(char) )
121
      return( seek_arch(Basename(name), lib) );
122
   else if( strlen(Basename(name)) > NameMax ) {
123
      Warning( "Filename [%s] longer than value of NAMEMAX [%d].\n\
124
      Assume unix time 0.\n", Basename(name), NameMax );
125
      return((time_t)0L);
126
   }
127
   else if( STOBOOL(UseDirCache) )
128
      return(CacheStat(name,force));
129
   else
130
      return(really_dostat(name,&buf));
131
}
132
133
134
/* Touch existing file to force modify time to present.
135
 */
136
PUBLIC int
137
Do_touch(name, lib, member)
138
char *name;
139
char *lib;
140
char **member;
141
{
142
   if( member != NIL(char *) )
143
      Fatal("Library symbol names not supported");
144
145
   if (lib != NIL(char))
146
      return( touch_arch(Basename(name), lib) );
147
   else if( strlen(Basename(name)) > NameMax ) {
148
      Warning( "Filename [%s] longer than value of NAMEMAX [%d].\n\
149
      File timestamp not updated to present time.\n", Basename(name), NameMax );
150
      return(-1);
151
   }
152
   else
153
#ifdef HAVE_UTIME_NULL
154
      return( utime(name, NULL) );
155
#else
156
#	error "Utime NULL not supported"
157
#endif
158
}
159
160
161
162
PUBLIC void
163
Void_lib_cache( lib_name, member_name )/*
164
=========================================
165
   Void the library cache for lib lib_name, and member member_name. */
166
char *lib_name;
167
char *member_name;
168
{
169
   VOID_LCACHE( lib_name, member_name );
170
}
171
172
173
174
/*
175
** return the current time
176
*/
177
PUBLIC time_t
178
Do_time()
179
{
180
   return (time( NIL(time_t) ));
181
}
182
183
184
185
/*
186
** Print profiling information
187
*/
188
PUBLIC void
189
Do_profile_output( text, mtype, target )
190
char *text;
191
uint16 mtype;
192
CELLPTR target;
193
{
194
195
   time_t time_sec;
196
   uint32 time_msec;
197
   char *tstrg;
198
   char *tname;
199
200
#ifdef HAVE_GETTIMEOFDAY
201
   struct timeval timebuffer;
202
   gettimeofday(&timebuffer, NULL);
203
   time_sec = timebuffer.tv_sec;
204
   time_msec = timebuffer.tv_usec/1000;
205
#else
206
#if defined(_MSC_VER) || defined(__MINGW32__)
207
   struct _timeb timebuffer;
208
   _ftime( &timebuffer );
209
   time_sec = timebuffer.time;
210
   time_msec = timebuffer.millitm;
211
#   else
212
   time_sec = time( NIL(time_t) );
213
   time_msec = 0;
214
#   endif
215
#endif
216
217
   tname = target->CE_NAME;
218
   if( mtype & M_TARGET ) {
219
      tstrg = "target";
220
      /* Don't print special targets .TARGETS and .ROOT */
221
      if( tname[0] == '.' && (strcmp(".TARGETS", tname) == 0 || \
222
			      strcmp(".ROOT", tname) == 0) ) {
223
	 return;
224
      }
225
   } else {
226
      tstrg = "recipe";
227
   }
228
229
   /* Don't print shell escape targets if not especially requested. */
230
   if( (target->ce_attr & A_SHELLESC) && !(Measure & M_SHELLESC) ) {
231
      return;
232
   }
233
234
   /* Print absolute path if requested. */
235
   if( !(target->ce_attr & A_SHELLESC) && (Measure & M_ABSPATH) ) {
236
      printf("%s %s %lu.%.3u %s%s%s\n",text, tstrg, time_sec, time_msec, Pwd, DirSepStr, tname);
237
   } else {
238
      printf("%s %s %lu.%.3u %s\n",text, tstrg, time_sec, time_msec, tname);
239
   }
240
}
241
242
243
244
PUBLIC int
245
Do_cmnd(cmd, group, do_it, target, cmnd_attr, last)/*
246
=====================================================
247
  Execute the string passed in as a command and return
248
  the return code. The command line arguments are
249
  assumed to be separated by spaces or tabs.  The first
250
  such argument is assumed to be the command.
251
252
  If group is true then this is a group of commands to be fed to the
253
  the shell as a single unit.  In this case cmd is of the form
254
  "file" indicating the file that should be read by the shell
255
  in order to execute the command group.
256
257
  If Wait_for_completion is TRUE add the A_WFC attribute to the new
258
  process.
259
*/
260
char  **cmd; /* Simulate a reference to *cmd. */
261
int     group;	/* if set cmd contains the filename of a (group-)shell
262
		 * script. */
263
int     do_it;	/* Only execute cmd if not set to null. */
264
CELLPTR target;
265
t_attr  cmnd_attr; /* Attributes for current cmnd. */
266
int     last;	/* Last recipe line in target. */
267
{
268
   int  i;
269
270
   DB_ENTER( "Do_cmnd" );
271
272
   if( !do_it ) {
273
      if( last && !Doing_bang ) {
274
	 /* Don't execute, just update the target when using '-t'
275
	  * switch. */
276
         Update_time_stamp( target );
277
      }
278
      DB_RETURN( 0 );
279
   }
280
281
   /* Stop making the rest of the recipies for this target if an error occured
282
    * but the Continue (-k) flag is set to build as much as possible. */
283
   if ( target->ce_attr & A_ERROR ) {
284
      if ( last ) {
285
	 Update_time_stamp( target );
286
      }
287
      DB_RETURN( 0 );
288
   }
289
290
   if( Max_proc == 1 ) Wait_for_completion = TRUE;
291
292
   /* Tell runargv() to wait if needed. */
293
   if( Wait_for_completion ) cmnd_attr |= A_WFC;
294
295
   /* remove leading whitespace - This should never trigger! */
296
   if( iswhite(**cmd) ) {
297
      char *p;
298
      if( (p = DmStrSpn(*cmd," \t") ) != *cmd )
299
	 strcpy(*cmd,p);
300
   }
301
302
   /* set shell if shell metas are found */
303
   if( (cmnd_attr & A_SHELL) || group || (*DmStrPbrk(*cmd, Shell_metas)!='\0') )
304
      cmnd_attr |= A_SHELL; /* If group is TRUE this doesn't hurt. */
305
306
   /* runargv() returns either 0 or 1, 0 ==> command executed, and
307
    * we waited for it to return, 1 ==> command started and is still
308
    * running. */
309
   i = runargv(target, group, last, cmnd_attr, cmd);
310
311
   DB_RETURN( i );
312
}
313
314
315
#define MINARGV 64
316
317
PUBLIC char **
318
Pack_argv( group, shell, cmd )/*
319
================================
320
  Take a command and pack it into an argument vector to be executed.
321
  If group is true cmd holds the group script file.
322
*/
323
int    group;
324
int    shell;
325
char **cmd; /* Simulate a reference to *cmd. */
326
{
327
   static char **av = NIL(char *);
328
   static int   avs = 0;
329
   int i = 0;
330
   char *s; /* Temporary string pointer. */
331
332
   if( av == NIL(char *) ) {
333
      TALLOC(av, MINARGV, char*);
334
      avs = MINARGV;
335
   }
336
   av[0] = NIL(char);
337
338
   if (**cmd) {
339
      if( shell||group ) {
340
	 char* sh = group ? GShell : Shell;
341
342
	 if( sh != NIL(char) ) {
343
	    av[i++] = sh;
344
	    if( (av[i] = (group?GShell_flags:Shell_flags)) != NIL(char) ) i++;
345
346
	    if( shell && Shell_quote && *Shell_quote ) {
347
	       /* Enclose the shell command with SHELLCMDQUOTE. */
348
	       s = DmStrJoin(Shell_quote, *cmd, -1, FALSE);
349
	       FREE(*cmd);
350
	       *cmd = DmStrJoin(s, Shell_quote, -1, TRUE);
351
	    }
352
	    av[i++] = *cmd;
353
354
#if defined(USE_CREATEPROCESS)
355
	    /* CreateProcess() needs one long command line. */
356
	    av[0] = DmStrAdd(av[0], av[1], FALSE);
357
	    av[1] = NIL(char);
358
	    /* i == 3 means Shell_flags are given. */
359
	    if( i == 3 ) {
360
	       s = av[0];
361
	       av[0] = DmStrAdd(s, av[2], FALSE);
362
	       FREE(s);
363
	       av[2] = NIL(char);
364
	    }
365
	    /* The final free of cmd will free the concated command line. */
366
	    FREE(*cmd);
367
	    *cmd = av[0];
368
#endif
369
	    av[i]   = NIL(char);
370
	 }
371
	 else
372
	    Fatal("%sSHELL macro not defined", group?"GROUP":"");
373
      }
374
      else {
375
	 char *tcmd = *cmd;
376
377
#if defined(USE_CREATEPROCESS)
378
	 /* CreateProcess() needs one long command line, fill *cmd
379
	  * into av[0]. */
380
	 while( iswhite(*tcmd) ) ++tcmd;
381
	 if( *tcmd ) av[i++] = tcmd;
382
#else
383
	 /* All other exec/spawn functions need the parameters separated
384
	  * in the argument vector. */
385
	 do {
386
	    /* Fill *cmd into av[]. Whitespace is converted into '\0' to
387
	     * terminate each av[] member. */
388
	    while( iswhite(*tcmd) ) ++tcmd;
389
	    if( *tcmd ) av[i++] = tcmd;
390
391
	    while( *tcmd != '\0' && !iswhite(*tcmd) ) ++tcmd;
392
	    if( *tcmd ) *tcmd++ = '\0';
393
394
	    /* dynamically increase av size. */
395
	    if( i == avs ) {
396
	       avs += MINARGV;
397
	       av = (char **) realloc( av, avs*sizeof(char *) );
398
	    }
399
	 } while( *tcmd );
400
#endif
401
402
	 av[i] = NIL(char);
403
      }
404
   }
405
406
   return(av);
407
}
408
409
410
/*
411
** Return the value of ename from the environment
412
** if ename is not defined in the environment then
413
** NIL(char) should be returned
414
*/
415
PUBLIC char *
416
Read_env_string(ename)
417
char *ename;
418
{
419
   return( getenv(ename) );
420
}
421
422
423
/*
424
** Set the value of the environment string ename to value.
425
**  Returns 0 if success, non-zero if failure
426
*/
427
PUBLIC int
428
Write_env_string(ename, value)
429
char *ename;
430
char *value;
431
{
432
#if defined(HAVE_SETENV)
433
434
  return( setenv(ename, value, 1) );
435
436
#else  /* !HAVE_SETENV */
437
438
  char*   p;
439
  char*   envstr = DmStrAdd(ename, value, FALSE);
440
441
  p = envstr+strlen(ename);	/* Don't change this code, DmStrAdd does not */
442
  *p++ = '=';			/* add the space if *value is 0, it does    */
443
  if( !*value ) *p = '\0';	/* allocate enough memory for one though.   */
444
445
  return( putenv(envstr) ); /* Possibly leaking 'envstr' */
446
447
#endif /* !HAVE_SETENV */
448
}
449
450
451
PUBLIC void
452
ReadEnvironment()
453
{
454
   extern char **Rule_tab;
455
#if !defined(_MSC_VER)
456
#if defined(__BORLANDC__) && __BORLANDC__ >= 0x500
457
   extern char ** _RTLENTRY _EXPDATA environ;
458
#else
459
   extern char **environ;
460
#endif
461
#endif
462
   char **rsave;
463
464
#if !defined(__ZTC__) && !defined(_MPW)
465
# define make_env()
466
# define free_env()
467
#else
468
   void make_env();
469
   void free_env();
470
#endif
471
472
   make_env();
473
474
   rsave    = Rule_tab;
475
   Rule_tab = environ;
476
   Readenv  = TRUE;
477
478
   Parse( NIL(FILE) );
479
480
   Readenv  = FALSE;
481
   Rule_tab = rsave;
482
483
   free_env();
484
}
485
486
487
488
/*
489
** All we have to catch is SIGINT
490
*/
491
PUBLIC void
492
Catch_signals(fn)
493
void (*fn)(int);
494
{
495
   /* FIXME: Check this and add error handling. */
496
   if( (void (*)(int)) signal(SIGINT, SIG_IGN) != (void (*)(int))SIG_IGN )
497
      signal( SIGINT, fn );
498
   if( (void (*)(int)) signal(SIGQUIT, SIG_IGN) != (void (*)(int))SIG_IGN )
499
      signal( SIGQUIT, fn );
500
}
501
502
503
504
/*
505
** Clear any previously set signals
506
*/
507
PUBLIC void
508
Clear_signals()
509
{
510
   if( (void (*)())signal(SIGINT, SIG_IGN) != (void (*)())SIG_IGN )
511
      signal( SIGINT, SIG_DFL );
512
   if( (void (*)())signal(SIGQUIT, SIG_IGN) != (void (*)())SIG_IGN )
513
      signal( SIGQUIT, SIG_DFL );
514
}
515
516
517
518
/*
519
** Set program name
520
*/
521
PUBLIC void
522
Prolog(argc, argv)
523
int   argc;
524
char* argv[];
525
{
526
   Pname = (argc == 0) ? DEF_MAKE_PNAME : argv[0];
527
528
   /* Only some native Windows compilers provide this functionality. */
529
#ifdef HAVE_GETMODULEFILENAMEFUNC
530
   if( (AbsPname = MALLOC( PATH_MAX, char)) == NIL(char) ) No_ram();
531
   GetModuleFileName(NULL, AbsPname, PATH_MAX*sizeof(char));
532
#else
533
   AbsPname = "";
534
#endif
535
536
#if __CYGWIN__
537
   /* Get the drive letter prefix used by cygwin. */
538
   if ( (CygDrvPre = MALLOC( PATH_MAX, char)) == NIL(char) )
539
      No_ram();
540
   else {
541
      int err = cygwin_conv_to_posix_path("c:", CygDrvPre);
542
      if (err)
543
	 Fatal( "error converting \"%s\" - %s\n",
544
		CygDrvPre, strerror (errno));
545
      if( (CygDrvPreLen = strlen(CygDrvPre)) == 2 ) {
546
	 /* No prefix */
547
	 *CygDrvPre = '\0';
548
	 CygDrvPreLen = 0;
549
      } else {
550
	 /* Cut away the directory letter. */
551
	 CygDrvPre[CygDrvPreLen-2] = '\0';
552
	 /* Cut away the leading '/'. We don't free the pointer, i.e. choose
553
	  * the easy way. */
554
	 CygDrvPre++;
555
	 CygDrvPreLen -= 3;
556
      }
557
   }
558
#endif
559
560
   /* DirSepStr is used from Clean_path() in Def_cell(). Set it preliminary
561
    * here, it will be redefined later in Create_macro_vars() in imacs.c. */
562
   DirSepStr = "/";
563
564
   Root = Def_cell( ".ROOT" );
565
   Targets = Def_cell( ".TARGETS" );
566
   Add_prerequisite(Root, Targets, FALSE, FALSE);
567
568
   Targets->ce_flag = Root->ce_flag = F_RULES|F_TARGET|F_STAT;
569
   Targets->ce_attr = Root->ce_attr = A_NOSTATE|A_PHONY;
570
571
   Root->ce_flag |= F_MAGIC;
572
   Root->ce_attr |= A_SEQ;
573
574
   tzset();
575
}
576
577
578
579
/*
580
** Do any clean up for exit.
581
*/
582
PUBLIC void
583
Epilog(ret_code)
584
int ret_code;
585
{
586
   Write_state();
587
   Unlink_temp_files(Root);
588
   Hook_std_writes(NIL(char));		/* For MSDOS tee (-F option) */
589
   exit( ret_code );
590
}
591
592
593
594
/*
595
** Use the built-in functions of the operating system to get the current
596
** working directory.
597
*/
598
PUBLIC char *
599
Get_current_dir()
600
{
601
   static char buf[PATH_MAX+2];
602
603
   if( !getcwd(buf, sizeof(buf)) )
604
      Fatal("Internal Error: Error when calling getcwd()!");
605
606
#ifdef __EMX__BACKSLASH
607
   char *slash;
608
   slash = buf;
609
   while( (slash=strchr(slash,'/')) )
610
      *slash = '\\';
611
#endif
612
613
   return buf;
614
}
615
616
617
618
/*
619
** change working directory
620
*/
621
PUBLIC int
622
Set_dir(path)
623
char*   path;
624
{
625
   return( chdir(path) );
626
}
627
628
629
630
/*
631
** return switch char
632
*/
633
PUBLIC char
634
Get_switch_char()
635
{
636
   return( getswitchar() );
637
}
638
639
640
int Create_temp(tmpdir, path)/*
641
===============================
642
  Create a temporary file and open with exclusive access
643
  Path is updated with the filename and the file descriptor
644
  is returned.  Note that the new name should be freed when
645
  the file is removed.
646
*/
647
char *tmpdir;
648
char **path;
649
{
650
   int fd; /* file descriptor */
651
652
#if defined(HAVE_MKSTEMP)
653
   mode_t       mask;
654
655
   *path = DmStrJoin( tmpdir, DirSepStr, -1, FALSE);
656
   *path = DmStrJoin( *path, "mkXXXXXX", -1, TRUE );
657
658
   mask = umask(0066);
659
   fd = mkstemp( *path );
660
   umask(mask);
661
662
#elif defined(HAVE_TEMPNAM)
663
   char pidbuff[32];
664
#if _MSC_VER >= 1300
665
   /* Create more unique filename for .NET2003 and newer. */
666
   long npid;
667
   long nticks;
668
669
   npid = _getpid();
670
   nticks = GetTickCount() & 0xfff;
671
   sprintf(pidbuff,"mk%d_%d_",npid,nticks);
672
#else   
673
   sprintf(pidbuff,"mk");
674
#endif   
675
   *path = tempnam(tmpdir, pidbuff);
676
   fd = open(*path, O_CREAT | O_EXCL | O_TRUNC | O_RDWR, 0600);
677
#else
678
679
#error mkstemp() or tempnam() is needed
680
681
#endif
682
683
   return fd;
684
}
685
686
687
PUBLIC FILE*
688
Get_temp(path, mode)/*
689
======================
690
  Generate a temporary file name and open the file for writing.
691
  If a name cannot be generated or the file cannot be opened
692
  return -1, else return the fileno of the open file.
693
  and update the source file pointer to point at the new file name.
694
  Note that the new name should be freed when the file is removed.
695
  The file stream is opened with the given mode.
696
*/
697
char **path;
698
char *mode;
699
{
700
   int          fd;
701
   FILE         *fp;
702
   char         *tmpdir;
703
   int          tries = 20;
704
705
   tmpdir = Read_env_string( "TMPDIR" );
706
   if( tmpdir == NIL(char) )
707
      tmpdir = "/tmp";
708
709
   while( --tries )
710
   {
711
      /* This sets path to the name of the created temp file. */
712
      if( (fd = Create_temp(tmpdir, path)) != -1)
713
         break;
714
715
      free(*path); /* free var if creating temp failed. */
716
   }
717
718
   if( fd != -1)
719
   {
720
      Def_macro( "TMPFILE", DO_WINPATH(*path), M_MULTI|M_EXPANDED );
721
      /* associate stream with file descriptor */
722
      fp = fdopen(fd, mode);
723
   }
724
   else
725
      fp = NIL(FILE);
726
727
   return fp;
728
}
729
730
731
PUBLIC FILE *
732
Start_temp( suffix, cp, fname )/*
733
=================================
734
  Open a new temporary file and set it up for writing. The file is linked
735
  to cp and will be removed if once the target is finished.
736
  If a suffix for the temporary files is requested two temporary files are
737
  created. This is done because the routines that create a save temporary
738
  file do not provide a definable suffix. The first (provided by Get_temp())
739
  is save and unique and the second file is generated by adding the desired
740
  suffix the the first temporary file. The extra file is also linked to cp
741
  so that it gets removed later.
742
  The function returns the FILE pointer to the temporary file (with suffix
743
  if specified) and leaves the file name in *fname.
744
*/
745
char     *suffix;
746
CELLPTR   cp;
747
char    **fname;
748
{
749
   FILE        *fp, *fp2;
750
   char        *tmpname;
751
   char        *name;
752
   char        *fname_suff;
753
754
   name = (cp != NIL(CELL))?cp->CE_NAME:"makefile text";
755
756
   /* This sets tmpname to the name that was used. */
757
   if( (fp = Get_temp(&tmpname, "w")) == NIL(FILE) )
758
      Open_temp_error( tmpname, name );
759
760
   /* Don't free tmpname, it's stored in a FILELIST member in Link_temp(). */
761
   Link_temp( cp, fp, tmpname );
762
   *fname = tmpname;
763
764
   /* As Get_temp() doesn't provide a definable suffix (anymore) we create an
765
    * additional temporary file with that suffix. */
766
   if ( suffix && *suffix ) {
767
768
#ifdef HAVE_MKSTEMP
769
      /* Only use umask if we are also using mkstemp - this basically
770
       * avoids using the incompatible implementation from MSVC. */
771
      mode_t mask;
772
773
      mask = umask(0066);
774
#endif
775
776
      fname_suff = DmStrJoin( tmpname, suffix, -1, FALSE );
777
778
      /* Overwrite macro, Get_temp didn't know of the suffix. */
779
      Def_macro( "TMPFILE", DO_WINPATH(fname_suff), M_MULTI|M_EXPANDED );
780
781
      if( (fp2 = fopen(fname_suff, "w" )) == NIL(FILE) )
782
         Open_temp_error( fname_suff, name );
783
#ifdef HAVE_MKSTEMP
784
      umask(mask);
785
#endif
786
787
      /* Don't free fname_suff. */
788
      Link_temp( cp, fp2, fname_suff );
789
      fp = fp2;
790
      *fname = fname_suff;
791
   }
792
793
   return( fp );
794
}
795
796
797
/*
798
** Issue an error on failing to open a temporary file
799
*/
800
PUBLIC void
801
Open_temp_error( tmpname, name )
802
char *tmpname;
803
char *name;
804
{
805
   Fatal("Cannot open temp file `%s' while processing `%s'", tmpname, name );
806
}
807
808
809
/*
810
** Link a temp file onto the list of files.
811
*/
812
PUBLIC void
813
Link_temp( cp, fp, fname )
814
CELLPTR cp;
815
FILE   *fp;
816
char   *fname;
817
{
818
   FILELISTPTR new;
819
820
   if( cp == NIL(CELL) ) cp = Root;
821
822
   TALLOC( new, 1, FILELIST );
823
824
   new->fl_next = cp->ce_files;
825
   new->fl_name = fname;
826
   new->fl_file = fp;		/* indicates temp file is open */
827
828
   cp->ce_files = new;
829
}
830
831
832
/*
833
** Close a previously used temporary file.
834
*/
835
PUBLIC void
836
Close_temp(cp, file)
837
CELLPTR cp;
838
FILE    *file;
839
{
840
   FILELISTPTR fl;
841
   if( cp == NIL(CELL) ) cp = Root;
842
843
   for( fl=cp->ce_files; fl && fl->fl_file != file; fl=fl->fl_next );
844
   if( fl ) {
845
      fl->fl_file = NIL(FILE);
846
      fclose(file);
847
   }
848
}
849
850
851
/*
852
** Clean-up, and close all temporary files associated with a target.
853
*/
854
PUBLIC void
855
Unlink_temp_files( cp )/*
856
==========================
857
   Unlink the tempfiles if any exist.  Make sure you close the files first
858
   though.  This ensures that under DOS there is no disk space lost. */
859
CELLPTR cp;
860
{
861
   FILELISTPTR cur, next;
862
863
   if( cp == NIL(CELL) || cp->ce_files == NIL(FILELIST) ) return;
864
865
   for( cur=cp->ce_files; cur != NIL(FILELIST); cur=next ) {
866
      next = cur->fl_next;
867
868
      if( cur->fl_file ) fclose( cur->fl_file );
869
870
      if( Verbose & V_LEAVE_TMP )
871
         fprintf( stderr, "%s:  Left temp file [%s]\n", Pname, cur->fl_name );
872
      else
873
         (void) Remove_file( cur->fl_name );
874
875
      FREE(cur->fl_name);
876
      FREE(cur);
877
   }
878
879
   cp->ce_files = NIL(FILELIST);
880
}
881
882
883
PUBLIC void
884
Handle_result(status, ignore, abort_flg, target)/*
885
==================================================
886
  Handle return value of recipe.
887
*/
888
int	status;
889
int	ignore;
890
int	abort_flg;
891
CELLPTR target;
892
{
893
   status = ((status&0xff)==0 ? status>>8   /* return from exit()      */
894
	     : (status & 0xff)==SIGTERM ? -1 /* terminated from SIGTERM */
895
	     : (status & 0x7f)+128);         /* terminated from signal
896
					      *         ( =status-128 ) */ 
897
898
   if( status ) {
899
      if( !abort_flg ) {
900
	 char buf[512];
901
902
	 sprintf(buf, "%s:  Error code %d, while making '%s'",
903
		 Pname, status, target->ce_fname );
904
905
	 if( ignore || Continue ) {
906
	    if (!(Glob_attr & A_SILENT)) {
907
	       strcat(buf, " (Ignored" );
908
909
	       if ( Continue ) {
910
		  /* Continue after error if '-k' was used. */
911
		  strcat(buf,",Continuing");
912
		  target->ce_attr |= A_ERROR;
913
	       }
914
	       strcat(buf,")");
915
	       if (Verbose)
916
		  fprintf(stderr, "%s\n", buf);
917
	    }
918
919
	    if( target->ce_attr & A_ERRREMOVE
920
		&& Remove_file( target->ce_fname ) == 0
921
		&& !(Glob_attr & A_SILENT))
922
	       fprintf(stderr,"%s:  '%s' removed.\n", Pname, target->ce_fname);
923
	 }
924
	 else {
925
	    fprintf(stderr, "%s\n",buf);
926
927
	    if(!(target->ce_attr & A_PRECIOUS)||(target->ce_attr & A_ERRREMOVE))
928
	       if( Remove_file( target->ce_fname ) == 0 )
929
		  fprintf(stderr,"%s:  '%s' removed.\n", Pname,
930
			  target->ce_fname);
931
932
	    Quit(0);
933
	 }
934
      }
935
      else if(!(target->ce_attr & A_PRECIOUS)||(target->ce_attr & A_ERRREMOVE))
936
	 Remove_file( target->ce_fname );
937
   }
938
}
939
940
941
PUBLIC void
942
Update_time_stamp( cp )/*
943
=========================
944
   Update the time stamp of cp and scan the list of its prerequisites for
945
   files being marked as removable (ie. an inferred intermediate node).
946
   Remove them if there are any. */
947
CELLPTR cp;
948
{
949
   HASHPTR hp;
950
   LINKPTR dp;
951
   CELLPTR tcp;
952
   time_t  mintime;
953
   int     phony = ((cp->ce_attr&A_PHONY) != 0);
954
955
   for(dp=CeMeToo(cp); dp; dp=dp->cl_next) {
956
      tcp=dp->cl_prq;
957
      /* When calling Make() on this target ce_time was set to the minimal
958
       * required time the target should have after building, i.e. the time
959
       * stamp of the newest prerequisite or 1L if there is no
960
       * prerequisite. */
961
      mintime = tcp->ce_time;
962
963
      if( tcp->ce_attr & A_LIBRARY )
964
	 Void_lib_cache( tcp->ce_fname, NIL(char) );
965
      else if( !Touch && (tcp->ce_attr & A_LIBRARYM) )
966
	 Void_lib_cache( tcp->ce_lib, tcp->ce_fname );
967
968
      /* phony targets are treated as if they were recently made
969
       * and get the current time assigned. */
970
      if( phony ) {
971
	 tcp->ce_time = Do_time();
972
      }
973
      else if (Trace) {
974
	 tcp->ce_time = Do_time();
975
      }
976
      else {
977
	 Stat_target(tcp, -1, TRUE);
978
979
	 if( tcp->ce_time == (time_t) 0L ) {
980
	    /* If the target does not exist after building set its
981
	     * time stamp depending if it has recipes or not. Virtual
982
	     * Targets (without recipes) get the newest time stamp of
983
	     * its prerequisites assigned. (This was conveniently stored
984
	     * in mintime.)
985
	     * Targets with recipes are treated as if they were recently
986
	     * made and get the current time assigned. */
987
	    if( cp->ce_recipe == NIL(STRING) && mintime > 1 ) {
988
	       tcp->ce_time = mintime;
989
	    }
990
	    else {
991
	       tcp->ce_time = Do_time();
992
	    }
993
	 }
994
	 else {
995
	    /* The target exist. If the target does not have recipe
996
	     * lines use the newest time stamp of either the target or
997
	     * the newest time stamp of its prerequisites and issue
998
	     * a warning. */
999
	    if( cp->ce_recipe == NIL(STRING) ) {
1000
	       time_t  newtime = ( mintime > 1 ? mintime : Do_time() );
1001
1002
	       if( !(tcp->ce_attr & A_SILENT) )
1003
		  Warning( "Found file corresponding to virtual target [%s].",
1004
			   tcp->CE_NAME );
1005
1006
	       if( newtime > tcp->ce_time )
1007
		  tcp->ce_time = mintime;
1008
	    }
1009
	 }
1010
      }
1011
1012
      if( Trace ) {
1013
	 tcp->ce_flag |= F_STAT;		/* pretend we stated ok */
1014
      }
1015
1016
      if( Verbose & V_MAKE )
1017
	 printf( "%s:  <<<< Set [%s] time stamp to %lu\n",
1018
		 Pname, tcp->CE_NAME, tcp->ce_time );
1019
1020
      if( Measure & M_TARGET )
1021
	 Do_profile_output( "e", M_TARGET, tcp );
1022
1023
      /* At this point cp->ce_time is updated to either the actual file
1024
       * time or the current time. */
1025
      DB_PRINT( "make", ("time stamp: %ld, required mintime: %ld",
1026
			 cp->ce_time, mintime) );
1027
      if( tcp->ce_time < mintime && !(tcp->ce_attr & A_SILENT) ) {
1028
	 Warning( "Target [%s] was made but the time stamp has not been updated.",
1029
		  tcp->CE_NAME );
1030
      }
1031
1032
      /* The target was made, remove the temp files now. */
1033
      Unlink_temp_files( tcp );
1034
      tcp->ce_flag |= F_MADE;
1035
      tcp->ce_attr |= A_UPDATED;
1036
   }
1037
1038
   /* Scan the list of prerequisites and if we find one that is
1039
    * marked as being removable, (ie. an inferred intermediate node)
1040
    * then remove it.  We remove a prerequisite by running the recipe
1041
    * associated with the special target .REMOVE.
1042
    * Typically .REMOVE is defined in the startup file as:
1043
    *  .REMOVE :; $(RM) $<
1044
    * with $< being the list of prerequisites specified in the current
1045
    * target. (Make() sets $< .) */
1046
1047
   /* Make sure we don't try to remove prerequisites for the .REMOVE
1048
    * target. */
1049
   if( strcmp(cp->CE_NAME,".REMOVE") != 0 &&
1050
       (hp = Get_name(".REMOVE", Defs, FALSE)) != NIL(HASH) ) {
1051
      register LINKPTR dp;
1052
      int flag = FALSE;
1053
      int rem;
1054
      t_attr attr;
1055
1056
      tcp = hp->CP_OWNR;
1057
1058
      /* The .REMOVE target is re-used. Remove old prerequisites. */
1059
      tcp->ce_flag |= F_TARGET;
1060
      Clear_prerequisites( tcp );
1061
1062
      for(dp=cp->ce_prq; dp != NIL(LINK); dp=dp->cl_next) {
1063
	 register CELLPTR prq = dp->cl_prq;
1064
1065
	 attr = Glob_attr | prq->ce_attr;
1066
	 /* We seem to have problems here that F_MULTI subtargets get removed
1067
	  * that even though they are still needed because the A_PRECIOUS
1068
	  * was not propagated correctly. Solution: Don't remove subtargets, the
1069
	  * master target will be removed if is not needed. */
1070
	 rem  = (prq->ce_flag & F_REMOVE) &&
1071
		(prq->ce_flag & F_MADE  ) &&
1072
	        !(prq->ce_count ) && /* Don't remove F_MULTI subtargets. */
1073
		!(prq->ce_attr & A_PHONY) &&
1074
		!(attr & A_PRECIOUS);
1075
1076
	 /* remove if rem is != 0 */
1077
	 if(rem) {
1078
	    LINKPTR tdp;
1079
1080
	    /* Add the target plus all that are linked to it with the .UPDATEALL
1081
	     * attribute. */
1082
	    for(tdp=CeMeToo(prq); tdp; tdp=tdp->cl_next) {
1083
	       CELLPTR tmpcell=tdp->cl_prq;
1084
1085
	       (Add_prerequisite(tcp,tmpcell,FALSE,FALSE))->cl_flag|=F_TARGET;
1086
	       tmpcell->ce_flag &= ~F_REMOVE;
1087
	    }
1088
	    flag = TRUE;
1089
	 }
1090
      }
1091
1092
      if( flag ) {
1093
	 int sv_force = Force;
1094
1095
	 Force = FALSE;
1096
	 Remove_prq( tcp );
1097
	 Force = sv_force;
1098
1099
	 for(dp=tcp->ce_prq; dp != NIL(LINK); dp=dp->cl_next) {
1100
	    register CELLPTR prq = dp->cl_prq;
1101
1102
	    prq->ce_flag &= ~(F_MADE|F_VISITED|F_STAT);
1103
	    prq->ce_flag |= F_REMOVE;
1104
	    prq->ce_time  = (time_t)0L;
1105
	 }
1106
      }
1107
   }
1108
}
1109
1110
1111
PUBLIC int
1112
Remove_file( name )
1113
char *name;
1114
{
1115
   struct stat buf;
1116
1117
   if( stat(name, &buf) != 0 )
1118
      return 1;
1119
   if( (buf.st_mode & S_IFMT) == S_IFDIR )
1120
      return 1;
1121
   return(unlink(name));
1122
}
1123
1124
1125
#if defined(__CYGWIN__)
1126
char *
1127
cygdospath(char *src, int winpath)/*
1128
====================================
1129
   Convert to DOS path if winpath is true. The returned pointer is
1130
   either the original pointer or a pointer to a static buffer.
1131
*/
1132
{
1133
   static char *buf = NIL(char);
1134
1135
   if ( !buf && ( (buf = MALLOC( PATH_MAX, char)) == NIL(char) ) )
1136
      No_ram();
1137
1138
   DB_PRINT( "cygdospath", ("converting [%s] with winpath [%d]", src, winpath ) );
1139
1140
   /* Return immediately on NULL pointer or when .WINPATH is
1141
    * not set. */
1142
   if( !src || !winpath )
1143
      return src;
1144
1145
   if( *src && src[0] == '/' ) {
1146
      char *tmp;
1147
      int err = cygwin_conv_to_win32_path(src, buf);
1148
      if (err)
1149
	 Fatal( "error converting \"%s\" - %s\n",
1150
		src, strerror (errno));
1151
1152
      tmp = buf;
1153
      while ((tmp = strchr (tmp, '\\')) != NULL) {
1154
	 *tmp = '/';
1155
	 tmp++;
1156
      }
1157
1158
      return buf;
1159
   }
1160