|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: M T
Length: 6658 (0x1a02)
Types: TextFile
Names: »Makefile«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/X/Xphoon/Makefile«
#
# Warning: the cpp used on this machine replaces
# all newlines and multiple tabs/spaces in a macro
# expansion with a single space. Imake tries to
# compensate for this, but is not always
# successful.
#
#
# This makefile is automatically generated by imake... do not modify
# or you may lose your changes when imake generates makefiles again.
# Ignore this message if you are not using imake.
#
TOP = ./../..
AS = as
CC = cc
CPP = /lib/cpp
LD = ld
LINT = lint
INSTALL = install
TAGS = ctags
RM = rm -f
MV = mv
LN = ln -s
RANLIB = ranlib
AR = ar clq
LS = ls
LINTOPTS = -axz
LINTLIBFLAG = -C
MAKE = make
STD_DEFINES =
CDEBUGFLAGS = -O
DESTDIR =
PATHSEP = /
DEPEND = $(DEPENDSRC)/makedepend
IMAKE = $(IMAKESRC)/imake
RGB = $(RGBSRC)/rgb
CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(STD_DEFINES) $(DEFINES)
LINTFLAGS = $(LINTOPTS) $(INCLUDES) $(STD_DEFINES) $(DEFINES) -DLINT
LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(SYSAUX_LIBRARIES)
INSTUIDFLAGS = -m 4755
INSTLIBFLAGS = -m 0664
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTAPPFLAGS = -m 0444
USRLIBDIR = $(DESTDIR)/usr/lib
BINDIR = $(DESTDIR)/usr/new/X11
LIBDIR = $(DESTDIR)/usr/new/lib/X11
LINTLIBDIR = $(USRLIBDIR)/lint
INCDIR = $(DESTDIR)/usr/include/X11
FONTDIR = $(LIBDIR)/fonts
UWMDIR = $(LIBDIR)/uwm
MANDIR = $(DESTDIR)/usr/man/mann
XAPPLOADDIR = $(LIBDIR)/app-defaults
ADMDIR = $(DESTDIR)/usr/adm
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/contrib
DOCSRC = $(TOP)/doc
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(UTILSRC)/imake
IRULESRC = $(UTILSRC)/imake.includes
RGBSRC = $(UTILSRC)/rgb
XLIBSRC = $(LIBSRC)/X
TOOLKITSRC = $(LIBSRC)/Xt
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
EXTENSIONSRC = $(TOP)/extensions
XMANSRC = $(DOCSRC)/Xlib/Xman
EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
XLIB = $(XLIBSRC)/libX11.a
OLDXLIB = $(OLDXLIBSRC)/liboldX.a
XTOOLLIB = $(TOOLKITSRC)/libXt.a
XAWLIB = $(AWIDGETSRC)/libXaw.a
LINTXLIB = $(XLIBSRC)/llib-lX11.ln
LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
INCLUDES = -I$(TOP)
MACROFILE = Sun.macros
IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl \
-I$(NEWTOP)$(IRULESRC) \
-s Makefile
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
tags TAGS make.log
# @(#) $Header: Imakefile,v 1.3 88/08/26 22:29:51 jef Exp $ (LBL)
#
# Copyright (C) 1988 by Jef Poskanzer and Craig Leres.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted, provided
# that the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation. This software is provided "as is" without express or
# implied warranty.
INCLUDES = -I. -I$(TOP) -I$(TOP)/X11 -I$(TOP)/X11/bitmaps
LOCAL_LIBRARIES = $(XLIB)
SYS_LIBRARIES = -lm
# System-dependent options -- xbigphoon is a little big for many Suns
# to compile.
# DEFINES = -pipe
SRCS1 = xphoon.c cheapmoon.c phase.c dtime.c
OBJS1 = xphoon.o cheapmoon.o phase.o dtime.o
SRCS2 = xphoon.c bigcheapmoon.c phase.c dtime.c
OBJS2 = xphoon.o bigcheapmoon.o phase.o dtime.o
PROGRAMS = xphoon xbigphoon
OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
SRCS = $(SRCS1) $(SRCS2) $(SRCS3)
all: $(PROGRAMS)
xphoon: $(OBJS1) $(LOCAL_LIBRARIES)
$(RM) $@
$(CC) -o $@ $(OBJS1) $(LOCAL_LIBRARIES) $(LDFLAGS)
install:: xphoon
$(INSTALL) -c $(INSTALLFLAGS) xphoon $(BINDIR)
install:: xphoon.man
$(INSTALL) -c $(INSTMANFLAGS) xphoon.man $(MANDIR)/xphoon.n
relink::
$(RM) $(PROGRAMS)
$(MAKE) $(MFLAGS) $(PROGRAMS)
depend:: $(DEPEND)
depend::
$(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
$(DEPEND):
@echo "making $(DEPENDSRC)"; \
cd $(DEPENDSRC); $(MAKE)
clean::
$(RM) $(PROGRAMS)
xbigphoon: $(OBJS2) $(LOCAL_LIBRARIES)
$(RM) $@
$(CC) -o $@ $(OBJS2) $(LOCAL_LIBRARIES) $(LDFLAGS)
install:: xbigphoon
$(INSTALL) -c $(INSTALLFLAGS) xbigphoon $(BINDIR)
install:: xbigphoon.man
$(INSTALL) -c $(INSTMANFLAGS) xbigphoon.man $(MANDIR)/xbigphoon.n
# Make the export sharchive.
shar: xphoon.shar
xphoon.shar: xphoon.shar1 xphoon.shar2 xphoon.shar3 xphoon.shar4
xphoon.shar1: README Imakefile Makefile xphoon.man xphoon.c cheapmoon.c bigcheapmoon.c phase.c dtime.c tws.h
shar -v -c -p X README Imakefile Makefile xphoon.man xphoon.c cheapmoon.c bigcheapmoon.c phase.c dtime.c tws.h >xphoon.shar1
cheapmoon.xbm.Z: cheapmoon.xbm
compress -c cheapmoon.xbm >cheapmoon.xbm.Z
cheapmoon.xbm.Z.uu: cheapmoon.xbm.Z
uuencode cheapmoon.xbm.Z cheapmoon.xbm.Z >cheapmoon.xbm.Z.uu
cheapmoon.xbm.Z.uuaa: cheapmoon.xbm.Z.uu
split -550 cheapmoon.xbm.Z.uu cheapmoon.xbm.Z.uu
xphoon.shar2: cheapmoon.xbm.Z.uuaa
shar -v -c -p X cheapmoon.xbm.Z.uuaa >xphoon.shar2
xphoon.shar3: cheapmoon.xbm.Z.uuab
shar -v -c -p X cheapmoon.xbm.Z.uuab >xphoon.shar3
xphoon.shar4: cheapmoon.xbm.Z.uuac
shar -v -c -p X cheapmoon.xbm.Z.uuac >xphoon.shar4
# Unpack the compressed, uuencoded, shared bitmap.
unshar:
cat cheapmoon.xbm.Z.uu?? > cheapmoon.xbm.Z.uu
uudecode cheapmoon.xbm.Z.uu
uncompress cheapmoon.xbm.Z
# Make the export tarchive.
tar: xphoon.tar.Z
xphoon.tar.Z: xphoon.tar
rm -f xphoon.tar.Z
compress xphoon.tar
xphoon.tar: README Imakefile Makefile xphoon.man xphoon.c cheapmoon.c bigcheapmoon.c phase.c dtime.c tws.h cheapmoon.xbm bigcheapmoon.xbm
tar chf xphoon.tar README Imakefile Makefile xphoon.man xphoon.c cheapmoon.c bigcheapmoon.c phase.c dtime.c tws.h cheapmoon.xbm bigcheapmoon.xbm
clean::
$(RM_CMD) \#*
Makefile:: $(IMAKE)
Makefile:: Imakefile \
$(IRULESRC)/Imake.tmpl \
$(IRULESRC)/Imake.rules \
$(IRULESRC)/$(MACROFILE)
-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
$(IMAKE_CMD) -DTOPDIR=$(TOP)
$(IMAKE):
@echo "making $(IMAKESRC)"; \
cd $(IMAKESRC); $(MAKE)
tags::
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
install::
@echo "install done"
Makefiles::