diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/ligatex/Makefile |
Initial commit
Diffstat (limited to 'support/ligatex/Makefile')
-rw-r--r-- | support/ligatex/Makefile | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/support/ligatex/Makefile b/support/ligatex/Makefile new file mode 100644 index 0000000000..4921afdd8f --- /dev/null +++ b/support/ligatex/Makefile @@ -0,0 +1,118 @@ +# Generated automatically from Makefile.in by configure. +#---------------------------------------------------------------------------- +# Ligatex - Makefile +# +# v0.2.0 +# +# Taken from the GNU Talkfilters v 1.0 +# See GNU General Public License for modification and distribution +# information. +#---------------------------------------------------------------------------- + +SHELL = /bin/sh + +.SUFFIXES: .c .l .o + +#---------------------------------------------------------------------------- + +srcdir = . + +CC = gcc +LEX = flex +INSTALL = /usr/bin/ginstall -c +INSTALL_PROGRAM = ${INSTALL} +INSTALL_DATA = ${INSTALL} -m 644 + +CFLAGS = -g -O2 +LFLAGS = -Cf -8 +CFLAGS_COMPILE_ONLY = -c +LDFLAGS = +O=o + +LIBS = -lfl + +prefix = /home/killes +exec_prefix = ${prefix} + +# Where the installed binary goes. +bindir = ${exec_prefix}/bin +binprefix = + +mandir = ${prefix}/man/man${manext} +manext = 1 +manprefix = + +#### End of system configuration section. #### + +#---------------------------------------------------------------------------- + +PACKAGE = ligatex-0.2.0 +FILTERS = ligatex +PROGS = $(FILTERS) + +all: $(PROGS) + +GETOPT = getopt.o getopt1.o +COMMON = $(GETOPT) common.o + +.l.c: + $(LEX) $(LFLAGS) $< + mv lex.yy.c $@ + +.c.o: + $(CC) -c $< + +ligatex: ligatex.o $(COMMON) + $(CC) $(CFLAGS) ligatex.o $(COMMON) -o $@ $(LIBS) + + + +install: all installdirs + ${INSTALL_DATA} ${srcdir}/ligatex.man \ + ${mandir}/${manprefix}/ligatex.${manext}; \ + for i in $(FILTERS); do \ + ${INSTALL_PROGRAM} $$i ${bindir}/${binprefix}$$i; \ + ${INSTALL_DATA} ${srcdir}/$$i.man \ + ${mandir}/${manprefix}$$i.${manext}; \ + done + +uninstall: + for i in $(PROGS); do \ + rm -f ${bindir}/${binprefix}/$$i; \ + rm -f ${mandir}/$$i.${manext}; \ + done + +install-strip: + $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install + +dist: distclean + cd .. ; \ + rm -f $(PACKAGE).tar $(PACKAGE).tar.gz ; \ + tar cvf $(PACKAGE).tar ./$(PACKAGE) ; \ + gzip $(PACKAGE).tar + +distclean: clean + rm -f *.log config.cache config.status ref.man + +installdirs: + $(SHELL) ${srcdir}/mkinstalldirs ${bindir} ${mandir} + +mostlyclean: clean + +clean: + rm -f core *.o *.log + for i in $(PROGS); do \ + rm -f $$i; \ + done; + for i in $(FILTERS); do \ + rm -f $$i.c; \ + done; + + + + + + + + + |