1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
#
# Imakefile for the main calctool directory.
#
# @(#)Imakefile.main 1.1 90/03/01
#
# Provided by Didier Poirot, Chorus Systemes (dp@chorus.fr).
#
# Note that to use this Imakefile, the current calctool directory
# layout needs to be rearranged as follows:
#
# Files in the main directory:
#
# Imakefile.main (this file), renamed to Imakefile.
#
# calctool.1 mathlib.c Imakefile
# calctool.c mathlib.h Makefile
# calctool.color.icon calctool.help patchlevel.h
# calctool.icon x11.c README
# TODO help.cursor
#
# Files in a new sub-directory called lib:
#
# Imakefile.lib, renamed to Imakefile.
#
# Imakefile color.h functions.c graphics.c
# Makefile display.c get.c calctool.h
# extern.h
#
# Permission is given to distribute these sources, as long as the
# copyright messages are not removed, and no monies are exchanged.
#
# No responsibility is taken for any errors inherent either in the comments
# or the code of this program, but if reported to me then an attempt will
# be made to fix them.
#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
# SUBDIRS = lib
PROGRAMS = calctool
HELPFILE = -DHELPNAME="/usr/X11R6/lib/X11/calctool.help\"
RCNAME = -DRCNAME=\".calctoolrc\"
/*
* #NOIEEE = -DIEEE
* #NOINDEX = -DNOINDEX
* #SUN4_KEYBOARD = -DSUN4_KEYBOARD
* #X11INCDIR = -I$(OPENWINHOME)/include
* #X11LIBDIR = -L$(OPENWINHOME)/lib
*/
DEFINES = $(HELPFILE) $(NOIEEE) $(NOINDEX) $(RCNAME) \
$(SELTYPE) $(SHLIB) $(SIGRET) $(SUN4_KEYBOARD) \
$(TTEXT)
INCLUDES = -I./lib
CALCLIB = -Llib -lCalctool
DEPLIBS1 = lib/libCalctool.a $(DEPXLIB)
LOCAL_LIBRARIES = $(LIBNAME) $(XLIB)
SRCS1 = calctool.c mathlib.c x11.c
OBJS1 = calctool.o mathlib.o x11.o
HDRS = calctool.h color.h extern.h mathlib.h
IMAGES = calctool.icon calctool.color.icon help.cursor
OTHERS = Makefile README TODO calctool.help calctool.1 \
CHANGES calctool.ps patchlevel.h .calctoolrc
MATHLIB = -lm
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
ComplexProgramTarget_1($(PROGRAMS),$(CALCLIB) $(XLIB),$(MATHLIB))
clean::
rm -f *.o *~ *.a $(PROGRAMS) core
InstallNonExec(calctool.help, $(LIBDIR))
|