| 
									
										
										
										
											1998-04-17 19:52:44 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # Simple Makefile for the support programs.
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | # documentation support: man2html
 | 
					
						
							|  |  |  | # testing support: printenv recho zecho
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | # bashbug lives here but is created by the top-level makefile
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | # Currently only man2html is built
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2000-03-17 21:46:59 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # Copyright (C) 1998 Free Software Foundation, Inc.     
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # This program is free software; you can redistribute it and/or modify
 | 
					
						
							|  |  |  | # it under the terms of the GNU General Public License as published by
 | 
					
						
							|  |  |  | # the Free Software Foundation; either version 2, or (at your option)
 | 
					
						
							|  |  |  | # any later version.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # This program is distributed in the hope that it will be useful,
 | 
					
						
							|  |  |  | # but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
					
						
							|  |  |  | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
					
						
							|  |  |  | # GNU General Public License for more details.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # You should have received a copy of the GNU General Public License
 | 
					
						
							|  |  |  | # along with this program; if not, write to the Free Software
 | 
					
						
							|  |  |  | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 | 
					
						
							| 
									
										
										
										
											1998-04-17 19:52:44 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | # Boilerplate
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | topdir = @top_srcdir@ | 
					
						
							|  |  |  | srcdir = @srcdir@ | 
					
						
							|  |  |  | VPATH = .:@srcdir@ | 
					
						
							|  |  |  | BUILD_DIR = @BUILD_DIR@ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | RM	= rm -f | 
					
						
							| 
									
										
										
										
											1999-02-19 17:11:39 +00:00
										 |  |  | SHELL	= @MAKE_SHELL@ | 
					
						
							| 
									
										
										
										
											1998-04-17 19:52:44 +00:00
										 |  |  | CC = @CC@ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-03-17 21:46:59 +00:00
										 |  |  | EXEEXT = @EXEEXT@ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1998-04-17 19:52:44 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # Compiler options:
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | PROFILE_FLAGS = @PROFILE_FLAGS@ | 
					
						
							|  |  |  | CFLAGS = @CFLAGS@ | 
					
						
							|  |  |  | LOCAL_CFLAGS = @LOCAL_CFLAGS@ | 
					
						
							|  |  |  | CPPFLAGS = @CPPFLAGS@ | 
					
						
							|  |  |  | DEFS = @DEFS@ | 
					
						
							|  |  |  | LOCAL_DEFS = @LOCAL_DEFS@ | 
					
						
							|  |  |  | LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS) | 
					
						
							|  |  |  | LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ | 
					
						
							|  |  |  | LIBS = @LIBS@ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | INCLUDES = -I${BUILD_DIR} -I${topdir} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | CCFLAGS = ${PROFILE_FLAGS} $(DEFS) $(LOCAL_DEFS) $(SYSTEM_FLAGS) $(CPPFLAGS) \
 | 
					
						
							|  |  |  | 	  ${INCLUDES} $(LOCAL_CFLAGS) $(CFLAGS) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | SRC1 =	man2html.c | 
					
						
							|  |  |  | OBJ1 =	man2html.o | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .c.o: | 
					
						
							|  |  |  | 	$(RM) $@ | 
					
						
							|  |  |  | 	$(CC) -c $(CCFLAGS) $< | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-03-17 21:46:59 +00:00
										 |  |  | all: man2html$(EXEEXT) | 
					
						
							| 
									
										
										
										
											1998-04-17 19:52:44 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-03-17 21:46:59 +00:00
										 |  |  | man2html$(EXEEXT): $(OBJ1) | 
					
						
							| 
									
										
										
										
											1998-04-17 19:52:44 +00:00
										 |  |  | 	$(CC) $(CCFLAGS) $(OBJ1) -o $@ ${LIBS} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | clean: | 
					
						
							|  |  |  | 	rm man2html | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | man2html.o: man2html.c |