--- Makefile.orig Sun May 10 23:19:42 1998 +++ Makefile Sat May 23 13:27:52 1998 @@ -107,20 +107,20 @@ #(Linux - on modern systems, all you need to do is rename or remove # compat/include/sys/cdefs.h. See doc/info/Linux for more information.) -#CC = gcc $(CPPFLAGS) -#CDEBUG = -g -#CPPFLAGS = -DSYSV -#LEX=flex -8 -I -#INSTALL_COMPAT = install-compat -#LIBS = -lfl -#DESTEXEC = /usr/sbin -#DESTMAN = /usr/man -#MANDIR = man -#MANROFF = cat -#DESTHELP = /usr/lib -#CATEXT = $$$$N -#PS = ps -p -#IOT = IOT +CC = gcc $(CPPFLAGS) +CDEBUG = +CPPFLAGS = -DSYSV +LEX=flex -8 -I +INSTALL_COMPAT = install-compat +LIBS = -lfl +DESTEXEC = /usr/sbin +DESTMAN = /usr/man +MANDIR = man +MANROFF = cat +DESTHELP = /usr/lib +CATEXT = $$$$N +PS = ps -p +IOT = IOT #uncomment next line to build a shared library version of libresolv #SHRES = shres/linux #uncomment next line to build tools and named with shared libresolv @@ -999,3 +999,7 @@ 2>&1 | grep '\.[ch]:[0-9]' FRC: + # Enable the following lines for Linux. + if [ -f compat/include/sys/cdefs.h ]; then \ + mv compat/include/sys/cdefs.h compat/include/sys/cdefs.h.old; \ + fi