blob: 1f6d6ae43f92a991d82eac65eed9ba0d8a18402c (
plain) (
tree)
|
|
# utils/Makefile.in --- xscreensaver, Copyright © 1997-2021 Jamie Zawinski.
# the `../configure' script generates `jwxyz/Makefile' from this file.
# JWXYZ Is Not Xlib.
#
# But it's a bunch of function definitions that bear some resemblance to
# Xlib and that kinda sorta implement Xlib in terms of the native graphics
# substrate (Cocoa, OpenGL, GLES, Java).
@SET_MAKE@
.SUFFIXES:
.SUFFIXES: .c .o
srcdir = @srcdir@
VPATH = @srcdir@
prefix = @prefix@
datarootdir = @datarootdir@
CC = @CC@
CFLAGS = @CFLAGS@
DEFS = @DEFS@
DEPEND = @DEPEND@
DEPEND_FLAGS = @DEPEND_FLAGS@
DEPEND_DEFINES = @DEPEND_DEFINES@
SHELL = /bin/sh
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_DIRS = @INSTALL_DIRS@
X_CFLAGS = @X_CFLAGS@
INCLUDES_1 = -I$(srcdir) -I.. -I../utils
INCLUDES = $(INCLUDES_1) @INCLUDES@
SRCS = jwxyz-android.c jwxyz-cocoa.m jwxyz-common.c jwxyz-gl.c \
jwxyz-timers.c jwxyz-image.c jwxyz.m jwzgles.c
OBJS =
HDRS = jwxyz-android.h jwxyz-cocoa.h jwxyz-timers.h jwxyz.h \
jwxyzI.h jwzgles.h jwzglesI.h
EXTRAS = README Makefile.in
TARFILES = $(EXTRAS) $(SRCS) $(HDRS) $(LOGOS)
default: all
all: $(OBJS)
install: install-program install-man
uninstall: uninstall-program uninstall-man
install-strip:
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
install-program:
install-man:
uninstall-program:
uninstall-man:
clean:
-rm -f *.o a.out core
distclean: clean
-rm -f Makefile TAGS *~ "#"*
# Adds all current dependencies to Makefile
depend:
$(DEPEND) -s '# DO NOT DELETE: updated by make depend' \
$(DEPEND_FLAGS) -- \
$(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
$(SRCS)
# Adds some dependencies to Makefile.in -- not totally accurate, but pretty
# close. This excludes dependencies on files in /usr/include, etc. It tries
# to include only dependencies on files which are themselves a part of this
# package.
distdepend::
@echo updating dependencies in `pwd`/Makefile.in... ; \
$(DEPEND) -w 0 -f - \
-s '# DO NOT DELETE: updated by make distdepend' $(DEPEND_FLAGS) -- \
$(INCLUDES_1) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
$(SRCS) 2>/dev/null | \
sort -d | \
( \
awk '/^# .*Makefile.in ---/,/^# DO .*distdepend/' < Makefile.in ; \
sed -e '/^#.*/d' \
-e 's@ \./@ @g;s@ /[^ ]*@@g;/^.*:$$/d' \
-e 's@ \([^$$]\)@ $$(srcdir)/\1@g' \
-e 's@ $$(srcdir)/\(.*config.h\)@ \1@g' ; \
echo '' \
) > /tmp/distdepend.$$$$ && \
mv /tmp/distdepend.$$$$ Makefile.in
TAGS: tags
tags:
find $(srcdir) -name '*.[chly]' -print | xargs etags -a
list_tarfiles:
@find $(TARFILES) -type f -print | sort
# How we build object files in this directory.
.c.o:
$(CC) -c $(INCLUDES) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS) $<
##############################################################################
#
# DO NOT DELETE: updated by make distdepend
jwxyz-common.o: ../config.h
jwxyz-image.o: ../config.h
jwxyz-timers.o: ../config.h
jwzgles.o: ../config.h
|