歡迎您光臨本站 註冊首頁

尋求幫助,如何在原項目中的Makefile中添加gtk庫

←手機掃碼閱讀     火星人 @ 2014-03-23 , reply:0

原來的代碼,是命令形式進行運行的,我現在要加圖形界面,用gtk編寫了一個界面,請問如何在原來的Makefile中把這句話加進去:`pkg-config --cflags --libs gtk+-2.0`
原Makefile的內容:# Makefile.in generated by automake 1.9.6 from Makefile.am.
# tests/Makefile. Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



srcdir = .
top_srcdir = ..
Flag = `pkg-config --cflags --libs gtk+-2.0`
pkgdatadir = $(datadir)/mediastreamer
pkglibdir = $(libdir)/mediastreamer
pkgincludedir = $(includedir)/mediastreamer
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 = :
build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu
target_triplet = i686-pc-linux-gnu
noinst_PROGRAMS = echo$(EXEEXT) ring$(EXEEXT) mtudiscover$(EXEEXT) \
$(am__EXEEXT_1)
am__append_1 = videodisplay
libexec_PROGRAMS = mediastream$(EXEEXT)
subdir = tests
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 = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/mediastreamer-config.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(libexecdir)"
libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
am__EXEEXT_1 = videodisplay$(EXEEXT)
PROGRAMS = $(libexec_PROGRAMS) $(noinst_PROGRAMS)
am_echo_OBJECTS = echo.$(OBJEXT)
echo_OBJECTS = $(am_echo_OBJECTS)
echo_LDADD = $(LDADD)
am__DEPENDENCIES_1 =
echo_DEPENDENCIES = $(top_builddir)/src/libmediastreamer.la \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1)
am_mediastream_OBJECTS = mediastream.$(OBJEXT)
mediastream_OBJECTS = $(am_mediastream_OBJECTS)
mediastream_LDADD = $(LDADD)
mediastream_DEPENDENCIES = $(top_builddir)/src/libmediastreamer.la \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1)
am_mtudiscover_OBJECTS = mtudiscover.$(OBJEXT)
mtudiscover_OBJECTS = $(am_mtudiscover_OBJECTS)
mtudiscover_LDADD = $(LDADD)
mtudiscover_DEPENDENCIES = $(top_builddir)/src/libmediastreamer.la \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1)
am_ring_OBJECTS = ring.$(OBJEXT)
ring_OBJECTS = $(am_ring_OBJECTS)
ring_LDADD = $(LDADD)
ring_DEPENDENCIES = $(top_builddir)/src/libmediastreamer.la \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1)
am_videodisplay_OBJECTS = videodisplay.$(OBJEXT)
videodisplay_OBJECTS = $(am_videodisplay_OBJECTS)
videodisplay_LDADD = $(LDADD)
videodisplay_DEPENDENCIES = $(top_builddir)/src/libmediastreamer.la \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1)
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)
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o [email protected] #`pkg-config --cflags --libs gtk+-2.0`
SOURCES = $(echo_SOURCES) $(mediastream_SOURCES) \
$(mtudiscover_SOURCES) $(ring_SOURCES) $(videodisplay_SOURCES)
DIST_SOURCES = $(echo_SOURCES) $(mediastream_SOURCES) \
$(mtudiscover_SOURCES) $(ring_SOURCES) $(videodisplay_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /root/linphone-3.0.0/missing --run aclocal-1.9
ALLOCA =
ALSA_LIBS = -lasound
AMDEP_FALSE = #
AMDEP_TRUE =
AMTAR = ${SHELL} /root/linphone-3.0.0/missing --run tar
AR = ar
ARCH = i386
ARTS_CFLAGS = -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
ARTS_LIBS = -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0
AUTOCONF = ${SHELL} /root/linphone-3.0.0/missing --run autoconf
AUTOHEADER = ${SHELL} /root/linphone-3.0.0/missing --run autoheader
AUTOMAKE = ${SHELL} /root/linphone-3.0.0/missing --run automake-1.9
AWK = gawk
BUILD_ALSA_FALSE = #
BUILD_ALSA_TRUE =
BUILD_ARTS_FALSE = #
BUILD_ARTS_TRUE =
BUILD_GSM_FALSE =
BUILD_GSM_TRUE = #
BUILD_MACAQSND_FALSE =
BUILD_MACAQSND_TRUE = #
BUILD_MACOSX_FALSE =
BUILD_MACOSX_TRUE = #
BUILD_MACSND_FALSE =
BUILD_MACSND_TRUE = #
BUILD_OSS_FALSE = #
BUILD_OSS_TRUE =
BUILD_PORTAUDIO_FALSE =
BUILD_PORTAUDIO_TRUE = #
BUILD_RESAMPLE_FALSE =
BUILD_RESAMPLE_TRUE = #
BUILD_SPEEX_FALSE = #
BUILD_SPEEX_TRUE =
BUILD_THEORA_FALSE = #
BUILD_THEORA_TRUE =
BUILD_VIDEO_FALSE = #
BUILD_VIDEO_TRUE =
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -DORTP_INET6 -DINET6 -Wall -O2 -g -pthread -D_REENTRANT
CPP = gcc -E
CPPFLAGS =
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -g -O2
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DSYMUTIL =
ECHO = echo
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
EPM = false
EPMINSTALL = false
EPM_PKG_EXT = rpm
EXEEXT =
F77 =
FFLAGS =
FFMPEG_CFLAGS =
FFMPEG_LIBS = -lavcodec
GREP = /bin/grep
GSM_CFLAGS =
GSM_LIBS =
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
JACK_CFLAGS =
JACK_LIBS =
LDFLAGS =
LIBMEDIASTREAMER_SO_VERSION = 0:1:0
LIBOBJS =
LIBS = -pthread -lpthread -lrt -lvorbisenc -ldl -lavutil -lz
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LICENSE = GPL
LN_S = ln -s
LTLIBOBJS =
MAKEINFO = ${SHELL} /root/linphone-3.0.0/missing --run makeinfo
MEDIASTREAMER_VERSION = 2.2.2
MKEPMLIST = false
MSPLUGINS_CFLAGS = -pthread
MSPLUGINS_LIBS = -shared -pthread
NMEDIT =
OBJEXT = o
ORTP_CFLAGS = -I$(top_srcdir)/../oRTP/include
ORTP_LIBS = $(top_builddir)/../oRTP/src/libortp.la
PACKAGE = mediastreamer
PACKAGER = anonymous
PACKAGE_BUGREPORT =
PACKAGE_DATA_DIR = NONE/share
PACKAGE_NAME = mediastreamer
PACKAGE_PLUGINS_DIR = NONE/lib/mediastreamer/plugins
PACKAGE_STRING = mediastreamer 2.2.2
PACKAGE_TARNAME = mediastreamer
PACKAGE_VERSION = 2.2.2
PATH_SEPARATOR = :
PKG_CONFIG = /usr/bin/pkg-config
PORTAUDIO_LIBS =
RANLIB = ranlib
RELEASE = 1
SAMPLERATE_CFLAGS =
SAMPLERATE_LIBS =
SDL_CFLAGS =
SDL_LIBS = -lSDL
SED = /bin/sed
SET_MAKE =
SHELL = /bin/sh
SPEEXDSP_CFLAGS =
SPEEXDSP_LIBS = -lspeexdsp -lm
SPEEX_CFLAGS =
SPEEX_LIBS = -lspeex -lm -lspeexdsp -lm
STRIP = strip
SUMMARY = A mediastreaming library.
SWSCALE_CFLAGS =
SWSCALE_LIBS = -lswscale
SYS_GROUP = root
SYS_USER = root
THEORA_CFLAGS =
THEORA_LIBS = -ltheora -logg
VENDOR = Linphone
VERSION = 2.2.2
VIDEO_CFLAGS = -DVIDEO_ENABLED
VIDEO_LIBS = -lavcodec -lswscale -lSDL -lX11
WITH_EPM_FALSE =
WITH_EPM_TRUE = #
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_F77 =
am__fastdepCC_FALSE = #
am__fastdepCC_TRUE =
am__fastdepCXX_FALSE = #
am__fastdepCXX_TRUE =
am__include = include
am__leading_dot = .
am__quote =
am__tar = tar --format=ustar -chf - "$$tardir"
am__untar = tar -xf -
bindir = ${exec_prefix}/bin
build = i686-pc-linux-gnu
build_alias =
build_cpu = i686
build_os = linux-gnu
build_vendor = pc
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = i686-pc-linux-gnu
host_alias =
host_cpu = i686
host_os = linux-gnu
host_vendor = pc
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = /root/linphone-3.0.0/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = mkdir -p --
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr/local
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
sysconfdir = ${prefix}/etc
target = i686-pc-linux-gnu
target_alias =
target_cpu = i686
target_os = linux-gnu
target_vendor = pc
echo_SOURCES = echo.c
ring_SOURCES = ring.c
videodisplay_SOURCES = videodisplay.c
mtudiscover_SOURCES = mtudiscover.c
mediastream_SOURCES = mediastream.c

#libquickstream.la would be enough, but to workaround a bug of libtool when
#cross compiling we need to add all the dependencies.
LDADD = $(top_builddir)/src/libmediastreamer.la \
$(ORTP_LIBS) \
$(ALSA_LIBS) \
$(ARTS_LIBS) \
$(SPEEX_LIBS) \
$(GSM_LIBS) \
$(THEORA_LIBS) \
$(FFMPEG_LIBS)

INCLUDES = -I$(top_srcdir)/include/
AM_CFLAGS = -I$(top_srcdir) $(ORTP_CFLAGS) $(STRICT_OPTIONS) $(VIDEO_CFLAGS)
AM_LDFLAGS = -rdynamic
all: all-am

.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu tests/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/[email protected] $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/[email protected] $(am__depfiles_maybe);; \
esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
install-libexecPROGRAMS: $(libexec_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)"
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
if test -f $$p \
|| test -f $$p1 \
; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
else :; fi; \
done

uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
done

clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done

clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
echo$(EXEEXT): $(echo_OBJECTS) $(echo_DEPENDENCIES)
@rm -f echo$(EXEEXT)
$(LINK) $(echo_LDFLAGS) $(echo_OBJECTS) $(echo_LDADD) $(LIBS)
mediastream$(EXEEXT): $(mediastream_OBJECTS) $(mediastream_DEPENDENCIES)
@rm -f mediastream$(EXEEXT)
$(LINK) $(mediastream_LDFLAGS) $(mediastream_OBJECTS) $(mediastream_LDADD) $(LIBS)
mtudiscover$(EXEEXT): $(mtudiscover_OBJECTS) $(mtudiscover_DEPENDENCIES)
@rm -f mtudiscover$(EXEEXT)
$(LINK) $(mtudiscover_LDFLAGS) $(mtudiscover_OBJECTS) $(mtudiscover_LDADD) $(LIBS)
ring$(EXEEXT): $(ring_OBJECTS) $(ring_DEPENDENCIES)
@rm -f ring$(EXEEXT)
$(LINK) $(ring_LDFLAGS) $(ring_OBJECTS) $(ring_LDADD) $(LIBS)
videodisplay$(EXEEXT): $(videodisplay_OBJECTS) $(videodisplay_DEPENDENCIES)
@rm -f videodisplay$(EXEEXT)
$(LINK) $(videodisplay_LDFLAGS) $(videodisplay_OBJECTS) $(videodisplay_LDADD) $(LIBS)

mostlyclean-compile:
-rm -f *.$(OBJEXT)

distclean-compile:
-rm -f *.tab.c

include ./$(DEPDIR)/echo.Po
include ./$(DEPDIR)/mediastream.Po
include ./$(DEPDIR)/mtudiscover.Po
include ./$(DEPDIR)/ring.Po
include ./$(DEPDIR)/videodisplay.Po

.c.o:
if $(COMPILE) -MT [email protected] -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o [email protected] $< ; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
# source='$<' object='[email protected]' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c $<

.c.obj:
if $(COMPILE) -MT [email protected] -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o [email protected] `$(CYGPATH_W) '$<'`; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
# source='$<' object='[email protected]' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c `$(CYGPATH_W) '$<'`

.c.lo:
if $(LTCOMPILE) -MT [email protected] -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o [email protected] $< ; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
# source='$<' object='[email protected]' libtool=yes \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(LTCOMPILE) -c -o [email protected] $<

mostlyclean-libtool:
-rm -f *.lo

clean-libtool:
-rm -rf .libs _libs

distclean-libtool:
-rm -f libtool
uninstall-info-am:

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS

TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique; \
fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique

GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS)
installdirs:
for dir in "$(DESTDIR)$(libexecdir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
clean-noinstPROGRAMS mostlyclean-am

distclean: distclean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-libtool distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

info: info-am

info-am:

install-data-am:

install-exec-am: install-libexecPROGRAMS

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS

.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
clean-libexecPROGRAMS clean-libtool clean-noinstPROGRAMS ctags \
distclean distclean-compile distclean-generic \
distclean-libtool distclean-tags distdir dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-exec install-exec-am install-info \
install-info-am install-libexecPROGRAMS install-man \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
pdf pdf-am ps ps-am tags uninstall uninstall-am \
uninstall-info-am uninstall-libexecPROGRAMS

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:


請大家幫小弟看看 謝謝

[火星人 ] 尋求幫助,如何在原項目中的Makefile中添加gtk庫已經有710次圍觀

http://coctec.com/docs/linux/show-post-109366.html