modified: src1/input.c
[GalaxyCodeBases.git] / c_cpp / etc / calc / custom / Makefile.simple
blob43f0acd5904c741799f89b06d5546a10b087034f
1 #!/bin/make
3 # custom - makefile for calc custom routines
5 # Copyright (C) 1999-2006 Landon Curt Noll
7 # Calc is open software; you can redistribute it and/or modify it under
8 # the terms of the version 2.1 of the GNU Lesser General Public License
9 # as published by the Free Software Foundation.
11 # Calc is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
14 # Public License for more details.
16 # A copy of version 2.1 of the GNU Lesser General Public License is
17 # distributed with calc under the filename COPYING-LGPL. You should have
18 # received a copy with calc; if not, write to Free Software Foundation, Inc.
19 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 # @(#) $Revision: 30.28 $
22 # @(#) $Id: Makefile.head,v 30.28 2013/08/11 05:40:18 chongo Exp $
23 # @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/Makefile.head,v $
25 # Under source code control: 1997/03/09 02:28:54
26 # File existed as early as: 1997
28 # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
29 # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
31 # calculator by David I. Bell with help/mods from others
32 # Makefile by Landon Curt Noll
35 ##############################################################################
36 #-=-=-=-=-=-=-=-=- You may want to change some values below -=-=-=-=-=-=-=-=-#
37 ##############################################################################
39 # The custom calc resource files to install
41 # Put your custom calc resource files here.
43 CUSTOM_CALC_FILES= argv.cal halflen.cal pzasusb8.cal pmodm127.cal register.cal
45 # The custom help files to install
47 # Put your custom help files here.
49 CUSTOM_HELP= argv devnull help sysinfo pzasusb8 pmodm127 register
51 # Any .h files that are needed by programs that use
52 # libcustcalc${LIB_EXT_VERSION}
54 # Put any .h files that you add which might be useful to other
55 # programs here.
57 CUSTOM_H_SRC=
59 # Any .c files that are needed to build libcustcalc${LIB_EXT_VERSION}.
61 # Don't put ${REQUIRED_SRC} files in this list.
63 # There MUST be a .c in CUSTOM_SRC for every .o in CUSTOM_OBJ.
65 # Put your custom .c files here.
67 CUSTOM_SRC= c_argv.c c_devnull.c c_help.c c_sysinfo.c c_pzasusb8.c \
68 c_pmodm127.c c_register.c
70 # Any .o files that are needed by program that use
71 # libcustcalc${LIB_EXT_VERSION}.
73 # Don't put ${REQUIRED_OBJ} files in this list.
75 # There MUST be a .c in CUSTOM_SRC for every .o in CUSTOM_OBJ.
77 # Put your custom .o files here.
79 CUSTOM_OBJ= c_argv.o c_devnull.o c_help.o c_sysinfo.o c_pzasusb8.o \
80 c_pmodm127.o c_register.o
82 ##############################################################################
83 #-=-=-=-=-=-=- Defaults in case you want to build from this dir -=-=-=-=-=-=-#
84 ##############################################################################
86 # Normally, the upper level makefile will set these values. We provide
87 # a default here just in case you want to build from this directory.
89 # Makefile debug
91 # Q=@ do not echo internal makefile actions (quiet mode)
92 # Q= echo internal makefile actions (debug / verbose mode)
94 #Q=
95 Q=@
97 ####
98 # Normally, the upper level makefile will set these values. We provide
99 # a default here just in case you want to build from this directory.
100 ####
102 # Where the system include (.h) files are kept
104 # For DJGPP, select:
106 # INCDIR= /dev/env/DJDIR/include
108 # If in doubt, set:
110 # INCDIR= /usr/include
113 #INCDIR= /usr/local/include
114 #INCDIR= /dev/env/DJDIR/include
115 INCDIR= /usr/include
117 # where to install calc realted things
119 # ${BINDIR} where to install calc binary files
120 # ${LIBDIR} where calc link library (*.a) files are installed
121 # ${CALC_SHAREDIR} where to install calc help, .cal, startup, config files
123 # NOTE: The install rule prepends installation paths with ${T}, which
124 # by default is empty. If ${T} is non-empty, then installation
125 # locations will be relative to the ${T} directory.
127 # For DJGPP, select:
129 # BINDIR= /dev/env/DJDIR/bin
130 # LIBDIR= /dev/env/DJDIR/lib
131 # CALC_SHAREDIR= /dev/env/DJDIR/share/calc
133 # If in doubt, set:
135 # BINDIR= /usr/bin
136 # LIBDIR= /usr/lib
137 # CALC_SHAREDIR= /usr/share/calc
139 #BINDIR= /usr/local/bin
140 #BINDIR= /dev/env/DJDIR/bin
141 BINDIR= /usr/bin
143 #LIBDIR= /usr/local/lib
144 #LIBDIR= /dev/env/DJDIR/lib
145 LIBDIR= /usr/lib
147 #CALC_SHAREDIR= /usr/local/lib/calc
148 #CALC_SHAREDIR= /dev/env/DJDIR/share/calc
149 CALC_SHAREDIR= /usr/share/calc
151 # By default, these values are based CALC_SHAREDIR, INCDIR, BINDIR
152 # ---------------------------------------------------------------
153 # ${HELPDIR} where the help directory is installed
154 # ${CALC_INCDIR} where the calc include files are installed
155 # ${CUSTOMCALDIR} where custom *.cal files are installed
156 # ${CUSTOMHELPDIR} where custom help files are installed
157 # ${CUSTOMINCDIR} where custom .h files are installed
158 # ${SCRIPTDIR} where calc shell scripts are installed
160 # NOTE: The install rule prepends installation paths with ${T}, which
161 # by default is empty. If ${T} is non-empty, then installation
162 # locations will be relative to the ${T} directory.
164 # If in doubt, set:
166 # HELPDIR= ${CALC_SHAREDIR}/help
167 # CALC_INCDIR= ${INCDIR}/calc
168 # CUSTOMCALDIR= ${CALC_SHAREDIR}/custom
169 # CUSTOMHELPDIR= ${CALC_SHAREDIR}/custhelp
170 # CUSTOMINCDIR= ${CALC_INCDIR}/custom
171 # SCRIPTDIR= ${BINDIR}/cscript
173 HELPDIR= ${CALC_SHAREDIR}/help
174 CALC_INCDIR= ${INCDIR}/calc
175 CUSTOMCALDIR= ${CALC_SHAREDIR}/custom
176 CUSTOMHELPDIR= ${CALC_SHAREDIR}/custhelp
177 CUSTOMINCDIR= ${CALC_INCDIR}/custom
178 SCRIPTDIR= ${BINDIR}/cscript
180 # T - top level directory under which calc will be installed
182 # The calc install is performed under ${T}, the calc build is
183 # performed under /. The purpose for ${T} is to allow someone
184 # to install calc somewhere other than into the system area.
186 # For example, if:
188 # BINDIR= /usr/bin
189 # LIBDIR= /usr/lib
190 # CALC_SHAREDIR= /usr/share/calc
192 # and if:
194 # T= /var/tmp/testing
196 # Then the installation locations will be:
198 # calc binary files: /var/tmp/testing/usr/bin
199 # calc link library: /var/tmp/testing/usr/lib
200 # calc help, .cal ...: /var/tmp/testing/usr/share/calc
201 # ... etc ... /var/tmp/testing/...
203 # If ${T} is empty, calc is installed under /, which is the same
204 # top of tree for which it was built. If ${T} is non-empty, then
205 # calc is installed under ${T}, as if one had to chroot under
206 # ${T} for calc to operate.
208 # If in doubt, use T=
212 # Debug/Optimize options for ${CC} and ${LCC}
214 # Select DEBUG= -O2 -gstabs+ -DWINDOZ for DJGPP.
216 #DEBUG=
218 #DEBUG= -O
219 #DEBUG= -O -g
220 #DEBUG= -O -g3
222 #DEBUG= -O1
223 #DEBUG= -O1 -g
224 #DEBUG= -O1 -g3
226 #DEBUG= -O2
227 #DEBUG= -O2 -g
228 #DEBUG= -O2 -g3
229 #DEBUG= -O2 -ipa
230 #DEBUG= -O2 -g3 -ipa
232 #DEBUG= -O3
233 #DEBUG= -O3 -g
234 DEBUG= -O3 -g3
235 #DEBUG= -O3 -ipa
236 #DEBUG= -O3 -g3 -ipa
238 #DEBUG= -g
239 #DEBUG= -g3
240 #DEBUG= -gx
241 #DEBUG= -WM,-g
243 #DEBUG= -O2 -gstabs+ -DWINDOZ
245 # Some systems require one to use ranlib to add a symbol table to
246 # a *.a link library. Set RANLIB to the utility that performs this
247 # action. Set RANLIB to : if your system does not need such a utility.
249 RANLIB=ranlib
250 #RANLIB=:
252 # Normally certain files depend on the Makefile. If the Makefile is
253 # changed, then certain steps should be redone. If MAKE_FILE is
254 # set to Makefile, then these files will depend on Makefile. If
255 # MAKE_FILE is empty, then they wont.
257 # If in doubt, set MAKE_FILE to Makefile
259 MAKE_FILE= Makefile
260 #MAKE_FILE=
262 # Controlling file makefile basename (without the path)
264 # This is the basename same of the makefile that may/does/will drive
265 # this makefile.
267 # If in doubt, set TOP_MAKE_FILE to Makefile
269 TOP_MAKE_FILE= Makefile
271 # If you do not wish to use purify, set PURIFY to an empty string.
273 # If in doubt, use PURIFY=
275 #PURIFY= purify
276 #PURIFY= purify -m71-engine
277 #PURIFY= purify -logfile=pure.out
278 #PURIFY= purify -m71-engine -logfile=pure.out
279 PURIFY=
281 # If you want to use a debugging link library such as a malloc debug link
282 # library, or need to add special ld flags after the calc link libraries
283 # are included, set ${LD_DEBUG} below.
285 # If in doubt, set LD_DEBUG to empty.
287 #LD_DEBUG= -lmalloc_cv
288 LD_DEBUG=
290 # When doing a:
292 # make check
293 # make chk
294 # make debug
296 # the ${CALC_ENV} is used to supply the proper environment variables
297 # to calc. Most people will simply need 'CALCPATH=./cal' to ensure
298 # that these debug rules will only use calc resource files under the
299 # local source directory. The longer lines (with MALLOC_VERBOSE=1 ...)
300 # are useful for SGI IRIX people who have 'WorkShop Performance Tools'
301 # and who also set 'LD_DEBUG= -lmalloc_cv' above.
303 # If in doubt, use CALC_ENV= CALCPATH=./cal.
305 CALC_ENV= CALCPATH=./cal
306 #CALC_ENV= CALCPATH=./cal MALLOC_VERBOSE=1 MALLOC_TRACING=1 \
307 # MALLOC_FASTCHK=1 MALLOC_FULLWARN=1
308 #CALC_ENV= CALCPATH=./cal MALLOC_VERBOSE=1 MALLOC_TRACING=1 \
309 # MALLOC_FASTCHK=1 MALLOC_FULLWARN=1 MALLOC_CLEAR_FREE=1 \
310 # MALLOC_CLEAR_MALLOC=1
312 # By default, custom builtin functions may only be executed if calc
313 # is given the -C option. This is because custom builtin functions
314 # may invoke non-standard or non-portable code. One may completely
315 # disable custom builtin functions by not compiling any of code
317 # ALLOW_CUSTOM= -DCUSTOM # allow custom only if -C is given
318 # ALLOW_CUSTOM= # disable custom even if -C is given
320 # If in doubt, use ALLOW_CUSTOM= -DCUSTOM
322 ALLOW_CUSTOM= -DCUSTOM
323 #ALLOW_CUSTOM=
325 # The install rule uses:
327 # ${MKDIR} ${MKDIR_ARG}
329 # to create directorties. Normall this amounts to usins mkdir -p dir ...
330 # Some older systems may not have mkdir -p. If you system does not
331 # make mkdir -p, then set MKDIR_ARG to empty.
333 # MKDIR_ARG= -p # use mkdir -p when creating paths
334 # MKDIR_ARG= # use if system does not understand mkdir -p
336 MKDIR_ARG= -p
337 #MKDIR_ARG=
339 # Some out of date operating systems require / want an executable to
340 # end with a certain file extension. Some compile systems such as
341 # Cygwin build calc as calc.exe. The EXT variable is used to denote
342 # the extension required by such.
344 # EXT= # normal Un*x / Linux / GNU/Linux systems
345 # EXT=.exe # windoz / Cygwin
347 # If in doubt, use EXT=
349 EXT=
350 #EXT=.exe
352 # The default calc versions
354 VERSION= 2.12.4.10
355 VERS= 2.12.4
356 VER= 2.12
357 VE= 2
359 # Names of shared libraries with versions
361 LIB_EXT= .so
362 LIB_EXT_VERSION= ${LIB_EXT}.${VERSION}
363 LIB_EXT_VERS= ${LIB_EXT}.${VERS}
364 LIB_EXT_VER= ${LIB_EXT}.${VER}
365 LIB_EXT_VE= ${LIB_EXT}.${VE}
367 # standard tools
369 SHELL= /bin/sh
370 SED= sed
371 MAKEDEPEND= makedepend
372 GREP= egrep
373 CHMOD= chmod
374 FMT= fmt
375 SORT= sort
376 CMP= cmp
377 AR= ar
378 RM= rm
379 TOUCH= touch
380 MKDIR= mkdir
381 RMDIR= rmdir
382 MV= mv
383 CP= cp
384 CO= co
385 TRUE= true
386 MAKE= make
387 LN= ln
388 AWK= awk
390 # EXTRA_CFLAGS are flags given to ${CC} when compiling C files
391 # EXTRA_LDFLAGS are flags given to ${CC} when linking progs
393 # Both CFLAGS and LDFLAGS are left blank in this Makefile by
394 # default so that users may use them on the make command line
395 # to always the way that C is compiled and files are linked
396 # respectively. For example:
398 # make all EXTRA_CFLAGS="-DMAGIC" EXTRA_LDFLAGS="-lmagic"
400 # NOTE: These should be left blank in this Makefile to make it
401 # easier to add stuff on the command line. If you want to
402 # to change the way calc is compiled by this Makefile, change
403 # the appropirate host target section below or a flag above.
405 EXTRA_CFLAGS=
406 EXTRA_LDFLAGS=
408 # COMMON_CFLAGS are the common ${CC} flags used for all progs, both
409 # intermediate and final calc and calc related progs
411 COMMON_CFLAGS= -DCALC_SRC ${ALLOW_CUSTOM} ${CCWARN} ${CCMISC} ${EXTRA_CFLAGS}
413 # COMMON_LDFLAGS are the common flags used for linking all progs, both
414 # intermediate and final calc and calc related progs
416 COMMON_LDFLAGS= ${EXTRA_LDFLAGS}
418 ###########################################
419 # Set the default compile flags for ${CC} #
420 ###########################################
422 # start of host target cut - Do not remove this line
423 ##############################################################################
424 #-=-=-=-=-=- host target section - targets that override defaults -=-=-=-=-=-#
425 ##############################################################################
427 # Common values set in targets
429 # BLD_TYPE determines if calc is built with static and/or dynamic libs.
430 # Set this value to one of:
432 # BLD_TYPE= calc-dynamic-only
433 # BLD_TYPE= calc-static-only
435 # CC_SHARE are flags given to ${CC} to build .o files suitable for shared libs
436 # DEFAULT_LIB_INSTALL_PATH is where calc progs look for calc shared libs
437 # LD_SHARE are common flags given to ${CC} to link with shared libraries
438 # LIBCALC_SHLIB are flags given to ${CC} to build libcalc shared lib
439 # LIBCUSTCALC_SHLIB are flags given to ${CC} to build libcustcalc shared lib
441 # NOTE: The above 4 values are unused if BLD_TYPE= calc-static-only
443 # CC_STATIC are flags given to ${CC} to build .o files suitable for static libs
444 # LD_STATIC are common flags given to ${CC} to link with static libraries
445 # LIBCALC_STATIC are flags given to ${CC} to build libcalc static lib
446 # LIBCUSTCALC_STATIC are flags given to ${CC} to build libcustcalc static lib
448 # NOTE: The above 4 values are unused if BLD_TYPE= calc-dynamic-only
450 # CCOPT are flags given to ${CC} for optimization
451 # CCWARN are flags given to ${CC} for warning message control
452 # CCWERR are flags given to ${CC} to make warnings fatal errors
453 # NOTE: CCWERR is only set in development Makefiles and must only be
454 # used with ${CC}, not ${LCC}. If you do not want the compiler
455 # to abort on warnings, then leave CCWERR blank.
456 # CCMISC are misc flags given to ${CC}
458 # LCC how the C compiler is invoked on locally executed intermediate progs
459 # CC is how the C compiler is invoked (with an optional Purify)
461 # Specific target overrides or modifications to default values
463 ##########################################################################
464 # NOTE: If your target is not supported below and the default target #
465 # is not suitable for your needs, please send to the: #
467 # calc-contrib at asthe dot com #
469 # EMail address an "ifeq ($(target),YOUR_TARGET_NAME)" ... "endif" #
470 # set of lines so that we can consider them for the next release. #
471 ##########################################################################
474 BLD_TYPE= calc-static-only
476 CC_SHARE= -fPIC
477 DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib
478 LD_SHARE= "-Wl,-rpath,${DEFAULT_LIB_INSTALL_PATH}" \
479 "-Wl,-rpath-link,${DEFAULT_LIB_INSTALL_PATH}"
480 LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}"
481 LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}"
483 CC_STATIC=
484 LD_STATIC=
485 LIBCALC_STATIC=
486 LIBCUSTCALC_STATIC=
488 CCWARN= -Wall -W -Wno-comment
489 CCWERR=
490 CCOPT= ${DEBUG}
491 CCMISC=
493 LCC= cc
494 CC= ${PURIFY} ${LCC} ${CCWERR}
496 # The simple makefile forces the use of static ${CC} flags
498 # ICFLAGS are given to ${CC} for intermediate progs used to help compile calc
499 # CFLAGS are given to ${CC} for calc progs other than intermediate progs
500 # ILDFLAGS for ${CC} in linking intermediate progs used to help compile calc
501 # LDFLAGS for ${CC} in linking calc progs other than intermediate progs
503 ICFLAGS= ${COMMON_CFLAGS} ${CC_STATIC}
504 CFLAGS= ${ICFLAGS} ${CCOPT}
506 ILDFLAGS= ${COMMON_LDFLAGS} ${LD_STATIC}
507 LDFLAGS= ${LD_DEBUG} ${ILDFLAGS} ${LIBCALC_STATIC} ${LIBCUSTCALC_STATIC}
509 CALCPATH= .;./cal;~/.cal;${CALC_SHAREDIR};${CUSTOMCALDIR}
511 #######################################################################
512 #-=-=-=-=-=- end of target section - only make rules below -=-=-=-=-=-#
513 #######################################################################
514 # end of host target cut - Do not remove this line
515 ##############################################################################
516 #-=-=-=-=-=-=-=-=- Be careful if you change something below -=-=-=-=-=-=-=-=-#
517 ##############################################################################
519 # These .c files are required for the main custom interface and
520 # for the custom support functions for libcustcalc${LIB_EXT_VERSION}.
522 # There MUST be a .c for every .o in REQUIRED_OBJ.
524 REQUIRED_SRC= custtbl.c
526 # These .o files correspond to the .c files in REQUIRED_SRC
527 # for libcustcalc${LIB_EXT_VERSION}.
529 # There MUST be a .o for every .c in REQUIRED_SRC.
531 REQUIRED_OBJ= custtbl.o
533 # These .h files are installed under ${CUSTOMCALDIR} by the install rule.
535 INSTALL_H_SRC= ${CUSTOM_H_SRC}
537 # These .c files are used to form libcustcalc${LIB_EXT_VERSION}.
539 CUSTCALC_SRC= ${REQUIRED_SRC} ${CUSTOM_SRC}
541 # These .o files are used to form libcustcalc${LIB_EXT_VERSION}.
543 CUSTCALC_OBJ= ${REQUIRED_OBJ} ${CUSTOM_OBJ}
545 # These .c files are used to build the dependency list
547 C_SRC= ${REQUIRED_SRC} ${CUSTOM_SRC}
549 # These .h files are used to build the dependecy list
551 H_SRC= ${CUSTOM_H_SRC}
553 # These files are found (but not built) in the distribution
555 # The CUSTOM_CAL and HOW_TO_ADD are files distributed from this
556 # directory but are installed as help files from the help/Makefile.
558 DISTLIST= ${CUSTCALC_SRC} ${CUSTOM_CALC_FILES} ${CUSTOM_HELP} \
559 ${INSTALL_H_SRC} CUSTOM_CAL HOW_TO_ADD ${MAKE_FILE}.head \
560 ${MAKE_FILE}.tail
562 # These files are used to make (but not built) a calc .a link library
564 CALCLIBLIST= ${CUSTCALC_SRC} ${INSTALL_H_SRC} ${MAKE_FILE} HOW_TO_ADD
566 # This is the custom dynbamic shared library that is build
568 CALC_DYNAMIC_LIBCUSTCALC= libcustcalc${LIB_EXT_VERSION}
570 # This is the custom static library that is build
572 CALC_STATIC_LIBCUSTCALC= libcustcalc.a
574 # complete list of targets
576 TARGETS= ${BLD_TYPE} Makefile.simple
580 # The reason for this Makefile :-)
584 all: ${TARGETS} ${INSTALL_H_SRC} ${CUSTOM_CALC_FILES} \
585 ${CUSTOM_HELP} ${MAKE_FILE} .all
587 calc-dynamic-only: ${CUSTCALC_OBJ} ${CALC_DYNAMIC_LIBCUSTCALC}
589 calc-static-only: ${CUSTCALC_OBJ} ${CALC_STATIC_LIBCUSTCALC}
591 custom/libcustcalc${LIB_EXT_VERSION}: libcustcalc${LIB_EXT_VERSION} \
592 ${CALC_STATIC_LIBCUSTCALC}
594 libcustcalc${LIB_EXT_VERSION}: ${CUSTCALC_OBJ} ${MAKE_FILE}
595 ${CC} ${LIBCUSTCALC_SHLIB} ${CUSTCALC_OBJ} -o $@
599 # Special .o files
603 c_sysinfo.o: c_sysinfo.c ${MAKE_FILE}
604 ${CC} ${CFLAGS} c_sysinfo.c -c
608 # used by the upper level Makefile
612 # to determine of we have done all
614 .all:
615 ${RM} -f .all
616 ${TOUCH} .all
620 # building calc-static and static lib*.a libraires
624 libcustcalc.a: ${CUSTCALC_OBJ} ${MAKE_FILE}
625 ${RM} -f libcustcalc.a
626 ${AR} qc libcustcalc.a ${CUSTCALC_OBJ}
627 ${RANLIB} libcustcalc.a
628 ${CHMOD} 0644 libcustcalc.a
632 # File list generation. You can ignore this section.
635 # We will form the names of source files as if they were in a
636 # sub-directory called calc/lib.
638 # NOTE: Due to bogus shells found on one common system we must have
639 # an non-emoty else clause for every if condition. *sigh*
643 distlist: ${DISTLIST}
644 ${Q} for i in ${DISTLIST} /dev/null; do \
645 if [ X"$$i" != X"/dev/null" ]; then \
646 echo custom/$$i; \
647 fi; \
648 done
650 distdir:
651 ${Q} echo custom
653 calcliblist: ${CALCLIBLIST}
654 ${Q} for i in ${CALCLIBLIST} /dev/null; do \
655 if [ X"$$i" != X"/dev/null" ]; then \
656 echo custom/$$i; \
657 fi; \
658 done
663 # Home grown make dependency rules. Your system make not support
664 # or have the needed tools. You can ignore this section.
666 # We will form a skelaton tree of *.c files containing only #include "foo.h"
667 # lines and .h files containing the same lines surrounded by multiple include
668 # prevention lines. This allows us to build a static depend list that will
669 # satisfy all possible cpp symbol definition combinations.
673 depend:
674 ${Q} if [ -f ${MAKE_FILE}.bak ]; then \
675 echo "${MAKE_FILE}.bak exists, remove or move it"; \
676 exit 1; \
677 else \
678 ${TRUE}; \
680 ${Q} echo forming custom/skel
681 ${Q} ${RM} -rf skel
682 ${Q} ${MKDIR} skel
683 ${Q} ${MKDIR} skel/custom
684 -${Q} for i in ${C_SRC} /dev/null; do \
685 if [ X"$$i" != X"/dev/null" ]; then \
686 ${SED} -n '/^#[ ]*include[ ]*"/p' \
687 "$$i" > "skel/custom/$$i"; \
688 fi; \
689 done
690 -${Q} for i in ${H_SRC} /dev/null; do \
691 if [ "$$i" = "/dev/null" ]; then \
692 continue; \
693 fi; \
694 tag="`echo $$i | ${SED} 's/[\.+,:]/_/g'`"; \
695 echo "#if !defined($$tag)" > "skel/custom/$$i"; \
696 echo "#define $$tag" >> "skel/custom/$$i"; \
697 ${SED} -n '/^#[ ]*include[ ]*"/p' "$$i" \
698 >> "skel/custom/$$i"; \
699 echo '#endif /* '"$$tag"' */' >> "skel/custom/$$i"; \
700 done
701 ${Q} (cd ..; ${MAKE} -f ${TOP_MAKE_FILE} hsrc)
702 ${Q} for i in `cd ..; ${MAKE} -f ${TOP_MAKE_FILE} h_list 2>&1 | \
703 ${SED} -e '/Entering directory/d' \
704 -e '/Nothing to be done/d' \
705 -e '/Leaving directory/d'` /dev/null; do \
706 if [ "$$i" = "/dev/null" ]; then \
707 continue; \
708 fi; \
709 tag="`echo $$i | ${SED} 's/[\.+,:]/_/g'`"; \
710 echo "#if !defined($$tag)" > "skel/$$i"; \
711 echo "#define $$tag" >> "skel/$$i"; \
712 ${SED} -n '/^#[ ]*include[ ]*"/p' "../$$i" \
713 >> "skel/$$i"; \
714 echo '#endif /* '"$$tag"' */' >> "skel/$$i"; \
715 done
716 ${Q} ${RM} -f skel/custom/makedep.out
717 ${Q} echo custom/skel formed
718 ${Q} echo forming custom dependency list
719 ${Q} :> skel/custom/makedep.out
720 ${Q} cd skel/custom; ${MAKEDEPEND} -I.. -w 1 -f makedep.out ${C_SRC}
721 -${Q} for i in ${C_SRC} /dev/null; do \
722 if [ X"$$i" != X"/dev/null" ]; then \
723 echo "$$i" | ${SED} 's/^\(.*\)\.c/\1.o: \1.c/'; \
724 fi; \
725 done >> skel/custom/makedep.out
726 ${Q} LANG=C ${SORT} -u skel/custom/makedep.out \
727 -o skel/custom/makedep.out
728 ${Q} echo custom dependency list formed
729 ${Q} echo forming new custom/${MAKE_FILE}
730 ${Q} ${RM} -f ${MAKE_FILE}.bak
731 ${Q} ${MV} ${MAKE_FILE} ${MAKE_FILE}.bak
732 ${Q} ${SED} -n '1,/^# DO NOT DELETE THIS LINE/p' \
733 ${MAKE_FILE}.bak > ${MAKE_FILE}
734 ${Q} ${GREP} -v '^#' skel/custom/makedep.out >> ${MAKE_FILE}
735 ${Q} ${RM} -rf skel
736 -${Q} if ${CMP} -s ${MAKE_FILE}.bak ${MAKE_FILE}; then \
737 echo 'custom ${MAKE_FILE} was already up to date'; \
738 ${MV} -f ${MAKE_FILE}.bak ${MAKE_FILE}; \
739 else \
740 ${RM} -f ${MAKE_FILE}.tmp; \
741 ${MV} ${MAKE_FILE} ${MAKE_FILE}.tmp; \
742 if [ -d RCS -a ! -w "${MAKE_FILE}" ]; then \
743 ${CO} -l ${MAKE_FILE}; \
744 fi ;\
745 ${MV} ${MAKE_FILE}.tmp ${MAKE_FILE}; \
746 if [ -d RCS ]; then \
747 echo '****************************************************'; \
748 echo 'new custom ${MAKE_FILE} formed -- you to check it in'; \
749 echo '****************************************************'; \
750 fi; \
755 # rpm rules
759 echo_inst_files:
760 ${Q} for i in ${INSTALL_H_SRC} /dev/null; do \
761 if [ X"$$i" != X"/dev/null" ]; then \
762 echo __file__ ${CUSTOMINCDIR}/$$i; \
763 fi; \
764 done
765 ${Q} for i in ${CUSTOM_HELP} /dev/null; do \
766 if [ X"$$i" != X"/dev/null" ]; then \
767 echo __file__ ${CUSTOMHELPDIR}/$$i; \
768 fi; \
769 done
770 ${Q} for i in ${CUSTOM_CALC_FILES} /dev/null; do \
771 if [ X"$$i" != X"/dev/null" ]; then \
772 echo __file__ ${CUSTOMCALDIR}/$$i; \
773 fi; \
774 done
775 ${Q} for i in ${CALC_DYNAMIC_LIBCUSTCALC} /dev/null; do \
776 if [ X"$$i" != X"/dev/null" ]; then \
777 echo __file__ ${CUSTOMCALDIR}/$$i; \
778 fi; \
779 done
783 # Utility rules
787 clean:
788 ${RM} -f ${CUSTCALC_OBJ}
790 clobber: clean
791 ${RM} -f ${BLD_TYPE}
792 ${RM} -f .all ${MAKE_FILE}.tmp ${MAKE_FILE}.bak
793 ${RM} -f libcustcalc${LIB_EXT_VERSION}
794 ${RM} -f libcustcalc${LIB_EXT_VERS}
795 ${RM} -f libcustcalc${LIB_EXT_VER}
796 ${RM} -f libcustcalc${LIB_EXT_VE}
797 ${RM} -f libcustcalc${LIB_EXT}
798 ${RM} -f libcustcalc.a
800 # install everything
802 # NOTE: Keep the uninstall rule in reverse order to the install rule
804 install: all
805 -${Q} if [ ! -d ${T}${INCDIR} ]; then \
806 echo ${MKDIR} ${T}${INCDIR}; \
807 ${MKDIR} ${T}${INCDIR}; \
808 if [ ! -d "${T}${INCDIR}" ]; then \
809 echo ${MKDIR} -p "${T}${INCDIR}"; \
810 ${MKDIR} -p "${T}${INCDIR}"; \
811 fi; \
812 echo ${CHMOD} 0755 ${T}${INCDIR}; \
813 ${CHMOD} 0755 ${T}${INCDIR}; \
814 else \
815 ${TRUE}; \
817 -${Q} if [ ! -d ${T}${CALC_SHAREDIR} ]; then \
818 echo ${MKDIR} ${T}${CALC_SHAREDIR}; \
819 ${MKDIR} ${T}${CALC_SHAREDIR}; \
820 if [ ! -d "${T}${CALC_SHAREDIR}" ]; then \
821 echo ${MKDIR} -p "${T}${CALC_SHAREDIR}"; \
822 ${MKDIR} -p "${T}${CALC_SHAREDIR}"; \
823 fi; \
824 echo ${CHMOD} 0755 ${T}${CALC_SHAREDIR}; \
825 ${CHMOD} 0755 ${T}${CALC_SHAREDIR}; \
826 else \
827 ${TRUE}; \
829 -${Q} if [ ! -d ${T}${CALC_INCDIR} ]; then \
830 echo ${MKDIR} ${T}${CALC_INCDIR}; \
831 ${MKDIR} ${T}${CALC_INCDIR}; \
832 if [ ! -d "${T}${CALC_INCDIR}" ]; then \
833 echo ${MKDIR} -p "${T}${CALC_INCDIR}"; \
834 ${MKDIR} -p "${T}${CALC_INCDIR}"; \
835 fi; \
836 echo ${CHMOD} 0755 ${T}${CALC_INCDIR}; \
837 ${CHMOD} 0755 ${T}${CALC_INCDIR}; \
838 else \
839 ${TRUE}; \
841 -${Q} if [ ! -d ${T}${HELPDIR} ]; then \
842 echo ${MKDIR} ${T}${HELPDIR}; \
843 ${MKDIR} ${T}${HELPDIR}; \
844 if [ ! -d "${T}${HELPDIR}" ]; then \
845 echo ${MKDIR} -p "${T}${HELPDIR}"; \
846 ${MKDIR} -p "${T}${HELPDIR}"; \
847 fi; \
848 echo ${CHMOD} 0755 ${T}${HELPDIR}; \
849 ${CHMOD} 0755 ${T}${HELPDIR}; \
850 else \
851 ${TRUE}; \
853 -${Q} if [ ! -d ${T}${CUSTOMCALDIR} ]; then \
854 echo ${MKDIR} ${T}${CUSTOMCALDIR}; \
855 ${MKDIR} ${T}${CUSTOMCALDIR}; \
856 if [ ! -d "${T}${CUSTOMCALDIR}" ]; then \
857 echo ${MKDIR} -p "${T}${CUSTOMCALDIR}"; \
858 ${MKDIR} -p "${T}${CUSTOMCALDIR}"; \
859 fi; \
860 echo ${CHMOD} 0755 ${T}${CUSTOMCALDIR}; \
861 ${CHMOD} 0755 ${T}${CUSTOMCALDIR}; \
862 else \
863 ${TRUE}; \
865 -${Q} if [ ! -d ${T}${CUSTOMHELPDIR} ]; then \
866 echo ${MKDIR} ${T}${CUSTOMHELPDIR}; \
867 ${MKDIR} ${T}${CUSTOMHELPDIR}; \
868 if [ ! -d "${T}${CUSTOMHELPDIR}" ]; then \
869 echo ${MKDIR} -p "${T}${CUSTOMHELPDIR}"; \
870 ${MKDIR} -p "${T}${CUSTOMHELPDIR}"; \
871 fi; \
872 echo ${CHMOD} 0755 ${T}${CUSTOMHELPDIR}; \
873 ${CHMOD} 0755 ${T}${CUSTOMHELPDIR}; \
874 else \
875 ${TRUE}; \
877 -${Q} if [ ! -d ${T}${CUSTOMINCDIR} ]; then \
878 echo ${MKDIR} ${T}${CUSTOMINCDIR}; \
879 ${MKDIR} ${T}${CUSTOMINCDIR}; \
880 if [ ! -d "${T}${CUSTOMINCDIR}" ]; then \
881 echo ${MKDIR} -p "${T}${CUSTOMINCDIR}"; \
882 ${MKDIR} -p "${T}${CUSTOMINCDIR}"; \
883 fi; \
884 echo ${CHMOD} 0755 ${T}${CUSTOMINCDIR}; \
885 ${CHMOD} 0755 ${T}${CUSTOMINCDIR}; \
886 else \
887 ${TRUE}; \
889 -${Q} for i in ${INSTALL_H_SRC} /dev/null; do \
890 if [ "$$i" = "/dev/null" ]; then \
891 continue; \
892 fi; \
893 if ${CMP} -s "$$i" ${T}${CUSTOMINCDIR}/$$i; then \
894 ${TRUE}; \
895 else \
896 ${RM} -f ${T}${CUSTOMINCDIR}/$$i.new; \
897 ${CP} -f $$i ${T}${CUSTOMINCDIR}/$$i.new; \
898 ${CHMOD} 0444 ${T}${CUSTOMINCDIR}/$$i.new; \
899 ${MV} -f ${T}${CUSTOMINCDIR}/$$i.new ${T}${CUSTOMINCDIR}/$$i; \
900 echo "installed ${T}${CUSTOMINCDIR}/$$i"; \
901 fi; \
902 done
903 -${Q} for i in ${CUSTOM_CALC_FILES} /dev/null; do \
904 if [ "$$i" = "/dev/null" ]; then \
905 continue; \
906 fi; \
907 if ${CMP} -s $$i ${T}${CUSTOMCALDIR}/$$i; then \
908 ${TRUE}; \
909 else \
910 ${RM} -f ${T}${CUSTOMCALDIR}/$$i.new; \
911 ${CP} -f $$i ${T}${CUSTOMCALDIR}/$$i.new; \
912 ${CHMOD} 0444 ${T}${CUSTOMCALDIR}/$$i.new; \
913 ${MV} -f ${T}${CUSTOMCALDIR}/$$i.new ${T}${CUSTOMCALDIR}/$$i; \
914 echo "installed ${T}${CUSTOMCALDIR}/$$i"; \
915 fi; \
916 done
917 -${Q} for i in ${CUSTOM_HELP} /dev/null; do \
918 if [ "$$i" = "/dev/null" ]; then \
919 continue; \
920 fi; \
921 if ${CMP} -s $$i ${T}${CUSTOMHELPDIR}/$$i; then \
922 ${TRUE}; \
923 else \
924 ${RM} -f ${T}${CUSTOMHELPDIR}/$$i.new; \
925 ${CP} -f $$i ${T}${CUSTOMHELPDIR}/$$i.new; \
926 ${CHMOD} 0444 ${T}${CUSTOMHELPDIR}/$$i.new; \
927 ${MV} -f ${T}${CUSTOMHELPDIR}/$$i.new \
928 ${T}${CUSTOMHELPDIR}/$$i; \
929 echo "installed ${T}${CUSTOMHELPDIR}/$$i"; \
930 fi; \
931 done
932 -${Q} if [ -f "${T}${CUSTOMCALDIR}/libcustcalc.a" ]; then \
933 ${RM} -f ${T}${CUSTOMCALDIR}/libcustcalc.a; \
934 echo "removed old ${T}${CUSTOMCALDIR}/libcustcalc.a"; \
936 -${Q} if [ ! -z ${ALLOW_CUSTOM} ]; then \
937 if [ -f libcustcalc.a ]; then \
938 if ${CMP} -s libcustcalc.a ${T}${LIBDIR}/libcustcalc.a; then \
939 ${TRUE}; \
940 else \
941 ${RM} -f ${T}${LIBDIR}/libcustcalc.a.new; \
942 ${CP} -f libcustcalc.a ${T}${LIBDIR}/libcustcalc.a.new; \
943 ${CHMOD} 0644 ${T}${LIBDIR}/libcustcalc.a.new; \
944 ${MV} -f ${T}${LIBDIR}/libcustcalc.a.new \
945 ${T}${LIBDIR}/libcustcalc.a; \
946 ${RANLIB} ${T}${LIBDIR}/libcustcalc.a; \
947 echo "installed ${T}${LIBDIR}/libcustcalc.a"; \
948 fi; \
949 fi; \
951 ${Q}# NOTE: The upper level makefile installs the file
952 ${Q}# libcustcalc${LIB_EXT_VERSION} because we only want to
953 ${Q}# perform one ${LDCONFIG} for both libcalc${LIB_EXT_VERSION}
954 ${Q}# and libcustcalc${LIB_EXT_VERSION}.
956 # Try to remove everything that was installed
958 # NOTE: Keep the uninstall rule in reverse order to the install rule
960 uninstall:
961 -${Q} if [ -f "${T}${CUSTOMCALDIR}/libcustcalc.a" ]; then \
962 ${RM} -f "${T}${CUSTOMCALDIR}/libcustcalc.a"; \
963 if [ -f "${T}${CUSTOMCALDIR}/libcustcalc.a" ]; then \
964 echo "cannot uninstall ${T}${CUSTOMCALDIR}/libcustcalc.a"; \
965 else \
966 echo "uninstalled ${T}${CUSTOMCALDIR}/libcustcalc.a"; \
967 fi; \
969 -${Q} for i in ${CUSTOM_HELP} /dev/null; do \
970 if [ "$$i" = "/dev/null" ]; then \
971 continue; \
972 fi; \
973 if [ -f "${T}${CUSTOMHELPDIR}/$$i" ]; then \
974 ${RM} -f "${T}${CUSTOMHELPDIR}/$$i"; \
975 if [ -f "${T}${CUSTOMHELPDIR}/$$i" ]; then \
976 echo "cannot uninstall ${T}${CUSTOMHELPDIR}/$$i"; \
977 else \
978 echo "uninstalled ${T}${CUSTOMHELPDIR}/$$i"; \
979 fi; \
980 fi; \
981 done
982 -${Q} for i in ${CUSTOM_CALC_FILES} /dev/null; do \
983 if [ "$$i" = "/dev/null" ]; then \
984 continue; \
985 fi; \
986 if [ -f "${T}${CUSTOMCALDIR}/$$i" ]; then \
987 ${RM} -f "${T}${CUSTOMCALDIR}/$$i"; \
988 if [ -f "${T}${CUSTOMCALDIR}/$$i" ]; then \
989 echo "cannot uninstall ${T}${CUSTOMCALDIR}/$$i"; \
990 else \
991 echo "uninstalled ${T}${CUSTOMCALDIR}/$$i"; \
992 fi; \
993 fi; \
994 done
995 -${Q} for i in ${INSTALL_H_SRC} /dev/null; do \
996 if [ "$$i" = "/dev/null" ]; then \
997 continue; \
998 fi; \
999 if [ -f "${T}${CUSTOMINCDIR}/$$i" ]; then \
1000 ${RM} -f "${T}${CUSTOMINCDIR}/$$i"; \
1001 if [ -f "${T}${CUSTOMINCDIR}/$$i" ]; then \
1002 echo "cannot uninstall ${T}${CUSTOMINCDIR}/$$i"; \
1003 else \
1004 echo "uninstalled ${T}${CUSTOMINCDIR}/$$i"; \
1005 fi; \
1006 fi; \
1007 done
1008 -${Q} for i in ${CUSTOMINCDIR} ${CUSTOMHELPDIR} ${CUSTOMCALDIR} \
1009 ${HELPDIR} ${CALC_INCDIR} ${CALC_SHAREDIR} ${INCDIR}; do \
1010 if [ -d "${T}$$i" ]; then \
1011 ${RMDIR} "${T}$$i" 2>/dev/null; \
1012 echo "cleaned up ${T}$$i"; \
1013 fi; \
1014 done
1018 # make depend stuff
1022 # DO NOT DELETE THIS LINE -- make depend depends on it.
1024 c_argv.o: ../alloc.h
1025 c_argv.o: ../block.h
1026 c_argv.o: ../byteswap.h
1027 c_argv.o: ../calc.h
1028 c_argv.o: ../calcerr.h
1029 c_argv.o: ../cmath.h
1030 c_argv.o: ../config.h
1031 c_argv.o: ../custom.h
1032 c_argv.o: ../decl.h
1033 c_argv.o: ../endian_calc.h
1034 c_argv.o: ../hash.h
1035 c_argv.o: ../have_const.h
1036 c_argv.o: ../have_memmv.h
1037 c_argv.o: ../have_newstr.h
1038 c_argv.o: ../have_stdlib.h
1039 c_argv.o: ../have_string.h
1040 c_argv.o: ../have_unused.h
1041 c_argv.o: ../longbits.h
1042 c_argv.o: ../nametype.h
1043 c_argv.o: ../qmath.h
1044 c_argv.o: ../sha1.h
1045 c_argv.o: ../str.h
1046 c_argv.o: ../value.h
1047 c_argv.o: ../zmath.h
1048 c_argv.o: c_argv.c
1049 c_devnull.o: ../alloc.h
1050 c_devnull.o: ../block.h
1051 c_devnull.o: ../byteswap.h
1052 c_devnull.o: ../calcerr.h
1053 c_devnull.o: ../cmath.h
1054 c_devnull.o: ../config.h
1055 c_devnull.o: ../custom.h
1056 c_devnull.o: ../decl.h
1057 c_devnull.o: ../endian_calc.h
1058 c_devnull.o: ../hash.h
1059 c_devnull.o: ../have_const.h
1060 c_devnull.o: ../have_memmv.h
1061 c_devnull.o: ../have_newstr.h
1062 c_devnull.o: ../have_stdlib.h
1063 c_devnull.o: ../have_string.h
1064 c_devnull.o: ../have_unistd.h
1065 c_devnull.o: ../have_unused.h
1066 c_devnull.o: ../longbits.h
1067 c_devnull.o: ../nametype.h
1068 c_devnull.o: ../qmath.h
1069 c_devnull.o: ../sha1.h
1070 c_devnull.o: ../str.h
1071 c_devnull.o: ../value.h
1072 c_devnull.o: ../zmath.h
1073 c_devnull.o: c_devnull.c
1074 c_help.o: ../alloc.h
1075 c_help.o: ../block.h
1076 c_help.o: ../byteswap.h
1077 c_help.o: ../calcerr.h
1078 c_help.o: ../cmath.h
1079 c_help.o: ../config.h
1080 c_help.o: ../custom.h
1081 c_help.o: ../decl.h
1082 c_help.o: ../endian_calc.h
1083 c_help.o: ../hash.h
1084 c_help.o: ../have_const.h
1085 c_help.o: ../have_memmv.h
1086 c_help.o: ../have_newstr.h
1087 c_help.o: ../have_stdlib.h
1088 c_help.o: ../have_string.h
1089 c_help.o: ../have_unistd.h
1090 c_help.o: ../have_unused.h
1091 c_help.o: ../longbits.h
1092 c_help.o: ../nametype.h
1093 c_help.o: ../qmath.h
1094 c_help.o: ../sha1.h
1095 c_help.o: ../str.h
1096 c_help.o: ../value.h
1097 c_help.o: ../zmath.h
1098 c_help.o: c_help.c
1099 c_pmodm127.o: ../alloc.h
1100 c_pmodm127.o: ../block.h
1101 c_pmodm127.o: ../byteswap.h
1102 c_pmodm127.o: ../calcerr.h
1103 c_pmodm127.o: ../cmath.h
1104 c_pmodm127.o: ../config.h
1105 c_pmodm127.o: ../custom.h
1106 c_pmodm127.o: ../decl.h
1107 c_pmodm127.o: ../endian_calc.h
1108 c_pmodm127.o: ../hash.h
1109 c_pmodm127.o: ../have_const.h
1110 c_pmodm127.o: ../have_memmv.h
1111 c_pmodm127.o: ../have_newstr.h
1112 c_pmodm127.o: ../have_stdlib.h
1113 c_pmodm127.o: ../have_string.h
1114 c_pmodm127.o: ../have_unused.h
1115 c_pmodm127.o: ../longbits.h
1116 c_pmodm127.o: ../nametype.h
1117 c_pmodm127.o: ../qmath.h
1118 c_pmodm127.o: ../sha1.h
1119 c_pmodm127.o: ../str.h
1120 c_pmodm127.o: ../value.h
1121 c_pmodm127.o: ../zmath.h
1122 c_pmodm127.o: c_pmodm127.c
1123 c_pzasusb8.o: ../alloc.h
1124 c_pzasusb8.o: ../block.h
1125 c_pzasusb8.o: ../byteswap.h
1126 c_pzasusb8.o: ../calcerr.h
1127 c_pzasusb8.o: ../cmath.h
1128 c_pzasusb8.o: ../config.h
1129 c_pzasusb8.o: ../custom.h
1130 c_pzasusb8.o: ../decl.h
1131 c_pzasusb8.o: ../endian_calc.h
1132 c_pzasusb8.o: ../hash.h
1133 c_pzasusb8.o: ../have_const.h
1134 c_pzasusb8.o: ../have_memmv.h
1135 c_pzasusb8.o: ../have_newstr.h
1136 c_pzasusb8.o: ../have_stdlib.h
1137 c_pzasusb8.o: ../have_string.h
1138 c_pzasusb8.o: ../have_unused.h
1139 c_pzasusb8.o: ../longbits.h
1140 c_pzasusb8.o: ../nametype.h
1141 c_pzasusb8.o: ../qmath.h
1142 c_pzasusb8.o: ../sha1.h
1143 c_pzasusb8.o: ../str.h
1144 c_pzasusb8.o: ../value.h
1145 c_pzasusb8.o: ../zmath.h
1146 c_pzasusb8.o: c_pzasusb8.c
1147 c_register.o: ../alloc.h
1148 c_register.o: ../block.h
1149 c_register.o: ../byteswap.h
1150 c_register.o: ../calc.h
1151 c_register.o: ../calcerr.h
1152 c_register.o: ../cmath.h
1153 c_register.o: ../config.h
1154 c_register.o: ../custom.h
1155 c_register.o: ../decl.h
1156 c_register.o: ../endian_calc.h
1157 c_register.o: ../hash.h
1158 c_register.o: ../have_const.h
1159 c_register.o: ../have_memmv.h
1160 c_register.o: ../have_newstr.h
1161 c_register.o: ../have_stdlib.h
1162 c_register.o: ../have_string.h
1163 c_register.o: ../have_unused.h
1164 c_register.o: ../longbits.h
1165 c_register.o: ../nametype.h
1166 c_register.o: ../qmath.h
1167 c_register.o: ../sha1.h
1168 c_register.o: ../str.h
1169 c_register.o: ../value.h
1170 c_register.o: ../zmath.h
1171 c_register.o: c_register.c
1172 c_sysinfo.o: ../alloc.h
1173 c_sysinfo.o: ../block.h
1174 c_sysinfo.o: ../byteswap.h
1175 c_sysinfo.o: ../calc.h
1176 c_sysinfo.o: ../calcerr.h
1177 c_sysinfo.o: ../cmath.h
1178 c_sysinfo.o: ../conf.h
1179 c_sysinfo.o: ../config.h
1180 c_sysinfo.o: ../custom.h
1181 c_sysinfo.o: ../decl.h
1182 c_sysinfo.o: ../endian_calc.h
1183 c_sysinfo.o: ../fposval.h
1184 c_sysinfo.o: ../hash.h
1185 c_sysinfo.o: ../have_const.h
1186 c_sysinfo.o: ../have_memmv.h
1187 c_sysinfo.o: ../have_newstr.h
1188 c_sysinfo.o: ../have_stdlib.h
1189 c_sysinfo.o: ../have_string.h
1190 c_sysinfo.o: ../have_unused.h
1191 c_sysinfo.o: ../hist.h
1192 c_sysinfo.o: ../lib_calc.h
1193 c_sysinfo.o: ../longbits.h
1194 c_sysinfo.o: ../nametype.h
1195 c_sysinfo.o: ../prime.h
1196 c_sysinfo.o: ../qmath.h
1197 c_sysinfo.o: ../sha1.h
1198 c_sysinfo.o: ../str.h
1199 c_sysinfo.o: ../value.h
1200 c_sysinfo.o: ../zmath.h
1201 c_sysinfo.o: ../zrand.h
1202 c_sysinfo.o: ../zrandom.h
1203 c_sysinfo.o: c_sysinfo.c
1204 custtbl.o: ../alloc.h
1205 custtbl.o: ../block.h
1206 custtbl.o: ../byteswap.h
1207 custtbl.o: ../calcerr.h
1208 custtbl.o: ../cmath.h
1209 custtbl.o: ../config.h
1210 custtbl.o: ../custom.h
1211 custtbl.o: ../decl.h
1212 custtbl.o: ../endian_calc.h
1213 custtbl.o: ../hash.h
1214 custtbl.o: ../have_const.h
1215 custtbl.o: ../have_memmv.h
1216 custtbl.o: ../have_newstr.h
1217 custtbl.o: ../have_stdlib.h
1218 custtbl.o: ../have_string.h
1219 custtbl.o: ../longbits.h
1220 custtbl.o: ../nametype.h
1221 custtbl.o: ../qmath.h
1222 custtbl.o: ../sha1.h
1223 custtbl.o: ../str.h
1224 custtbl.o: ../value.h
1225 custtbl.o: ../zmath.h
1226 custtbl.o: custtbl.c
1228 Makefile.simple:
1229 ${Q} if [ ! -f Makefile.simple ]; then \
1230 ${CP} -f ${MAKE_FILE} $@; fi