Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
637
Issues
637
List
Boards
Labels
Service Desk
Milestones
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
6d5dcd0d
Commit
6d5dcd0d
authored
Feb 18, 1999
by
Bob Halley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make multiple build directories work again
parent
dd3d17d3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
22 deletions
+44
-22
bin/named/Makefile.in
bin/named/Makefile.in
+4
-3
bin/tests/Makefile.in
bin/tests/Makefile.in
+3
-1
configure
configure
+6
-2
configure.in
configure.in
+5
-2
lib/dns/Makefile.in
lib/dns/Makefile.in
+8
-4
lib/dns/gen.c
lib/dns/gen.c
+15
-9
make/rules.in
make/rules.in
+3
-1
No files found.
bin/named/Makefile.in
View file @
6d5dcd0d
...
...
@@ -7,6 +7,7 @@ CINCLUDES = -I${srcdir}/../../lib/isc/unix/include \
-I
${srcdir}
/../../lib/isc/pthreads/include
\
-I
${srcdir}
/../../lib/isc/include
\
-I
${srcdir}
/../../lib/dns/include
\
-I
../../lib/dns/include
\
-I
${srcdir}
/../..
\
-I
${srcdir}
...
...
@@ -19,7 +20,6 @@ DEPLIBS = ../../lib/dns/libdns.a \
LIBS
=
${DEPLIBS}
\
@LIBS@
# -ly -ll
TARGETS
=
named
...
...
@@ -28,8 +28,9 @@ OBJS = server.o udpclient.o tcpclient.o wire_debug.o wire_test.o
@BIND9_MAKE_RULES@
wire_test.o
:
../tests/wire_test.c
${CC}
-c
-o
wire_test.o
-DNOMAIN
${CINCLUDES}
${CFLAGS}
../tests/wire_test.c
wire_test.o
:
${srcdir}/../tests/wire_test.c
${CC}
-c
-o
wire_test.o
-DNOMAIN
${ALL_CFLAGS}
\
${srcdir}
/../tests/wire_test.c
named
:
${OBJS} ${DEPLIBS}
${CC}
-o
$@
${OBJS}
${LIBS}
...
...
bin/tests/Makefile.in
View file @
6d5dcd0d
...
...
@@ -6,7 +6,9 @@ top_srcdir = @top_srcdir@
CINCLUDES
=
-I
${srcdir}
/../../lib/isc/unix/include
\
-I
${srcdir}
/../../lib/isc/pthreads/include
\
-I
${srcdir}
/../../lib/isc/include
\
-I
${srcdir}
/../../lib/dns/include
-I
${srcdir}
/../../lib/dns/include
\
-I
../../lib/dns/include
CDEFINES
=
CWARNINGS
=
...
...
configure
View file @
6d5dcd0d
#! /bin/sh
# From configure.in Revision: 1.1
6
# From configure.in Revision: 1.1
8
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.12
...
...
@@ -1717,7 +1717,10 @@ EOF
esac
BIND9_MAKE_RULES
=
$srcdir
/make/rules
BIND9_TOP_BUILDDIR
=
`
pwd
`
BIND9_MAKE_RULES
=
$BIND9_TOP_BUILDDIR
/make/rules
BIND9_VERSION
=
$srcdir
/version
...
...
@@ -1887,6 +1890,7 @@ s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@STD_CINCLUDES@%
$STD_CINCLUDES
%g
s%@STD_CDEFINES@%
$STD_CDEFINES
%g
s%@STD_CWARNINGS@%
$STD_CWARNINGS
%g
s%@BIND9_TOP_BUILDDIR@%
$BIND9_TOP_BUILDDIR
%g
/@BIND9_MAKE_RULES@/r
$BIND9_MAKE_RULES
s%@BIND9_MAKE_RULES@%%g
/@BIND9_VERSION@/r
$BIND9_VERSION
...
...
configure.in
View file @
6d5dcd0d
AC_REVISION($Revision: 1.1
7
$)
AC_REVISION($Revision: 1.1
8
$)
AC_INIT(lib/dns/name.c)
AC_CONFIG_HEADER(config.h)
...
...
@@ -124,8 +124,11 @@ case "$host" in
;;
esac
AC_SUBST(BIND9_TOP_BUILDDIR)
BIND9_TOP_BUILDDIR=`pwd`
AC_SUBST_FILE(BIND9_MAKE_RULES)
BIND9_MAKE_RULES=$
srcdir
/make/rules
BIND9_MAKE_RULES=$
BIND9_TOP_BUILDDIR
/make/rules
AC_SUBST_FILE(BIND9_VERSION)
BIND9_VERSION=$srcdir/version
...
...
lib/dns/Makefile.in
View file @
6d5dcd0d
...
...
@@ -8,7 +8,11 @@ top_srcdir = @top_srcdir@
CINCLUDES
=
-I
${srcdir}
/../isc/unix/include
\
-I
${srcdir}
/../isc/pthreads/include
\
-I
${srcdir}
/../isc/include
\
-I
${srcdir}
/include
-I
${srcdir}
/include
\
-I
${srcdir}
\
-I
./include
\
-I
.
CDEFINES
=
CWARNINGS
=
...
...
@@ -45,13 +49,13 @@ clean distclean::
rdata.o
:
code.h
include/dns/enumtype.h
:
gen
./gen
-t
>
$@
./gen
-
s
${srcdir}
-
t
>
$@
include/dns/enumclass.h
:
gen
./gen
-c
>
$@
./gen
-
s
${srcdir}
-
c
>
$@
code.h
:
gen
./gen
>
code.h
./gen
-s
${srcdir}
>
code.h
gen
:
gen.c
${CC}
${ALL_CFLAGS}
-o
$@
$?
lib/dns/gen.c
View file @
6d5dcd0d
...
...
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: gen.c,v 1.1
3 1999/02/04 06:38:41 marka
Exp $ */
/* $Id: gen.c,v 1.1
4 1999/02/18 01:24:31 halley
Exp $ */
#include <sys/types.h>
...
...
@@ -104,7 +104,7 @@ struct tt {
int
type
;
char
classname
[
11
];
char
typename
[
11
];
char
dirname
[
sizeof
"rdata/0123456789_65535"
];
char
dirname
[
256
];
/* XXX Should be max path length */
}
*
types
;
char
*
upper
(
char
*
);
...
...
@@ -221,7 +221,6 @@ add(int class, char *classname, int type, char *typename, char *dirname) {
struct
cc
*
newcc
;
struct
cc
*
cc
,
*
oldcc
;
if
(
newtt
==
NULL
)
exit
(
1
);
...
...
@@ -313,7 +312,8 @@ sd(int class, char *classname, char *dir) {
int
main
(
int
argc
,
char
**
argv
)
{
DIR
*
d
;
char
buf
[
sizeof
"rdata/0123456789_65535"
];
char
buf
[
256
];
/* XXX Should be max path length */
char
srcdir
[
256
];
/* XXX Should be max path length */
int
class
;
char
classname
[
11
];
struct
dirent
*
dp
;
...
...
@@ -329,7 +329,8 @@ main(int argc, char **argv) {
int
c
;
char
buf1
[
11
];
while
((
c
=
getopt
(
argc
,
argv
,
"ct"
))
!=
-
1
)
strcpy
(
srcdir
,
""
);
while
((
c
=
getopt
(
argc
,
argv
,
"cts:"
))
!=
-
1
)
switch
(
c
)
{
case
'c'
:
code
=
0
;
...
...
@@ -341,11 +342,15 @@ main(int argc, char **argv) {
class_enum
=
0
;
type_enum
=
1
;
break
;
case
's'
:
sprintf
(
srcdir
,
"%s/"
,
optarg
);
break
;
case
'?'
:
exit
(
1
);
}
if
((
d
=
opendir
(
"rdata"
))
==
NULL
)
sprintf
(
buf
,
"%srdata"
,
srcdir
);
if
((
d
=
opendir
(
buf
))
==
NULL
)
exit
(
1
);
while
((
dp
=
readdir
(
d
))
!=
NULL
)
{
...
...
@@ -355,12 +360,13 @@ main(int argc, char **argv) {
if
((
class
>
65535
)
||
(
class
<
0
))
continue
;
sprintf
(
buf
,
"
rdata/%s_%d"
,
classname
,
class
);
if
(
strcmp
(
buf
+
6
,
dp
->
d_name
)
!=
0
)
sprintf
(
buf
,
"
%srdata/%s_%d"
,
srcdir
,
classname
,
class
);
if
(
strcmp
(
buf
+
6
+
strlen
(
srcdir
)
,
dp
->
d_name
)
!=
0
)
continue
;
sd
(
class
,
classname
,
buf
);
}
sd
(
0
,
""
,
"rdata/generic"
);
sprintf
(
buf
,
"%srdata/generic"
,
srcdir
);
sd
(
0
,
""
,
buf
);
closedir
(
d
);
if
(
time
(
&
now
)
!=
-
1
)
{
...
...
make/rules.in
View file @
6d5dcd0d
...
...
@@ -17,6 +17,8 @@ libdir = @libdir@
@SET_MAKE@
top_builddir = @BIND9_TOP_BUILDDIR@
###
### All
###
...
...
@@ -69,7 +71,7 @@ STD_CWARNINGS = @STD_CWARNINGS@
.SUFFIXES:
.SUFFIXES: .c .o
ALWAYS_INCLUDES = -I${top_
src
dir}
ALWAYS_INCLUDES = -I${top_
build
dir}
ALWAYS_DEFINES = -D_REENTRANT
ALWAYS_WARNINGS =
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment