1994-12-30 14:26:10 +00:00
|
|
|
*** cpp-Makefile.orig Thu Dec 22 23:36:46 1994
|
|
|
|
--- cpp-Makefile Fri Dec 30 16:54:09 1994
|
1994-09-29 12:02:10 +00:00
|
|
|
***************
|
1994-12-30 14:26:10 +00:00
|
|
|
*** 138,144 ****
|
|
|
|
--- 138,148 ----
|
1994-09-29 12:02:10 +00:00
|
|
|
/usr/include. Then it will break.) */
|
1994-12-30 14:26:10 +00:00
|
|
|
CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
|
1994-09-29 12:02:10 +00:00
|
|
|
# else /* HAVE_FIXED_INCLUDES */
|
1994-12-30 14:26:10 +00:00
|
|
|
+ #ifdef __FreeBSD__
|
|
|
|
+ CC += $(GCC_EXTRAS)
|
|
|
|
+ #else
|
|
|
|
CC = gcc $(GCC_EXTRAS)
|
|
|
|
+ #endif
|
1994-09-29 12:02:10 +00:00
|
|
|
# endif /* HAVE_FIXED_INCLUDES */
|
|
|
|
#else /* !HAVE_GCC */
|
|
|
|
CC = CPP_CC
|
1994-09-16 04:18:22 +00:00
|
|
|
***************
|
1994-12-30 14:26:10 +00:00
|
|
|
*** 155,162 ****
|
|
|
|
--- 159,171 ----
|
|
|
|
RM = rm -f
|
|
|
|
AR = ar
|
|
|
|
|
|
|
|
+ #ifndef __FreeBSD__
|
|
|
|
INSTALL_PROGRAM = install -c
|
|
|
|
INSTALL_DATA = install -c -m 644
|
|
|
|
+ #else
|
|
|
|
+ INSTALL_PROGRAM = install -c -o bin -g bin -m 555
|
|
|
|
+ INSTALL_DATA = install -c -o bin -g bin -m 644
|
|
|
|
+ #endif
|
|
|
|
|
|
|
|
COMPRESS = gzip
|
|
|
|
COMPRESS_EXT = .gz
|
|
|
|
***************
|
1994-12-12 02:18:01 +00:00
|
|
|
*** 304,310 ****
|
1994-12-30 14:26:10 +00:00
|
|
|
--- 313,321 ----
|
1994-12-12 02:18:01 +00:00
|
|
|
/**/# The GNU coding standards don't recognize the possibility that
|
|
|
|
/**/# other information besides optimization and debugging might be
|
|
|
|
/**/# passed to cc. A different name should have been used.
|
1994-12-30 14:26:10 +00:00
|
|
|
+ #ifndef __FreeBSD__
|
|
|
|
CFLAGS = -O -g
|
|
|
|
+ #endif
|
1994-12-12 02:18:01 +00:00
|
|
|
|
|
|
|
SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
|
|
|
|
$(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
|
|
|
|
***************
|
1994-12-30 14:26:10 +00:00
|
|
|
*** 312,317 ****
|
|
|
|
--- 323,331 ----
|
|
|
|
$(VARARGSH) $(STRCHR) $(STRCASE) $(DEVFD) \
|
|
|
|
-D$(Machine) -D$(OS)
|
|
|
|
LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(PROFILE_FLAGS) $(CFLAGS)
|
|
|
|
+ #ifdef __FreeBSD__
|
|
|
|
+ LDFLAGS += -s
|
|
|
|
+ #endif
|
|
|
|
CCFLAGS = $(PROFILE_FLAGS) $(CFLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \
|
|
|
|
$(MALLOC_CFLAGS)
|
|
|
|
CPPFLAGS= -I. -I$(srcdir) -I$(LIBSRC)
|