summaryrefslogblamecommitdiffstats
path: root/jwxyz/Makefile.in
blob: 0ba48a6cba58a0f4ff0186fa97653087e8fab0d8 (plain) (tree)












































































































































                                                                              
# utils/Makefile.in --- xscreensaver, Copyright (c) 1997-2010 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

echo_tarfiles:
	@echo $(TARFILES)


# How we build object files in this directory.
.c.o:
	$(CC) -c $(INCLUDES) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS) $<


# Rules for generating the VMS makefiles on Unix, so that it doesn't have to
# be done by hand...
#
VMS_AXP_COMPILE=$$ CC/DECC/PREFIX=ALL/DEFINE=(VMS,HAVE_CONFIG_H)/INCL=([],[-])

compile_axp.com: Makefile.in
	@echo generating $@ from $<...  ;				    \
	( ( for c in $(SRCS) vms-*.c ; do				    \
	      c=`echo $$c | tr a-z A-Z` ;				    \
	      echo "$(VMS_AXP_COMPILE) $$c" ;				    \
            done ;							    \
	  ) | sort -d ;							    \
          echo '$$ lib/cre utils.olb_axp' ; 				    \
	  echo '$$ lib utils.olb_axp *.obj' ; 				    \
	  echo '$$! delete/noconf *.obj;' ; 				    \
        ) > $@

compile_decc.com: compile_axp.com
	@echo generating $@ from $<...  ;				    \
	sed 's/axp/decc/g' < $< > $@

distdepend:: compile_axp.com compile_decc.com


##############################################################################
#
# 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