| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
SHELL = /bin/sh |
|---|
| 15 |
|
|---|
| 16 |
srcdir = . |
|---|
| 17 |
top_srcdir = .. |
|---|
| 18 |
|
|---|
| 19 |
prefix = /usr/local |
|---|
| 20 |
exec_prefix = ${prefix} |
|---|
| 21 |
|
|---|
| 22 |
bindir = ${exec_prefix}/bin |
|---|
| 23 |
sbindir = ${exec_prefix}/sbin |
|---|
| 24 |
libexecdir = ${exec_prefix}/libexec |
|---|
| 25 |
datadir = ${prefix}/share |
|---|
| 26 |
sysconfdir = ${prefix}/etc |
|---|
| 27 |
sharedstatedir = ${prefix}/com |
|---|
| 28 |
localstatedir = ${prefix}/var |
|---|
| 29 |
libdir = ${exec_prefix}/lib |
|---|
| 30 |
infodir = ${prefix}/info |
|---|
| 31 |
mandir = ${prefix}/man |
|---|
| 32 |
includedir = ${prefix}/include |
|---|
| 33 |
oldincludedir = /usr/include |
|---|
| 34 |
|
|---|
| 35 |
DESTDIR = |
|---|
| 36 |
|
|---|
| 37 |
pkgdatadir = $(datadir)/gtkxrandr |
|---|
| 38 |
pkglibdir = $(libdir)/gtkxrandr |
|---|
| 39 |
pkgincludedir = $(includedir)/gtkxrandr |
|---|
| 40 |
|
|---|
| 41 |
top_builddir = .. |
|---|
| 42 |
|
|---|
| 43 |
ACLOCAL = aclocal-1.4 |
|---|
| 44 |
AUTOCONF = autoconf |
|---|
| 45 |
AUTOMAKE = automake-1.4 |
|---|
| 46 |
AUTOHEADER = autoheader |
|---|
| 47 |
|
|---|
| 48 |
INSTALL = /usr/bin/install -c |
|---|
| 49 |
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) |
|---|
| 50 |
INSTALL_DATA = ${INSTALL} -m 644 |
|---|
| 51 |
INSTALL_SCRIPT = ${INSTALL} |
|---|
| 52 |
transform = s,x,x, |
|---|
| 53 |
|
|---|
| 54 |
NORMAL_INSTALL = : |
|---|
| 55 |
PRE_INSTALL = : |
|---|
| 56 |
POST_INSTALL = : |
|---|
| 57 |
NORMAL_UNINSTALL = : |
|---|
| 58 |
PRE_UNINSTALL = : |
|---|
| 59 |
POST_UNINSTALL = : |
|---|
| 60 |
CATALOGS = |
|---|
| 61 |
CATOBJEXT = .gmo |
|---|
| 62 |
CC = gcc |
|---|
| 63 |
DATADIRNAME = share |
|---|
| 64 |
GETTEXT_PACKAGE = gtkxrandr |
|---|
| 65 |
GMOFILES = |
|---|
| 66 |
GMSGFMT = /usr/bin/msgfmt |
|---|
| 67 |
INSTOBJEXT = .mo |
|---|
| 68 |
INTLLIBS = |
|---|
| 69 |
MAINT = |
|---|
| 70 |
MAKEINFO = makeinfo |
|---|
| 71 |
MKINSTALLDIRS = ./mkinstalldirs |
|---|
| 72 |
PACKAGE = gtkxrandr |
|---|
| 73 |
PACKAGE_CFLAGS = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include |
|---|
| 74 |
PACKAGE_LIBS = -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 |
|---|
| 75 |
PKG_CONFIG = /usr/bin/pkg-config |
|---|
| 76 |
POFILES = |
|---|
| 77 |
POSUB = po |
|---|
| 78 |
PO_IN_DATADIR_FALSE = |
|---|
| 79 |
PO_IN_DATADIR_TRUE = |
|---|
| 80 |
USE_NLS = yes |
|---|
| 81 |
VERSION = 0.1 |
|---|
| 82 |
|
|---|
| 83 |
INCLUDES = -DPACKAGE_DATA_DIR=\""$(datadir)"\" -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include |
|---|
| 84 |
|
|---|
| 85 |
|
|---|
| 86 |
bin_PROGRAMS = gtkxrandr |
|---|
| 87 |
|
|---|
| 88 |
gtkxrandr_SOURCES = main.c support.c support.h interface.c interface.h callbacks.c callbacks.h |
|---|
| 89 |
|
|---|
| 90 |
|
|---|
| 91 |
gtkxrandr_LDADD = -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 $(INTLLIBS) |
|---|
| 92 |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
|---|
| 93 |
CONFIG_HEADER = ../config.h |
|---|
| 94 |
CONFIG_CLEAN_FILES = |
|---|
| 95 |
PROGRAMS = $(bin_PROGRAMS) |
|---|
| 96 |
|
|---|
| 97 |
|
|---|
| 98 |
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. |
|---|
| 99 |
CPPFLAGS = |
|---|
| 100 |
LDFLAGS = |
|---|
| 101 |
LIBS = |
|---|
| 102 |
gtkxrandr_OBJECTS = main.o support.o interface.o callbacks.o |
|---|
| 103 |
gtkxrandr_DEPENDENCIES = |
|---|
| 104 |
gtkxrandr_LDFLAGS = |
|---|
| 105 |
CFLAGS = -g -O2 |
|---|
| 106 |
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|---|
| 107 |
CCLD = $(CC) |
|---|
| 108 |
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
|---|
| 109 |
DIST_COMMON = Makefile.am Makefile.in |
|---|
| 110 |
|
|---|
| 111 |
|
|---|
| 112 |
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
|---|
| 113 |
|
|---|
| 114 |
TAR = tar |
|---|
| 115 |
GZIP_ENV = --best |
|---|
| 116 |
DEP_FILES = .deps/callbacks.P .deps/interface.P .deps/main.P \ |
|---|
| 117 |
.deps/support.P |
|---|
| 118 |
SOURCES = $(gtkxrandr_SOURCES) |
|---|
| 119 |
OBJECTS = $(gtkxrandr_OBJECTS) |
|---|
| 120 |
|
|---|
| 121 |
all: all-redirect |
|---|
| 122 |
.SUFFIXES: |
|---|
| 123 |
.SUFFIXES: .S .c .o .s |
|---|
| 124 |
$(srcdir)/Makefile.in: |
|---|
| 125 |
cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile |
|---|
| 126 |
|
|---|
| 127 |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
|---|
| 128 |
cd $(top_builddir) \ |
|---|
| 129 |
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
|---|
| 130 |
|
|---|
| 131 |
|
|---|
| 132 |
mostlyclean-binPROGRAMS: |
|---|
| 133 |
|
|---|
| 134 |
clean-binPROGRAMS: |
|---|
| 135 |
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
|---|
| 136 |
|
|---|
| 137 |
distclean-binPROGRAMS: |
|---|
| 138 |
|
|---|
| 139 |
maintainer-clean-binPROGRAMS: |
|---|
| 140 |
|
|---|
| 141 |
install-binPROGRAMS: $(bin_PROGRAMS) |
|---|
| 142 |
@$(NORMAL_INSTALL) |
|---|
| 143 |
$(mkinstalldirs) $(DESTDIR)$(bindir) |
|---|
| 144 |
@list='$(bin_PROGRAMS)'; for p in $$list; do \ |
|---|
| 145 |
if test -f $$p; then \ |
|---|
| 146 |
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ |
|---|
| 147 |
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
|---|
| 148 |
else :; fi; \ |
|---|
| 149 |
done |
|---|
| 150 |
|
|---|
| 151 |
uninstall-binPROGRAMS: |
|---|
| 152 |
@$(NORMAL_UNINSTALL) |
|---|
| 153 |
list='$(bin_PROGRAMS)'; for p in $$list; do \ |
|---|
| 154 |
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
|---|
| 155 |
done |
|---|
| 156 |
|
|---|
| 157 |
.s.o: |
|---|
| 158 |
$(COMPILE) -c $< |
|---|
| 159 |
|
|---|
| 160 |
.S.o: |
|---|
| 161 |
$(COMPILE) -c $< |
|---|
| 162 |
|
|---|
| 163 |
mostlyclean-compile: |
|---|
| 164 |
-rm -f *.o core *.core |
|---|
| 165 |
|
|---|
| 166 |
clean-compile: |
|---|
| 167 |
|
|---|
| 168 |
distclean-compile: |
|---|
| 169 |
-rm -f *.tab.c |
|---|
| 170 |
|
|---|
| 171 |
maintainer-clean-compile: |
|---|
| 172 |
|
|---|
| 173 |
gtkxrandr: $(gtkxrandr_OBJECTS) $(gtkxrandr_DEPENDENCIES) |
|---|
| 174 |
@rm -f gtkxrandr |
|---|
| 175 |
$(LINK) $(gtkxrandr_LDFLAGS) $(gtkxrandr_OBJECTS) $(gtkxrandr_LDADD) $(LIBS) |
|---|
| 176 |
|
|---|
| 177 |
tags: TAGS |
|---|
| 178 |
|
|---|
| 179 |
ID: $(HEADERS) $(SOURCES) $(LISP) |
|---|
| 180 |
list='$(SOURCES) $(HEADERS)'; \ |
|---|
| 181 |
unique=`for i in $$list; do echo $$i; done | \ |
|---|
| 182 |
awk ' { files[$$0] = 1; } \ |
|---|
| 183 |
END { for (i in files) print i; }'`; \ |
|---|
| 184 |
here=`pwd` && cd $(srcdir) \ |
|---|
| 185 |
&& mkid -f$$here/ID $$unique $(LISP) |
|---|
| 186 |
|
|---|
| 187 |
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) |
|---|
| 188 |
tags=; \ |
|---|
| 189 |
here=`pwd`; \ |
|---|
| 190 |
list='$(SOURCES) $(HEADERS)'; \ |
|---|
| 191 |
unique=`for i in $$list; do echo $$i; done | \ |
|---|
| 192 |
awk ' { files[$$0] = 1; } \ |
|---|
| 193 |
END { for (i in files) print i; }'`; \ |
|---|
| 194 |
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
|---|
| 195 |
|| (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) |
|---|
| 196 |
|
|---|
| 197 |
mostlyclean-tags: |
|---|
| 198 |
|
|---|
| 199 |
clean-tags: |
|---|
| 200 |
|
|---|
| 201 |
distclean-tags: |
|---|
| 202 |
-rm -f TAGS ID |
|---|
| 203 |
|
|---|
| 204 |
maintainer-clean-tags: |
|---|
| 205 |
|
|---|
| 206 |
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
|---|
| 207 |
|
|---|
| 208 |
subdir = src |
|---|
| 209 |
|
|---|
| 210 |
distdir: $(DISTFILES) |
|---|
| 211 |
here=`cd $(top_builddir) && pwd`; \ |
|---|
| 212 |
top_distdir=`cd $(top_distdir) && pwd`; \ |
|---|
| 213 |
distdir=`cd $(distdir) && pwd`; \ |
|---|
| 214 |
cd $(top_srcdir) \ |
|---|
| 215 |
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile |
|---|
| 216 |
@for file in $(DISTFILES); do \ |
|---|
| 217 |
d=$(srcdir); \ |
|---|
| 218 |
if test -d $$d/$$file; then \ |
|---|
| 219 |
cp -pr $$d/$$file $(distdir)/$$file; \ |
|---|
| 220 |
else \ |
|---|
| 221 |
test -f $(distdir)/$$file \ |
|---|
| 222 |
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
|---|
| 223 |
|| cp -p $$d/$$file $(distdir)/$$file || :; \ |
|---|
| 224 |
fi; \ |
|---|
| 225 |
done |
|---|
| 226 |
|
|---|
| 227 |
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
|---|
| 228 |
|
|---|
| 229 |
-include $(DEP_FILES) |
|---|
| 230 |
|
|---|
| 231 |
mostlyclean-depend: |
|---|
| 232 |
|
|---|
| 233 |
clean-depend: |
|---|
| 234 |
|
|---|
| 235 |
distclean-depend: |
|---|
| 236 |
-rm -rf .deps |
|---|
| 237 |
|
|---|
| 238 |
maintainer-clean-depend: |
|---|
| 239 |
|
|---|
| 240 |
%.o: %.c |
|---|
| 241 |
@echo '$(COMPILE) -c $<'; \ |
|---|
| 242 |
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
|---|
| 243 |
@-cp .deps/$(*F).pp .deps/$(*F).P; \ |
|---|
| 244 |
tr ' ' '\012' < .deps/$(*F).pp \ |
|---|
| 245 |
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ |
|---|
| 246 |
>> .deps/$(*F).P; \ |
|---|
| 247 |
rm .deps/$(*F).pp |
|---|
| 248 |
|
|---|
| 249 |
%.lo: %.c |
|---|
| 250 |
@echo '$(LTCOMPILE) -c $<'; \ |
|---|
| 251 |
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
|---|
| 252 |
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ |
|---|
| 253 |
< .deps/$(*F).pp > .deps/$(*F).P; \ |
|---|
| 254 |
tr ' ' '\012' < .deps/$(*F).pp \ |
|---|
| 255 |
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ |
|---|
| 256 |
>> .deps/$(*F).P; \ |
|---|
| 257 |
rm -f .deps/$(*F).pp |
|---|
| 258 |
info-am: |
|---|
| 259 |
info: info-am |
|---|
| 260 |
dvi-am: |
|---|
| 261 |
dvi: dvi-am |
|---|
| 262 |
check-am: all-am |
|---|
| 263 |
check: check-am |
|---|
| 264 |
installcheck-am: |
|---|
| 265 |
installcheck: installcheck-am |
|---|
| 266 |
install-exec-am: install-binPROGRAMS |
|---|
| 267 |
install-exec: install-exec-am |
|---|
| 268 |
|
|---|
| 269 |
install-data-am: |
|---|
| 270 |
install-data: install-data-am |
|---|
| 271 |
|
|---|
| 272 |
install-am: all-am |
|---|
| 273 |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|---|
| 274 |
install: install-am |
|---|
| 275 |
uninstall-am: uninstall-binPROGRAMS |
|---|
| 276 |
uninstall: uninstall-am |
|---|
| 277 |
all-am: Makefile $(PROGRAMS) |
|---|
| 278 |
all-redirect: all-am |
|---|
| 279 |
install-strip: |
|---|
| 280 |
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
|---|
| 281 |
installdirs: |
|---|
| 282 |
$(mkinstalldirs) $(DESTDIR)$(bindir) |
|---|
| 283 |
|
|---|
| 284 |
|
|---|
| 285 |
mostlyclean-generic: |
|---|
| 286 |
|
|---|
| 287 |
clean-generic: |
|---|
| 288 |
|
|---|
| 289 |
distclean-generic: |
|---|
| 290 |
-rm -f Makefile $(CONFIG_CLEAN_FILES) |
|---|
| 291 |
-rm -f config.cache config.log stamp-h stamp-h[0-9]* |
|---|
| 292 |
|
|---|
| 293 |
maintainer-clean-generic: |
|---|
| 294 |
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ |
|---|
| 295 |
mostlyclean-tags mostlyclean-depend mostlyclean-generic |
|---|
| 296 |
|
|---|
| 297 |
mostlyclean: mostlyclean-am |
|---|
| 298 |
|
|---|
| 299 |
clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ |
|---|
| 300 |
clean-generic mostlyclean-am |
|---|
| 301 |
|
|---|
| 302 |
clean: clean-am |
|---|
| 303 |
|
|---|
| 304 |
distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ |
|---|
| 305 |
distclean-depend distclean-generic clean-am |
|---|
| 306 |
|
|---|
| 307 |
distclean: distclean-am |
|---|
| 308 |
|
|---|
| 309 |
maintainer-clean-am: maintainer-clean-binPROGRAMS \ |
|---|
| 310 |
maintainer-clean-compile maintainer-clean-tags \ |
|---|
| 311 |
maintainer-clean-depend maintainer-clean-generic \ |
|---|
| 312 |
distclean-am |
|---|
| 313 |
@echo "This command is intended for maintainers to use;" |
|---|
| 314 |
@echo "it deletes files that may require special tools to rebuild." |
|---|
| 315 |
|
|---|
| 316 |
maintainer-clean: maintainer-clean-am |
|---|
| 317 |
|
|---|
| 318 |
.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ |
|---|
| 319 |
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ |
|---|
| 320 |
mostlyclean-compile distclean-compile clean-compile \ |
|---|
| 321 |
maintainer-clean-compile tags mostlyclean-tags distclean-tags \ |
|---|
| 322 |
clean-tags maintainer-clean-tags distdir mostlyclean-depend \ |
|---|
| 323 |
distclean-depend clean-depend maintainer-clean-depend info-am info \ |
|---|
| 324 |
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ |
|---|
| 325 |
install-exec install-data-am install-data install-am install \ |
|---|
| 326 |
uninstall-am uninstall all-redirect all-am all installdirs \ |
|---|
| 327 |
mostlyclean-generic distclean-generic clean-generic \ |
|---|
| 328 |
maintainer-clean-generic clean mostlyclean distclean maintainer-clean |
|---|
| 329 |
|
|---|
| 330 |
|
|---|
| 331 |
|
|---|
| 332 |
|
|---|
| 333 |
.NOEXPORT: |
|---|