📄 makefile.in
字号:
# @configure_input@## Makefile for the command-line-argument-processing library, libargp# Written by: Miles Bader <miles@gnu.ai.mit.edu>SHELL = /bin/sh#### Start of system configuration section. ####default: libargp.asrcdir = @srcdir@VPATH = @srcdir@RANLIB = @RANLIB@INSTALL = @INSTALL@INSTALL_PROGRAM = @INSTALL_PROGRAM@INSTALL_DATA = @INSTALL_DATA@CC = @CC@DEFS = @DEFS@LIBS = @LIBS@ # All these are optional. You can redifine CFLAGS, CPPFLAGS,# INCLUDEFLAGS and LDFLAGS on the command line however you like.CFLAGS = @CFLAGS@CPPFLAGS = @CPPFLAGS@INCLUDEFLAGS =LDFLAGS =prefix = @prefix@exec_prefix = @exec_prefix@# Installation locationsbindir = $(exec_prefix)/binlibdir = $(exec_prefix)/libincludedir = $(prefix)/includeinfodir = $(prefix)/info#### End of system configuration section. ####ARGP_VERSION = 0.1ARGP_H_FILES = \argp.hARGP_C_FILES = \argp-ba.c \argp-fmtstream.c \argp-fs-xinl.c \argp-help.c \argp-parse.c \argp-pv.c \argp-pvh.c \argp-xinl.c \argp.c \pin.c \strndup.cARGP_O_FILES = $(ARGP_C_FILES:.c=.o)ARGP_GETOPT_C_FILES = \getopt.c \getopt1.cARGP_GETOPT_O_FILES = $(ARGP_GETOPT_C_FILES:.c=.o)ARGP_CHECK_C_FILES = \argp-ex1.c \argp-ex2.c \argp-ex3.c \argp-ex4.c \argp-test.c \tester.cARGP_CHECK_O_FILES = $(ARGP_CHECK_C_FILES:.c=.o)ARGP_CHECK_PROGRAMS = $(ARGP_CHECK_C_FILES:.c=)DIST_FILES = \$(ARGP_C_FILES) \$(ARGP_H_FILES) \$(ARGP_GETOPT_C_FILES) \$(ARGP_CHECK_C_FILES) \ChangeLog \INSTALL \Makefile.in \README \configure \configure.in \install-sh \mkinstalldirs \getopt.h \argp1.h \argp-fmtstream.h \argp-namefrob.h# Rules# Pattern ruleALL_CPPFLAGS = $(CPPFLAGS) -I$(srcdir) $(INCLUDEFLAGS) $(DEFS)ALL_CFLAGS = $(CFLAGS).c.o: $(CC) -c $(ALL_CPPFLAGS) $(ALL_CFLAGS) -o $@ $<all: libargp.a# Compiling codelibargp.a: $(ARGP_O_FILES) @ARGP_GETOPT_O_FILES@ $(AR) rc $@ $^ $(RANLIB) $@# Compiling the MakefileMakefile: Makefile.in config.status $(SHELL) config.statusconfig.status: $(srcdir)/configure $(SHELL) $(srcdir)/configure --no-create$(srcdir)/configure: configure.in cd $(srcdir); autoconf# Installinginstalldirs: $(srcdir)/mkinstalldirs $(bindir) $(includedir) $(libdir)INSTALL_FILES = libargp.a argp.hinstall: $(INSTALL_FILES) installdirs rm -f $(libdir)/libargp.a cp libargp.a $(libdir) $(RANLIB) $(libdir)/libargp.a rm -f $(includedir)/argp.h cp argp.h $(includedir)# Compiling examples and test programs$(ARGP_CHECK_PROGRAMS): libargp.a $(CC) -I. $@.c -L. -largp -o $@checks: $(ARGP_CHECK_PROGRAMS)# Cleaningmostlyclean: rm -f core *~clean: mostlyclean rm -f *.o libargp.a *.info *.dvi testermaintainer-clean: clean rm -f configure config.log config.cache config.status# Making a distribution .tar.gz file# Copy all the dist files into the directory named by $(SNAP)snap: $(DIST_FILES) for file in $(DIST_FILES); do \ ln $$file $(SNAP)/$$file ; \ donedist: $(DIST_FILES) cvs rtag -F release-`tr . - $(ARGP_VERSION)` argp echo argp-$(ARGP_VERSION) > .fname rm -rf `cat .fname` mkdir `cat .fname` for file in $(DIST_FILES); do \ ln $$file `cat .fname`/$$file ; \ done tar -chvf `cat .fname`.tar `cat .fname` rm -f `cat .fname`.tar.gz gzip -9 `cat .fname`.tar rm -rf `cat .fname` .fnamesnapshot: $(DIST_FILES) echo argp-`date +%y%m%d` > .fname cvs rtag -F snapshot-`cat .fname` argp rm -rf `cat .fname` mkdir `cat .fname` for file in $(DIST_FILES); do \ ln $$file $(SNAP)/$$file ; \ done tar -chvf `cat .fname`.tar `cat .fname` rm -f `cat .fname`.tar.gz gzip -9 `cat .fname`.tar rm -rf `cat .fname` .fnamediff: $(DIST_FILES) @if [ ! $(OLD) ] ; then \ echo You must set OLD to the version number against which to diff ; \ exit -1 ; \ fi @if [ ! $(NEW) ] ; then \ echo You must set NEW to the version number with which to diff ; \ exit -1 ; \ fi gunzip -c argp-$(NEW).tar.gz | (cd /tmp ; tar -xf -) gunzip -c argp-$(OLD).tar.gz | (cd /tmp ; tar -xf -) rm -f argp-$(OLD)-$(NEW).diff -diff -u -r /tmp/argp-$(OLD) /tmp/argp-$(NEW) > argp-$(OLD)-$(NEW).diff rm -rf /tmp/argp-$(NEW) rm -rf /tmp/argp-$(OLD)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -