Browse files

Removed unused Makefiles and prologue.txt

  • Loading branch information...
1 parent 12a0a4d commit 7e1080e9c65d516c1906ffb780ff0b0b85dc25da Sven Panne committed May 2, 2009
View
9 Makefile.inc
@@ -1,9 +0,0 @@
-# Hey Emacs, this is a -*- makefile -*- !
-
-ifeq "" "${MKDIR}"
-MKDIR:=$(shell pwd)
-#MKDIR:=$(PWD)
-else
-MKDIR:=$(patsubst %/$(notdir ${MKDIR}),%, ${MKDIR})
-endif
-include ${MKDIR}/Makefile.inc
View
161 Makefile.nhc98
@@ -1,161 +0,0 @@
-# Hey Emacs, this is a -*- makefile -*- !
-
-THISPKG = GLUT
-SEARCH = -package base -package OpenGL
-EXTRA_H_FLAGS = -DCALLCONV=ccall
-SRCS = \
- Graphics/UI/GLUT.hs \
- Graphics/UI/GLUT/Begin.hs \
- Graphics/UI/GLUT/Callbacks.hs \
- Graphics/UI/GLUT/Callbacks/Global.hs \
- Graphics/UI/GLUT/Callbacks/Registration.hs \
- Graphics/UI/GLUT/Callbacks/Window.hs \
- Graphics/UI/GLUT/Colormap.hs \
- Graphics/UI/GLUT/Constants.hs \
- Graphics/UI/GLUT/Debugging.hs \
- Graphics/UI/GLUT/DeviceControl.hs \
- Graphics/UI/GLUT/Fonts.hs \
- Graphics/UI/GLUT/GameMode.hs \
- Graphics/UI/GLUT/Initialization.hs \
- Graphics/UI/GLUT/Menu.hs \
- Graphics/UI/GLUT/Objects.hs \
- Graphics/UI/GLUT/Overlay.hs \
- Graphics/UI/GLUT/QueryUtils.hs \
- Graphics/UI/GLUT/State.hs \
- Graphics/UI/GLUT/Types.hs \
- Graphics/UI/GLUT/Window.hs
-
-# Here are the main rules.
-include ../Makefile.common
-
-# Here are the dependencies.
-$(OBJDIR)/Graphics/UI/GLUT.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Begin.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Callbacks.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Colormap.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Debugging.$O \
- $(OBJDIR)/Graphics/UI/GLUT/DeviceControl.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Fonts.$O \
- $(OBJDIR)/Graphics/UI/GLUT/GameMode.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Initialization.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Menu.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Objects.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Overlay.$O \
- $(OBJDIR)/Graphics/UI/GLUT/State.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Window.$O
-$(OBJDIR)/Graphics/UI/GLUT/Callbacks.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Callbacks/Global.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Callbacks/Window.$O
-$(OBJDIR)/Graphics/UI/GLUT/Callbacks/Global.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Callbacks/Registration.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O
-$(OBJDIR)/Graphics/UI/GLUT/Callbacks/Registration.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Window.$O
-$(OBJDIR)/Graphics/UI/GLUT/Callbacks/Window.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Callbacks/Registration.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O \
- $(OBJDIR)/Graphics/UI/GLUT/State.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Types.$O
-$(OBJDIR)/Graphics/UI/GLUT/Colormap.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O \
- $(OBJDIR)/Graphics/UI/GLUT/QueryUtils.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Window.$O
-$(OBJDIR)/Graphics/UI/GLUT/DeviceControl.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O \
- $(OBJDIR)/Graphics/UI/GLUT/QueryUtils.$O
-$(OBJDIR)/Graphics/UI/GLUT/GameMode.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Initialization.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Types.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Window.$O
-$(OBJDIR)/Graphics/UI/GLUT/Initialization.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O \
- $(OBJDIR)/Graphics/UI/GLUT/QueryUtils.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Types.$O
-$(OBJDIR)/Graphics/UI/GLUT/Menu.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Callbacks/Registration.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Callbacks/Window.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O \
- $(OBJDIR)/Graphics/UI/GLUT/QueryUtils.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Types.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Window.$O
-$(OBJDIR)/Graphics/UI/GLUT/Overlay.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O \
- $(OBJDIR)/Graphics/UI/GLUT/QueryUtils.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Window.$O
-$(OBJDIR)/Graphics/UI/GLUT/State.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Overlay.$O \
- $(OBJDIR)/Graphics/UI/GLUT/QueryUtils.$O
-$(OBJDIR)/Graphics/UI/GLUT/Types.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O
-$(OBJDIR)/Graphics/UI/GLUT/Window.$O: \
- $(OBJDIR)/Graphics/UI/GLUT/Constants.$O \
- $(OBJDIR)/Graphics/UI/GLUT/QueryUtils.$O \
- $(OBJDIR)/Graphics/UI/GLUT/Types.$O
-
-# C-files dependencies.
-Graphics/UI/GLUT.$C: \
- Graphics/UI/GLUT/Begin.$C \
- Graphics/UI/GLUT/Callbacks.$C \
- Graphics/UI/GLUT/Colormap.$C \
- Graphics/UI/GLUT/Debugging.$C \
- Graphics/UI/GLUT/DeviceControl.$C \
- Graphics/UI/GLUT/Fonts.$C \
- Graphics/UI/GLUT/GameMode.$C \
- Graphics/UI/GLUT/Initialization.$C \
- Graphics/UI/GLUT/Menu.$C \
- Graphics/UI/GLUT/Objects.$C \
- Graphics/UI/GLUT/Overlay.$C \
- Graphics/UI/GLUT/State.$C \
- Graphics/UI/GLUT/Window.$C
-Graphics/UI/GLUT/Callbacks.$C: \
- Graphics/UI/GLUT/Callbacks/Global.$C \
- Graphics/UI/GLUT/Callbacks/Window.$C
-Graphics/UI/GLUT/Callbacks/Global.$C: \
- Graphics/UI/GLUT/Callbacks/Registration.$C \
- Graphics/UI/GLUT/Constants.$C
-Graphics/UI/GLUT/Callbacks/Registration.$C: \
- Graphics/UI/GLUT/Window.$C
-Graphics/UI/GLUT/Callbacks/Window.$C: \
- Graphics/UI/GLUT/Callbacks/Registration.$C \
- Graphics/UI/GLUT/Constants.$C \
- Graphics/UI/GLUT/State.$C \
- Graphics/UI/GLUT/Types.$C
-Graphics/UI/GLUT/Colormap.$C: \
- Graphics/UI/GLUT/Constants.$C \
- Graphics/UI/GLUT/QueryUtils.$C \
- Graphics/UI/GLUT/Window.$C
-Graphics/UI/GLUT/DeviceControl.$C: \
- Graphics/UI/GLUT/Constants.$C \
- Graphics/UI/GLUT/QueryUtils.$C
-Graphics/UI/GLUT/GameMode.$C: \
- Graphics/UI/GLUT/Constants.$C \
- Graphics/UI/GLUT/Initialization.$C \
- Graphics/UI/GLUT/Types.$C \
- Graphics/UI/GLUT/Window.$C
-Graphics/UI/GLUT/Initialization.$C: \
- Graphics/UI/GLUT/Constants.$C \
- Graphics/UI/GLUT/QueryUtils.$C \
- Graphics/UI/GLUT/Types.$C
-Graphics/UI/GLUT/Menu.$C: \
- Graphics/UI/GLUT/Callbacks/Registration.$C \
- Graphics/UI/GLUT/Callbacks/Window.$C \
- Graphics/UI/GLUT/Constants.$C \
- Graphics/UI/GLUT/QueryUtils.$C \
- Graphics/UI/GLUT/Types.$C \
- Graphics/UI/GLUT/Window.$C
-Graphics/UI/GLUT/Overlay.$C: \
- Graphics/UI/GLUT/Constants.$C \
- Graphics/UI/GLUT/QueryUtils.$C \
- Graphics/UI/GLUT/Window.$C
-Graphics/UI/GLUT/State.$C: \
- Graphics/UI/GLUT/Constants.$C \
- Graphics/UI/GLUT/Overlay.$C \
- Graphics/UI/GLUT/QueryUtils.$C
-Graphics/UI/GLUT/Types.$C: \
- Graphics/UI/GLUT/Constants.$C
-Graphics/UI/GLUT/Window.$C: \
- Graphics/UI/GLUT/Constants.$C \
- Graphics/UI/GLUT/QueryUtils.$C \
- Graphics/UI/GLUT/Types.$C
View
22 cbits/Makefile
@@ -1,22 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../..
-include $(TOP)/mk/boilerplate.mk
--include ../config.mk
-
-# HACK
-PACKAGE=
-
-# -----------------------------------------------------------------------------
-
-SRC_CC_OPTS += -Wall -I$(GHC_INCLUDE_DIR) -I../include $(GLUT_CFLAGS)
-
-LIBRARY = libHSGLUT_cbits.a
-LIBOBJS = $(C_OBJS)
-
-# -----------------------------------------------------------------------------
-# Per-module flags
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
69 doc/Makefile
@@ -1,69 +0,0 @@
-QUIP := quip
-
-IMG_DIR := images
-SCRIPT_DIR := scripts
-
-FIGS := $(wildcard $(IMG_DIR)/*.fig)
-GIFS := $(wildcard $(IMG_DIR)/*.gif)
-PDFS := $(GIFS:.gif=.pdf) $(FIGS:.fig=.pdf)
-EPSFS := $(GIFS:.gif=.epsf) $(FIGS:.fig=.epsf)
-
-all: tutorial.pdf tutorial.ps tutorial_examples.tar.gz
-
-%.pdf: %.fig
- fig2dev -L pdf $< $@
-
-%.epsf: %.fig
- fig2dev -L eps $< $@
-
-%.pdf: %.gif
- convert $< $@
-
-%.epsf: %.gif
- convert $< $@
-
-%.tex: %.xml \
- $(SCRIPT_DIR)/transformscript.xsl \
- $(SCRIPT_DIR)/transformscript.xquery \
- $(SCRIPT_DIR)/deleteTags.xquery \
- $(SCRIPT_DIR)/latexVerbatim.xquery
- $(QUIP) -exit_on_fail -value_output -input $< -o $@ \
- -include $(SCRIPT_DIR)/transformscript.xquery \
- -include $(SCRIPT_DIR)/deleteTags.xquery \
- $(SCRIPT_DIR)/latexVerbatim.xquery
-
-# NOTE: Strangely enough, the PDF and the DVI output differs a bit, so we keep
-# the intermediate files apart in the two rules below.
-
-tutorial.pdf: tutorial.tex bib.bib $(PDFS)
- cp $< tutorial_pdf.tex
- pdflatex tutorial_pdf
- -bibtex tutorial_pdf
- makeindex Klassen
- pdflatex tutorial_pdf
- pdflatex tutorial_pdf
- $(RM) $@
- mv tutorial_pdf.pdf $@
-
-tutorial.dvi: tutorial.tex bib.bib $(EPSFS)
- cp $< tutorial_ltx.tex
- latex tutorial_ltx
- -bibtex tutorial_ltx
- makeindex Klassen
- latex tutorial_ltx
- latex tutorial_ltx
- $(RM) $@
- mv tutorial_ltx.dvi $@
-
-tutorial.ps: tutorial.dvi $(EPSFS)
- dvips -o tutorial.ps tutorial.dvi
-
-tutorial_examples.tar.gz: tutorial.xml extractExamples $(SCRIPT_DIR)/deleteTags.xquery
- ./extractExamples
-
-clean::
- $(RM) *.aux *.bbl *.blg *.dvi *.idx *.ilg *.ind *.lof *.log *.pdf *.ps *.tex *.toc
- $(RM) $(PDFS)
- $(RM) $(EPSFS)
- rm -rf bin obj src
- $(RM) code.xml header.xml klasse.xml examples.html tutorial_examples.tar.gz
View
23 examples/BOGLGP/Chapter01/Makefile
@@ -1,23 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../../../../..
-include $(TOP)/mk/boilerplate.mk
-
-# -----------------------------------------------------------------------------
-
-EXAMPLES := $(wildcard *.hs)
-BINS := $(addsuffix $(exeext),$(EXAMPLES:.hs=))
-CLEAN_FILES += $(BINS)
-
-HC = $(GHC_INPLACE)
-MKDEPENDHS = $(GHC_INPLACE)
-SRC_HC_OPTS += -Wall -O -package GLUT
-
-all:: $(BINS)
-
-$(BINS): %$(exeext): %.o
- $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $<
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
23 examples/BOGLGP/Chapter02/Makefile
@@ -1,23 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../../../../..
-include $(TOP)/mk/boilerplate.mk
-
-# -----------------------------------------------------------------------------
-
-EXAMPLES := $(wildcard *.hs)
-BINS := $(addsuffix $(exeext),$(EXAMPLES:.hs=))
-CLEAN_FILES += $(BINS)
-
-HC = $(GHC_INPLACE)
-MKDEPENDHS = $(GHC_INPLACE)
-SRC_HC_OPTS += -Wall -O -package GLUT
-
-all:: $(BINS)
-
-$(BINS): %$(exeext): %.o
- $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $<
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
23 examples/BOGLGP/Chapter03/Makefile
@@ -1,23 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../../../../..
-include $(TOP)/mk/boilerplate.mk
-
-# -----------------------------------------------------------------------------
-
-EXAMPLES := $(wildcard *.hs)
-BINS := $(addsuffix $(exeext),$(EXAMPLES:.hs=))
-CLEAN_FILES += $(BINS)
-
-HC = $(GHC_INPLACE)
-MKDEPENDHS = $(GHC_INPLACE)
-SRC_HC_OPTS += -Wall -O -package GLUT
-
-all:: $(BINS)
-
-$(BINS): %$(exeext): %.o
- $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $<
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
12 examples/BOGLGP/Makefile
@@ -1,12 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../../../..
-include $(TOP)/mk/boilerplate.mk
-
-# -----------------------------------------------------------------------------
-
-SUBDIRS = Chapter01 Chapter02 Chapter03
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
14 examples/Makefile
@@ -1,14 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../../..
-include $(TOP)/mk/boilerplate.mk
-
-# -----------------------------------------------------------------------------
-
-ifeq "$(way)" ""
-SUBDIRS = RedBook OrangeBook BOGLGP Misc
-endif
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
23 examples/Misc/Makefile
@@ -1,23 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../../../..
-include $(TOP)/mk/boilerplate.mk
-
-# -----------------------------------------------------------------------------
-
-EXAMPLES := $(wildcard *.hs)
-BINS := $(addsuffix $(exeext),$(EXAMPLES:.hs=))
-CLEAN_FILES += $(BINS)
-
-HC = $(GHC_INPLACE)
-MKDEPENDHS = $(GHC_INPLACE)
-SRC_HC_OPTS += -Wall -O -package GLUT
-
-all:: $(BINS)
-
-$(BINS): %$(exeext): %.o
- $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $<
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
14 examples/OrangeBook/Makefile
@@ -1,14 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../../../..
-include $(TOP)/mk/boilerplate.mk
-
-# -----------------------------------------------------------------------------
-
-ifeq "$(way)" ""
-SUBDIRS = ogl2brick
-endif
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
23 examples/OrangeBook/ogl2brick/Makefile
@@ -1,23 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../../../../..
-include $(TOP)/mk/boilerplate.mk
-
-# -----------------------------------------------------------------------------
-
-EXAMPLES := $(wildcard *.hs)
-BINS := $(addsuffix $(exeext),$(EXAMPLES:.hs=))
-CLEAN_FILES += $(BINS)
-
-HC = $(GHC_INPLACE)
-MKDEPENDHS = $(GHC_INPLACE)
-SRC_HC_OPTS += -Wall -O -package GLUT
-
-all:: $(BINS)
-
-$(BINS): %$(exeext): %.o
- $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $<
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
29 examples/RedBook/Makefile
@@ -1,29 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../../../..
-include $(TOP)/mk/boilerplate.mk
-
-# -----------------------------------------------------------------------------
-
-EXAMPLES := $(filter-out ReadImage.hs,$(wildcard *.hs))
-BINS := $(addsuffix $(exeext),$(EXAMPLES:.hs=))
-CLEAN_FILES += $(BINS)
-
-HC = $(GHC_INPLACE)
-MKDEPENDHS = $(GHC_INPLACE)
-SRC_HC_OPTS += -Wall -O -package GLUT
-
-all:: $(BINS)
-
-USES_READIMAGE = ColorTable Convolution ColorMatrix Histogram Minmax
-
-.PRECIOUS: ReadImage.o
-$(addsuffix .o,$(USES_READIMAGE)): ReadImage.hi
-$(addsuffix $(exeext),$(USES_READIMAGE)): ReadImage.o
-
-$(BINS): %$(exeext): %.o
- $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $< $(patsubst %,ReadImage.o,$(filter $(<:.o=),$(USES_READIMAGE)))
-
-# -----------------------------------------------------------------------------
-
-include $(TOP)/mk/target.mk
View
13 include/Makefile
@@ -1,13 +0,0 @@
-# -----------------------------------------------------------------------------
-
-TOP = ../..
-include $(TOP)/mk/boilerplate.mk
-
-H_FILES = $(wildcard *.h)
-
-includedir = $(libdir)/include
-INSTALL_INCLUDES = $(H_FILES)
-
-DIST_CLEAN_FILES += HsGLUT.h HsGLUTConfig.h
-
-include $(TOP)/mk/target.mk
View
4 prologue.txt
@@ -1,4 +0,0 @@
-The @GLUT@ package contains a Haskell binding for the OpenGL Utility Toolkit, a
-window system independent toolkit for writing OpenGL programs. For more
-information about the C library on which this binding is based, please see:
-<http://www.opengl.org/resources/libraries/glut/>.

0 comments on commit 7e1080e

Please sign in to comment.