?? makefile.in
字號(hào):
## sitecopy Makefile.# Requires GNU make## The package namePACKAGE = @PACKAGE@VERSION = @VERSION@# Target is the name of the executableTARGET = @TARGET@NAME = $(PACKAGE)-$(VERSION)# Locationsprefix = @prefix@exec_prefix = @exec_prefix@bindir = @bindir@man1dir = @mandir@/man1datadir = @datadir@/sitecopydocdir = $(prefix)/doc/sitecopyappdir = $(prefix)/share/gnome/apps/Internettop_srcdir = @top_srcdir@# Where does top_builddir come from?top_builddir = @top_srcdir@srcdir = @srcdir@LDFLAGS = @LDFLAGS@DEFS = @SDEFS@INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/lib @GNOME_INCLUDEDIR@CFLAGS = @CFLAGS@ $(DEFS) $(INCLUDES)LIBS = @INTLLIBS@ @LIBS@ @GNOME_LIBDIR@ @GNOMEUI_LIBS@CC = @CC@RANLIB = @RANLIB@AR = arINSTALL_PROGRAM = @INSTALL_PROGRAM@INSTALL_DATA = @INSTALL_DATA@INSTALL = @INSTALL@GHELPDIR = $(prefix)/share/gnome/help/xsitecopyXSC_HELP = $(GHELPDIR)/CXSC_DOCS = $(addprefix doc/, xsitecopy-1.html xsitecopy-4.html \ xsitecopy-7.html xsitecopy-2.html xsitecopy-5.html \ xsitecopy.html xsitecopy-3.html xsitecopy-6.html \ xsitecopy-8.html xsitecopy.sgml topic.dat )OBJECTS = @OBJECTS@# These two are only actually used for distcleanMAINOBJS = $(addprefix src/, testdav.o httpdav.o sites.o \ rcfile.o ftp.o socket.o console_fe.o common.o )GNOMEOBJS = $(addprefix gnome/, fe_gnome.o fe_gnome_common.o \ fe_gnome_creation.o fe_gtk_main.o \ fe_gtk_site_widgets.o fe_gtk_changes.o \ fe_gtk_site_ops.o fe_gtk_excludes.o \ fe_gtk_file_widgets.o fe_gnome_new_site.o mguru.o )ALLLIBOBJS = $(addprefix lib/, basename.o dirname.o fnmatch.o \ netrc.o getopt.o getopt1.o md5.o snprintf.o strcasecmp.o \ base64.o dates.o)# Linker targetsEXES = rfc1123 base64 md5test netrc uritest testdav strsplit $(TARGET)# The list of stuff which autoconf reckons we need to compile# since the native libc hasn't got it.LIBOBJS = $(addprefix lib/, @LIBOBJS@ )# All regeneratable object filesALLOBJECTS = $(MAINOBJS) $(GNOMEOBJS) $(ALLLIBOBJS) $(EXES)DATAFILES = doc/examplerc doc/changes.awkDOCS = README NEWS AUTHORS FAQ doc/update.sh.PHONY: all again clean distclean reminders install-common \ install-sitecopy install-xsitecopy uninstall-sitecopy \ uninstall-xsitecopy uninstall-commmon uninstall-dirs \ subdirs$(TARGET): $(OBJECTS) $(LIBOBJS) @NLSTARGS@ $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBOBJS) $(LIBS) @echo @echo "Compilation complete. Run 'make install' to install sitecopy." @echo.c.o: $(CC) $(CFLAGS) -o $@ -c $<subdirs: @make -C intl @make -C po# Various tester utils which can also be built.## DAV testertestdav: src/testdav.o src/httpdav.o src/httpauth.o src/socket.o src/common.o $(LIBOBJS) $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)# cmdline strsplit testerstrsplit: lib/strsplit.c $(CC) $(LDFLAGS) $(CFLAGS) -DSTRSPLIT_TEST -o $@ $^strpairs: lib/strsplit.c $(CC) $(LDFLAGS) $(CFLAGS) -DSTRPAIRS_TEST -o $@ $^# cmdline base64 encoderbase64: lib/base64.c $(CC) $(CFLAGS) -DBASE64_TEST -o $@ $^# cmdline MD5 encodermd5test: src/common.c $(LIBOBJS) $(CC) $(CFLAGS) -DMD5_TEST -o $@ $^# RFC1123 date/time testerrfc1123: lib/dates.c $(LIBOBJS) $(CC) $(CFLAGS) -DRFC1123_TEST -o $@ $^# netrc parser testernetrc: lib/netrc.c $(CC) $(CFLAGS) -DSTANDALONE -o $@ $^# URI {de|en}coderuritest: src/httpdav.c src/socket.o src/common.o $(LIBOBJS) $(CC) $(CFLAGS) -DURITEST -o $@ $^ $(LIBS)# Dependencies... could do with being auto-generatedsrc/console_fe.o: src/console_fe.c src/frontend.h src/sites.h src/common.h \ src/rcfile.h config.hsrc/socket.o: src/socket.c src/socket.h src/protocol.h src/common.hsrc/httpdav.o: src/httpdav.c src/httpdav.h src/socket.h src/protocol.h \ src/common.h config.h lib/strsplit.h lib/base64.h lib/dates.h \ src/httpauth.hsrc/ftp.o: src/ftp.c src/ftp.h src/protocol.h src/socket.h src/common.h \ config.hsrc/sites.o: src/sites.c src/sites.h src/protocol.h src/httpdav.h \ src/ftp.h src/frontend.h src/common.h config.hsrc/common.o: src/common.c src/common.h lib/md5.h config.hlib/base64.o: lib/base64.c lib/base64.hlib/dates.o: lib/dates.c lib/dates.hlib/md5.o: lib/md5.c lib/md5.h config.hlib/strsplit.o: lib/strsplit.c lib/strsplit.h config.hlib/netrc.o: lib/netrc.c lib/netrc.h config.hsrc/rcfile.o: src/rcfile.c src/rcfile.h src/sites.h src/socket.h \ lib/netrc.h src/common.h config.hlib/snprintf.o: lib/snprintf.c lib/snprintf.h config.h# Extra Gnome frontend depsgnome/fe_gnome.o: $(addprefix gnome/, fe_gnome.c red_file.xpm green_file.xpm Directory.xpm Directory2.xpm orange_file.xpm )gnome/fe_gnome_common.o: gnome/fe_gnome_common.c gnome/fe_gnome_common.hgnome/mguru.o: gnome/mguru.h gnome/mguru.c# The install goal is different for each front end, so# we have a separate goal for each and autoconf points the # main 'install' goal at the FE we're compiling for.install: $(TARGET) install-@TARGET@ @NLSINSTALL@uninstall: uninstall-@TARGET@install-nls: make -C po installinstall-common: $(TARGET) @echo "Creating directories..." $(INSTALL) -d $(bindir) $(datadir) $(docdir) @echo "Installing $(TARGET) executable..." $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET) @echo "Installing data files..." for f in $(DATAFILES); do \ $(INSTALL_DATA) $$f $(datadir)/`echo $$f | sed 's/^doc\///'`; \ done @echo "Installing documentation..." for f in $(DOCS); do \ $(INSTALL_DATA) $$f $(docdir)/`echo $$f | sed 's/^doc\///'`; \ doneinstall-sitecopy: install-common @echo "Installing man page..." $(INSTALL) -d $(man1dir) $(INSTALL_DATA) doc/sitecopy.1 $(man1dir)/sitecopy.1 @echo @echo "sitecopy installation finished." @echoinstall-xsitecopy: install-common @echo Installing additional GNOME requirements... @echo Creating directories... $(INSTALL) -d $(GHELPDIR) $(XSC_HELP) $(appdir) @echo Installing help files... for f in $(XSC_DOCS); do \ $(INSTALL_DATA) $$f $(XSC_HELP)/`echo $$f | sed 's/^doc\///'`; \ done @echo Adding desktop shortcut... $(INSTALL_DATA) gnome/xsitecopy.desktop $(appdir) @echo @echo "XSitecopy installation finished." @echouninstall: uninstall-@TARGET@uninstall-common: @echo "Removing files..." $(RM) $(datadir)/changes.awk $(bindir)/$(TARGET) $(man1dir)/sitecopy.1 for f in $(DOCS); do $(RM) $(docdir)/$$f; doneuninstall-sitecopy: uninstall-common @echo @echo "sitecopy has been uninstalled." @echo "You can run 'make uninstall-dirs' to remove any empty directories'" @echouninstall-xsitecopy: uninstall-common# joe: be safer than this# $(RM) -rf $(GHELPDIR) $(RM) -f $(appdir)/xsitecopy.desktop @echo @echo "XSitecopy has been uninstalled." @echo "You can run 'make uninstall-dirs' to remove any empty directories'" @echouninstall-dirs: @echo "Trying to clean directories if empty..." rmdir -p $(datadir) $(bindir) $(man1dir) $(docdir)clean: rm -f $(ALLOBJECTS)again: clean $(TARGET)distclean: clean /bin/rm -f config.h config.cache config.log config.status Makefile stamp-h core rm -f `find $(top_srcdir) \( -name '*.orig' -o -name '*.rej' \ -o -name '#*#' -o -name '*~' \) -print`
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -