1 # Id: makefile.in,v 1.11 2009/10/26 23:49:57 tom Exp
3 # UNIX template-makefile for Berkeley Yacc
7 #### Start of system configuration section. ####
15 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
16 INSTALL_DATA
= @INSTALL_DATA@
17 transform
= @program_transform_name@
20 EXTRA_CFLAGS
= @EXTRA_CFLAGS@
21 CPPFLAGS
= -I.
-I
$(srcdir) $(DEFINES
) -DHAVE_CONFIG_H
-DYYPATCH
=`cat $(srcdir)/VERSION` @CPPFLAGS@
22 CFLAGS
= @CFLAGS@
$(CPPFLAGS
) $(EXTRA_CFLAGS
)
28 exec_prefix = @
exec_prefix@
30 bindir = $(DESTDIR
)@
bindir@
31 mandir = $(DESTDIR
)@
mandir@
/man1
37 #### End of system configuration section. ####
75 TRANSFORM_BIN
= sed
's/$x$$//' |sed
'$(transform)'|sed
's/$$/$x/'
76 TRANSFORM_MAN
= sed
's/$(manext)$$//'|sed
'$(transform)'|sed
's/$$/$(manext)/'
78 actual_bin
= `echo $(THIS)$x | $(TRANSFORM_BIN)`
79 actual_man
= `echo $(THIS).$(manext)| $(TRANSFORM_MAN)`
83 install: all installdirs
84 $(INSTALL_PROGRAM
) $(THIS
)$x $(bindir)/$(actual_bin
)
85 - $(INSTALL_DATA
) $(srcdir)/$(THIS
).1 $(mandir)/$(actual_man
)
88 $(SHELL
) ${srcdir}/mkdirs.sh
$(bindir)
89 - $(SHELL
) ${srcdir}/mkdirs.sh
$(mandir)
92 - rm -f
$(bindir)/$(actual_bin
)
93 - rm -f
$(mandir)/$(actual_man
)
97 @ECHO_CC@
$(CC
) -c
$(CFLAGS
) $<
100 @ECHO_LD@
$(CC
) $(LDFLAGS
) $(CFLAGS
) -o
$@
$(OBJS
) $(LIBS
)
102 $(THIS
).man
: $(THIS
).1
103 - nroff
-man
$(srcdir)/$(THIS
).1 >$@
106 - rm -f core .nfs
* *$o *.bak
*.BAK
*.man
*.out
112 - rm -f config.log config.cache config.status config.h makefile
113 - cd
test && rm -f test-
*
119 cd
test && $(SHELL
) .
/run_test.sh
121 tags: $(H_FILES
) $(C_FILES
)
122 ctags
$(C_FILES
) $(H_FILES
)
125 makedepend
-- $(CPPFLAGS
) -- $(C_FILES
)
130 skeleton
$o : makefile VERSION
132 # DO NOT DELETE THIS LINE -- make depend depends on it.