毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> linux >> 正文

添加源文件后Makefile如何修改

更新时间:2016-4-11:  来源:毕业论文
添加源文件后Makefile如何修改
同时也变更了main函数到另一个.c文件,问如何修改?谢谢大神们的指导
makefile文件如下:
srcdir = .
top_srcdir = ..
pkgdatadir = $(datadir)/ipgrab
pkglibdir = $(libdir)/ipgrab
pkgincludedir = $(includedir)/ipgrab
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
bin_PROGRAMS = ipgrab$(EXEEXT)
subdir = src
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
    $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    $(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(bindir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
am_ipgrab_OBJECTS = ah.$(OBJEXT) arp.$(OBJEXT) cbcp.$(OBJEXT) \
    ccp.$(OBJEXT) chap.$(OBJEXT) datalink.$(OBJEXT) dhcp.$(OBJEXT) \
    display.$(OBJEXT) dns.$(OBJEXT) dynports.$(OBJEXT) \
    error.$(OBJEXT) esp.$(OBJEXT) ethernet.$(OBJEXT) \
    ethertypes.$(OBJEXT) file.$(OBJEXT) ftpctrl.$(OBJEXT) \
    getopt.$(OBJEXT) gre.$(OBJEXT) hexbuffer.$(OBJEXT) \
    http.$(OBJEXT) iana.$(OBJEXT) icmp.$(OBJEXT) icmpv6.$(OBJEXT) \
    igmp.$(OBJEXT) ip.$(OBJEXT) ip_protocols.$(OBJEXT) \
    ip_services.$(OBJEXT) ipcp.$(OBJEXT) ipgrab.$(OBJEXT) \
    ipv6.$(OBJEXT) ipx.$(OBJEXT) ipxrip.$(OBJEXT) isakmp.$(OBJEXT) \
    l2tp.$(OBJEXT) layers.$(OBJEXT) lcp.$(OBJEXT) llc.$(OBJEXT) \
    loopback.$(OBJEXT) mgcp.$(OBJEXT) mobileip.$(OBJEXT) \
    mppc.$(OBJEXT) netbios_ns.$(OBJEXT) nntp.$(OBJEXT) \
    ns_labels.$(OBJEXT) open_pcap.$(OBJEXT) ospf.$(OBJEXT) \
    packet_manip.$(OBJEXT) padding.$(OBJEXT) parse_cl.$(OBJEXT) \
    payload.$(OBJEXT) ppp.$(OBJEXT) pppoe.$(OBJEXT) pptp.$(OBJEXT) \
    radius.$(OBJEXT) radius_3gpp2.$(OBJEXT) raw.$(OBJEXT) \
    rip.$(OBJEXT) ripng.$(OBJEXT) rsvp.$(OBJEXT) rtcp.$(OBJEXT) \
    rtp.$(OBJEXT) sdp.$(OBJEXT) sip.$(OBJEXT) slip.$(OBJEXT) \
    slp.$(OBJEXT) snmp.$(OBJEXT) spx.$(OBJEXT) ssh.$(OBJEXT) \
    state.$(OBJEXT) stats.$(OBJEXT) strmap.$(OBJEXT) tcp.$(OBJEXT) \
    tftp.$(OBJEXT) udp.$(OBJEXT) utilities.$(OBJEXT)
ipgrab_OBJECTS = $(am_ipgrab_OBJECTS)
ipgrab_DEPENDENCIES =
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(ipgrab_SOURCES)
DIST_SOURCES = $(ipgrab_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/IPgrab/ipgrab-0.9.10/missing --run aclocal-1.9
AMDEP_FALSE = #
AMDEP_TRUE =
AMTAR = ${SHELL} /home/IPgrab/ipgrab-0.9.10/missing --run tar
AUTOCONF = ${SHELL} /home/IPgrab/ipgrab-0.9.10/missing --run autoconf
AUTOHEADER = ${SHELL} /home/IPgrab/ipgrab-0.9.10/missing --run autoheader
AUTOMAKE = ${SHELL} /home/IPgrab/ipgrab-0.9.10/missing --run automake-1.9
AWK = gawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g #-O2
CPP = gcc -E
CPPFLAGS =
CYGPATH_W = #echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
EXEEXT =
GREP = /bin/grep
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LDFLAGS =
LIBOBJS =
在ipgrab_SOURCE和Sam_ipgrab_OBJECTS后面增加新文件的名字,其他不变。
设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。