--- kic-2.4a.orig/configure +++ kic-2.4a/configure @@ -2161,7 +2161,10 @@ LIBS="-lgdi32 -lwinspool -lcomdlg32 -lole32 -loleaut32 -luuid \ -lodbc32 -lversion -lcomctl32 -lwsock32 -lws2_32 $LIBS" else - LIBS="-L$ac_x_libraries -lX11 $LIBS" + LIBS="-lX11 -lXmu -lXext $LIBS" + if test -n "$ac_x_libraries"; then + LIBS="-L$ac_x_libraries $LIBS" + fi fi CFLAGS="$CFLAGS -DUSE_OLD_MALLOC" --- kic-2.4a.orig/configure.in +++ kic-2.4a/configure.in @@ -93,7 +93,10 @@ LIBS="-lgdi32 -lwinspool -lcomdlg32 -lole32 -loleaut32 -luuid \ -lodbc32 -lversion -lcomctl32 -lwsock32 -lws2_32 $LIBS" else - LIBS="-L$ac_x_libraries -lX11 $LIBS" + LIBS="-lX11 -lXmu -lXext $LIBS" + if test -n "$ac_x_libraries"; then + LIBS="-L$ac_x_libraries $LIBS" + fi fi CFLAGS="$CFLAGS -DUSE_OLD_MALLOC" --- kic-2.4a.orig/debian/changelog +++ kic-2.4a/debian/changelog @@ -0,0 +1,28 @@ +kic (2.4a-2build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:30:59 +0000 + +kic (2.4a-2) unstable; urgency=medium + + * QA upload. + * Set Maintainer to Debian QA Group. (See: #691834) + * configure: Do not add -L without argument to $LIBS. (Closes: #793367) + + -- Andreas Beckmann Thu, 23 Jul 2015 21:22:02 +0200 + +kic (2.4a-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/control: + - Maintainer email address was invalid and bounced. Update it to + use a valid address. (Closes: #685959) + + -- Markus Koschany Wed, 12 Sep 2012 15:43:26 +0200 + +kic (2.4a-1) unstable; urgency=low + + * Initial release (Closes: #448342) + + -- Gürkan Sengün Mon, 08 Oct 2007 11:16:00 +0200 --- kic-2.4a.orig/debian/compat +++ kic-2.4a/debian/compat @@ -0,0 +1 @@ +5 --- kic-2.4a.orig/debian/control +++ kic-2.4a/debian/control @@ -0,0 +1,14 @@ +Source: kic +Section: non-free/x11 +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian QA Group +Build-Depends: debhelper (>= 5), autotools-dev, libxmu-dev, libxmuu-dev, libxext-dev, libxdmcp-dev +Standards-Version: 3.7.2 + +Package: kic +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Enhanced KIC layout editor + This is an interactive graphical editor for drawing patterns used to generate + photomasks for lithography (production of integrated circuits). --- kic-2.4a.orig/debian/copyright +++ kic-2.4a/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Gürkan Sengün on +Mon, 08 Oct 2007 11:16:00 +0200. + +It was downloaded from ftp://ftp.srware.com/pub/ + +Upstream Authors: + + Stephen R. Whiteley + Wayne A. Christopher + Kenneth H. Keller + Giles C. Billingsley + +Copyright: + + Copyright (C) 1992-2005 Stephen R. Whiteley + Copyright (C) 1981 Kenneth H. Keller + Copyright (C) 1981 Giles C. Billingsley + Copyright (c) 1986 Wayne A. Christopher, U. C. Berkeley CAD Group + +License: + + The program KIC is available free of charge to any interested party. + The sale, resale, or use of this program for profit without the + express written consent of the Department of Electrical Engineering + and Computer Sciences, University of California, Berkeley, California, + is forbidden. + + Permission is granted to modify and re-distribute this code in any manner + as long as this notice is preserved. All standard disclaimers apply. + +The Debian packaging is (C) 2007, Gürkan Sengün and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- kic-2.4a.orig/debian/dirs +++ kic-2.4a/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/kic --- kic-2.4a.orig/debian/docs +++ kic-2.4a/debian/docs @@ -0,0 +1 @@ +README --- kic-2.4a.orig/debian/kic.1 +++ kic-2.4a/debian/kic.1 @@ -0,0 +1,93 @@ +.TH KIC 1 "$Revision: 1.1 $" "$Date: 2007/11/06 16:11:07 $" "layout drawing" +.\" $Id: kic.1,v 1.1 2007/11/06 16:11:07 yargo Exp $ +.SH NAME +.B kic +\- an editor for integrated circuits and photolithography masks + +.SH SYNOPSIS +.B kic +.BI [-t\ ] +.BI [-d\ ] +.I [] +.TP +.I +Information about layer names and general preferences are taken from the file +stored in the library with the name +.B kic_tech. +, e.g with the option +.BI -t abc +, the technology file +.B kic_tech.abc +is used. Technology files are searched in the current directory or the one +defined with the environment variable +.BR KIC_LIB_DIR . +.TP +.I +is the X11 display name to be used. If not given, +.B $DISPLAY +will be used. +.TP +.I +is the file that should be edited. + +.SH DESCRIPTION + +.B kic +is an interactive graphical editor for drawing patterns used to generate +photomasks for lithography (production of integrated circuits etc). +Note from the README file accompanying the distribution: + +KIC is distributed by Whiteley Research Inc., www.wrcad.com. + +Disclaimer: Steve Whiteley and Whiteley Research Inc. don't guarantee +or imply that this software is suitable for any purpose. This is free +public domain software, use at your own risk. + +More help is to be found in the built-in help or in the stand-alone +help reader +.B kichelp +(which accesses the same file). + +.SH ENVIRONMENT +.IP KIC_LIB_DIR +directory where technology files, logo font, and help texts are stored +(default depends on the installation, probably /usr/lib/kic) + +.SH FILES +.IP $KIC_LIB_DIR/kic_help.txt +help file for +.B kichelp +and builtin help (formatted ASCII, can be modified) +.IP $KIC_LIB_DIR/kic_tech.* +technology files +.IP $KIC_LIB_DIR/logofont.kic +font for LOGO (text writing) command + +.SH BUGS +Too large files (flat of several dozens of MB) may hang the program. + +If a layer is not defined in the current technology file, the +program just complains and shows nothing. The user has to add the +layer manually (either with the ATTri command or in the technology +file itself). + +Layer names with less than 4 characters may not be recognized in +imported files, if the layer definition line does not end with ';' +(semicolon). + +Coordinates with resolutions below 1/10 of the unit (1um normally) +cannot be generated with KIC but are displayed correctly. Coordinate +entry (CTRL-E) is a replacement for pointing, therefore also subject +to grid snapping (i.e, truncation). + +.SH SEE ALSO +.B kichelp +(stand-alone help reader, no manpage) + +.SH AUTHOR +This manpage was written by Y.Bonetti +.br +[gopher://freeshell.org/1/users/yargo] +.br +for the Debian GNU/Linux project, based on the KIC sources, its +accompanying documentation, and experience. --- kic-2.4a.orig/debian/manpages +++ kic-2.4a/debian/manpages @@ -0,0 +1 @@ +debian/kic.1 --- kic-2.4a.orig/debian/menu +++ kic-2.4a/debian/menu @@ -0,0 +1,2 @@ +?package(kic):needs="X11" section="Applications/Science/Electronics" \ + title="KIC" command="/usr/bin/kic" --- kic-2.4a.orig/debian/rules +++ kic-2.4a/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) clean + rm -f config.sub config.guess + rm -f config.log config.cache config.status + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) prefix=$(CURDIR)/debian/kic/usr install + mv $(CURDIR)/debian/kic/usr/bin/c* $(CURDIR)/debian/kic/usr/lib/kic/ + mv $(CURDIR)/debian/kic/usr/bin/s* $(CURDIR)/debian/kic/usr/lib/kic/ + mv $(CURDIR)/debian/kic/usr/bin/kic?* $(CURDIR)/debian/kic/usr/lib/kic/ + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- kic-2.4a.orig/src/bin/Makefile +++ kic-2.4a/src/bin/Makefile @@ -0,0 +1,186 @@ +# Generated automatically from Makefile.in by configure. +####################################################################### +# src/bin/Makefile.in +####################################################################### +# $Id$ +####################################################################### + +VERSION = 2.4a +DATE = Sun Nov 25 17:27:43 CET 2007 + +prefix = /usr +CC = gcc +CFLAGS = -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H +LIBS = -L -lX11 -lXmu -lXext -lm +DEPEND_PROG = gcc -MM +RANLIB = ranlib +INSTALL = install +INSTALL_USER = -o root -g root +FILTER = +NTSUFFIX = +RESOURCE = +MFB = ../xmfb.a + +KIC_LIB_DIR = $(prefix)/lib/kic +KIC_EXEC_DIR = $(prefix)/bin + +####### Executable targets ############################################ + +INCLUDE = -I../include +TARGETS = kic kichelp kictocif ciftokic kictostr strtokic strmtext scale + +all: $(TARGETS:.exe=) + +kic: kicmain.o global.o $(RESOURCE) ../kic.a ../cd.a ../convert.a ../help.a \ + ../ginterf.a $(MFB) + $(CC) -o kic kicmain.o global.o $(RESOURCE) \ + ../kic.a ../cd.a ../convert.a ../help.a ../ginterf.a \ + $(MFB) $(LIBS) + +kichelp: helpmain.o global.o ../help.a $(MFB) ../cd.a + $(CC) $(CC_OPT) -o kichelp helpmain.o global.o ../help.a $(MFB) \ + ../cd.a $(LIBS) + +cif: ciftokic kictocif +kictocif: kictocif.o global.o ../kic.a ../cd.a + $(CC) -o kictocif kictocif.o global.o ../kic.a ../cd.a -lm + +ciftokic: ciftokic.o global.o ../cd.a + $(CC) -o ciftokic ciftokic.o global.o ../cd.a -lm + +stream: kictostr strtokic strmtext +kictostr: kictostr.o global.o ../kic.a ../cd.a + $(CC) -o kictostr kictostr.o global.o ../kic.a ../cd.a -lm + +strtokic: strtokic.o global.o ../cd.a + $(CC) -o strtokic strtokic.o global.o ../cd.a -lm + +strmtext: strmtext.o + $(CC) -o strmtext strmtext.o -lm + +scale: scale.o global.o ../kic.a ../cd.a + $(CC) -o scale scale.o global.o ../kic.a ../cd.a -lm + +####### Object file targets ########################################### + +.c.o: + $(CC) $(CFLAGS) $(INCLUDE) -c $*.c + +global.o: + $(CC) $(CFLAGS) -DKIC_LIB_DIR=\"$(KIC_LIB_DIR)\" \ + -DVERSION_STR="\"$(VERSION)\"" $(INCLUDE) -c $*.c + +kicrc.o: kic.rc + windres kic.rc kicrc.o + +####### Recursively generate libraries ################################ + +LIBRARIES = ../cd.a ../convert.a ../ginterf.a ../help.a ../kic.a $(MFB) + +$(LIBRARIES):: + cd $(@:.a=); $(MAKE) + +####### Dependencies ################################################## + +CFILES = ciftokic.c helpmain.c kictocif.c scale.c strtokic.c global.c \ + kicmain.c kictostr.c strmtext.c + +depend:: + @echo depending in src/bin + @if [ x$(DEPEND_DONE) = x ]; then \ + echo DEPEND_DONE = 1 >> Makefile; \ + $(DEPEND_PROG) $(INCLUDE) $(CFILES) $(FILTER) >> Makefile; \ + fi + -@cd ../cd; $(MAKE) depend + -@cd ../convert; $(MAKE) depend + -@cd ../ginterf; $(MAKE) depend + -@cd ../help; $(MAKE) depend + -@cd ../kic; $(MAKE) depend + -@if [ x$(MFB) != "x" ]; then \ + cd ../xmfb; $(MAKE) depend; \ + fi + +####### Clean up ###################################################### + +clean: + -cd ../cd; $(MAKE) clean + -cd ../convert; $(MAKE) clean + -cd ../ginterf; $(MAKE) clean + -cd ../help; $(MAKE) clean + -cd ../kic; $(MAKE) clean + -@if [ x$(MFB) != "x" ]; then \ + cd ../xmfb; $(MAKE) clean; \ + fi + -rm *.o kic$(NTSUFFIX) ciftokic$(NTSUFFIX) kictocif$(NTSUFFIX) \ + strtokic$(NTSUFFIX) kictostr$(NTSUFFIX) strmtext$(NTSUFFIX) \ + scale$(NTSUFFIX) kichelp$(NTSUFFIX) + +distclean:: + -cd ../cd; $(MAKE) distclean + -cd ../convert; $(MAKE) distclean + -cd ../ginterf; $(MAKE) distclean + -cd ../help; $(MAKE) distclean + -cd ../kic; $(MAKE) distclean + -@if [ x$(MFB) != "x" ]; then \ + cd ../xmfb; $(MAKE) distclean; \ + fi + -rm *.o kic$(NTSUFFIX) ciftokic$(NTSUFFIX) kictocif$(NTSUFFIX) \ + strtokic$(NTSUFFIX) kictostr$(NTSUFFIX) strmtext$(NTSUFFIX) \ + scale$(NTSUFFIX) kichelp$(NTSUFFIX) Makefile + +####### Install ####################################################### + +INSTALL_BIN = $(INSTALL) -sc -m 0755 $(INSTALL_USER) +INSTALL_LIB = $(INSTALL) -c -m 0644 $(INSTALL_USER) + +install: $(TARGETS) $(KIC_EXEC_DIR) $(KIC_LIB_DIR) +$(KIC_EXEC_DIR):: + @../../util/mkdirpth $@ + @for aa in $(TARGETS); \ + do \ + if [ -x $$aa$(NTSUFFIX) ]; then \ + echo installing $$aa in $(prefix)/bin; \ + $(INSTALL_BIN) $$aa$(NTSUFFIX) $(prefix)/bin; \ + else \ + echo Warning: executable $$aa$(NTSUFFIX) not found.; \ + fi \ + done + +$(KIC_LIB_DIR):: + @../../util/mkdirpth $@ + $(INSTALL_LIB) ../../startup/* $@ + +uninstall:: + -for aa in $(TARGETS); \ + do \ + if [ -x $(KIC_EXEC_DIR)/$$aa$(NTSUFFIX) ]; then \ + rm -f $(KIC_EXEC_DIR)/$$aa$(NTSUFFIX); \ + fi \ + done + -if [ -d $(KIC_LIB_DIR) ]; then \ + rm -rf $(KIC_LIB_DIR); \ + fi + +####################################################################### +DEPEND_DONE = 1 +ciftokic.o: ciftokic.c ../include/prefix.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h +helpmain.o: helpmain.c ../include/prefix.h ../include/hlpdefs.h +kictocif.o: kictocif.c ../include/prefix.h ../include/kic.h \ + ../include/cd.h ../include/nmalloc.h ../include/macros.h \ + ../include/cdext.h ../include/fb.h ../include/coords.h \ + ../include/kicext.h +scale.o: scale.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +strtokic.o: strtokic.c ../include/prefix.h ../include/stream.h +global.o: global.c ../include/prefix.h +kicmain.o: kicmain.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h \ + ../include/hlpdefs.h +kictostr.o: kictostr.c ../include/prefix.h ../include/stream.h \ + ../include/kic.h ../include/cd.h ../include/nmalloc.h \ + ../include/macros.h ../include/cdext.h ../include/fb.h \ + ../include/coords.h ../include/kicext.h +strmtext.o: strmtext.c ../include/prefix.h ../include/stream.h --- kic-2.4a.orig/src/cd/Makefile +++ kic-2.4a/src/cd/Makefile @@ -0,0 +1,78 @@ +# Generated automatically from Makefile.in by configure. +####################################################################### +# src/cd/Makefile.in +####################################################################### +# $Id$ +####################################################################### + +VERSION = 2.4a +DATE = Sun Nov 25 17:27:43 CET 2007 + +CC = gcc +CFLAGS = -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H +DEPEND_PROG = gcc -MM +RANLIB = ranlib +FILTER = + +LIB_TARGET = ../cd.a +HFILES = +CFILES = actions.c cd.c gencif.c misc.c nmalloc.c parser.c paths.c xforms.c +ALLFILES = $(CFILES) $(HFILES) Makefile.in +COBJS = $(CFILES:.c=.o) +INCLUDE = -I../include + +$(LIB_TARGET): $(COBJS) + ar r $(LIB_TARGET) $? + $(RANLIB) $(LIB_TARGET) + +co: $(ALLFILES) + +$(ALLFILES): + -@if [ ! -h $@ ]; then \ + co $@; \ + fi; + +ci: + -@for aa in $(ALLFILES); do\ + if [ ! -h $$aa ]; then \ + rcsdiff $$aa > /dev/null 2>&1; \ + if [ $$? = 1 ]; then \ + rcs -l $$aa > /dev/null 2>&1; \ + ci -r$(VERSION) $$aa; \ + fi; \ + fi \ + done + +.c.o: + $(CC) $(CFLAGS) $(INCLUDE) -c $*.c + +depend: + @echo depending in src/cd + @if [ x$(DEPEND_DONE) = x ]; then \ + echo DEPEND_DONE = 1 >> Makefile; \ + $(DEPEND_PROG) $(INCLUDE) $(CFILES) $(FILTER) >> Makefile; \ + fi + +clean: + -rm *.o $(LIB_TARGET) + +distclean: + -rm *.o $(LIB_TARGET) Makefile + +####################################################################### +DEPEND_DONE = 1 +actions.o: actions.c ../include/prefix.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/parser.h +cd.o: cd.c ../include/prefix.h ../include/cd.h ../include/nmalloc.h \ + ../include/macros.h ../include/cdext.h ../include/parser.h +gencif.o: gencif.c ../include/prefix.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h +misc.o: misc.c +nmalloc.o: nmalloc.c ../include/prefix.h ../include/nmalloc.h +parser.o: parser.c ../include/prefix.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/parser.h +paths.o: paths.c ../include/prefix.h +xforms.o: xforms.c ../include/prefix.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h --- kic-2.4a.orig/src/convert/Makefile +++ kic-2.4a/src/convert/Makefile @@ -0,0 +1,71 @@ +# Generated automatically from Makefile.in by configure. +####################################################################### +# src/convert/Makefile.in +####################################################################### +# $Id$ +####################################################################### + +VERSION = 2.4a +DATE = Sun Nov 25 17:27:43 CET 2007 + +CC = gcc +CFLAGS = -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H +DEPEND_PROG = gcc -MM +RANLIB = ranlib +FILTER = + +LIB_TARGET = ../convert.a +HFILES = +CFILES = convert.c convert1.c +ALLFILES = $(CFILES) $(HFILES) Makefile.in +COBJS = $(CFILES:.c=.o) +INCLUDE = -I../include + +$(LIB_TARGET): $(COBJS) + ar r $(LIB_TARGET) $? + $(RANLIB) $(LIB_TARGET) + +co: $(ALLFILES) + +$(ALLFILES): + -@if [ ! -h $@ ]; then \ + co $@; \ + fi; + +ci: + -@for aa in $(ALLFILES); do\ + if [ ! -h $$aa ]; then \ + rcsdiff $$aa > /dev/null 2>&1; \ + if [ $$? = 1 ]; then \ + rcs -l $$aa > /dev/null 2>&1; \ + ci -r$(VERSION) $$aa; \ + fi; \ + fi \ + done + +.c.o: + $(CC) $(CFLAGS) $(INCLUDE) -c $*.c + +depend: + @echo depending in src/convert + @if [ x$(DEPEND_DONE) = x ]; then \ + echo DEPEND_DONE = 1 >> Makefile; \ + $(DEPEND_PROG) $(INCLUDE) $(CFILES) $(FILTER) >> Makefile; \ + fi + +clean: + -rm *.o $(LIB_TARGET) + +distclean: + -rm *.o $(LIB_TARGET) Makefile + +####################################################################### +DEPEND_DONE = 1 +convert.o: convert.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h \ + ../include/stream.h +convert1.o: convert1.c ../include/prefix.h ../include/kic.h \ + ../include/cd.h ../include/nmalloc.h ../include/macros.h \ + ../include/cdext.h ../include/fb.h ../include/coords.h \ + ../include/kicext.h ../include/stream.h --- kic-2.4a.orig/src/ginterf/Makefile +++ kic-2.4a/src/ginterf/Makefile @@ -0,0 +1,72 @@ +# Generated automatically from Makefile.in by configure. +####################################################################### +# src/ginterf/Makefile.in +####################################################################### +# $Id$ +####################################################################### + +VERSION = 2.4a +DATE = Sun Nov 25 17:27:43 CET 2007 + +CC = gcc +CFLAGS = -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H +DEPEND_PROG = gcc -MM +RANLIB = ranlib +FILTER = + +LIB_TARGET = ../ginterf.a +HFILES = +CFILES = fb.c ginterf.c wfb.c +ALLFILES = $(CFILES) $(HFILES) Makefile.in +COBJS = $(CFILES:.c=.o) +INCLUDE = -I../include + +$(LIB_TARGET): $(COBJS) + ar r $(LIB_TARGET) $? + $(RANLIB) $(LIB_TARGET) + +co: $(ALLFILES) + +$(ALLFILES): + -@if [ ! -h $@ ]; then \ + co $@; \ + fi; + +ci: + -@for aa in $(ALLFILES); do\ + if [ ! -h $$aa ]; then \ + rcsdiff $$aa > /dev/null 2>&1; \ + if [ $$? = 1 ]; then \ + rcs -l $$aa > /dev/null 2>&1; \ + ci -r$(VERSION) $$aa; \ + fi; \ + fi \ + done + +.c.o: + $(CC) $(CFLAGS) $(INCLUDE) -c $*.c + +depend: + @echo depending in src/ginterf + @if [ x$(DEPEND_DONE) = x ]; then \ + echo DEPEND_DONE = 1 >> Makefile; \ + $(DEPEND_PROG) $(INCLUDE) $(CFILES) $(FILTER) >> Makefile; \ + fi + +clean: + -rm *.o $(LIB_TARGET) + +distclean: + -rm *.o $(LIB_TARGET) Makefile + +####################################################################### +DEPEND_DONE = 1 +fb.o: fb.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h \ + ../include/driver.h ../include/mfbext.h +ginterf.o: ginterf.c ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h \ + ../include/driver.h +wfb.o: wfb.c --- kic-2.4a.orig/src/help/Makefile +++ kic-2.4a/src/help/Makefile @@ -0,0 +1,67 @@ +# Generated automatically from Makefile.in by configure. +####################################################################### +# src/help/Makefile.in +####################################################################### +# $Id$ +####################################################################### + +VERSION = 2.4a +DATE = Sun Nov 25 17:27:43 CET 2007 + +CC = gcc +CFLAGS = -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H +DEPEND_PROG = gcc -MM +RANLIB = ranlib +FILTER = + +LIB_TARGET = ../help.a +HFILES = +CFILES = help.c provide.c readhelp.c textdisp.c +ALLFILES = $(CFILES) $(HFILES) Makefile.in +COBJS = $(CFILES:.c=.o) +INCLUDE = -I../include + +$(LIB_TARGET): $(COBJS) + ar r $(LIB_TARGET) $? + $(RANLIB) $(LIB_TARGET) + +co: $(ALLFILES) + +$(ALLFILES): + -@if [ ! -h $@ ]; then \ + co $@; \ + fi; + +ci: + -@for aa in $(ALLFILES); do\ + if [ ! -h $$aa ]; then \ + rcsdiff $$aa > /dev/null 2>&1; \ + if [ $$? = 1 ]; then \ + rcs -l $$aa > /dev/null 2>&1; \ + ci -r$(VERSION) $$aa; \ + fi; \ + fi \ + done + +.c.o: + $(CC) $(CFLAGS) $(INCLUDE) -c $*.c + +depend: + @echo depending in src/help + @if [ x$(DEPEND_DONE) = x ]; then \ + echo DEPEND_DONE = 1 >> Makefile; \ + $(DEPEND_PROG) $(INCLUDE) $(CFILES) $(FILTER) >> Makefile; \ + fi + +clean: + -rm *.o $(LIB_TARGET) + +distclean: + -rm *.o $(LIB_TARGET) Makefile + +####################################################################### +DEPEND_DONE = 1 +help.o: help.c ../include/prefix.h ../include/hlpdefs.h +provide.o: provide.c ../include/prefix.h ../include/hlpdefs.h +readhelp.o: readhelp.c ../include/prefix.h ../include/hlpdefs.h +textdisp.o: textdisp.c ../include/prefix.h ../include/hlpdefs.h --- kic-2.4a.orig/src/kic/Makefile +++ kic-2.4a/src/kic/Makefile @@ -0,0 +1,180 @@ +# Generated automatically from Makefile.in by configure. +####################################################################### +# src/kic/Makefile.in +####################################################################### +# $Id$ +####################################################################### + +VERSION = 2.4a +DATE = Sun Nov 25 17:27:43 CET 2007 + +CC = gcc +CFLAGS = -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H +DEPEND_PROG = gcc -MM +RANLIB = ranlib +FILTER = + +LIB_TARGET = ../kic.a +HFILES = +CFILES = 45s.c attri.c basic.c boxes.c break.c change.c contexts.c copy.c \ + debug.c delete.c dir.c erase.c flatten.c grid.c hcopy.c init.c instance.c \ + labels.c lineclip.c lines.c logo.c measure.c modify.c more.c point.c \ + polyclip.c polygns.c prpty.c redispla.c select.c sline.c techfile.c \ + viewport.c wires.c xorbox.c zoom.c +ALLFILES = $(CFILES) $(HFILES) Makefile.in +COBJS = $(CFILES:.c=.o) +INCLUDE = -I../include + +$(LIB_TARGET): $(COBJS) + ar r $(LIB_TARGET) $? + $(RANLIB) $(LIB_TARGET) + +co: $(ALLFILES) + +$(ALLFILES): + -@if [ ! -h $@ ]; then \ + co $@; \ + fi; + +ci: + -@for aa in $(ALLFILES); do\ + if [ ! -h $$aa ]; then \ + rcsdiff $$aa > /dev/null 2>&1; \ + if [ $$? = 1 ]; then \ + rcs -l $$aa > /dev/null 2>&1; \ + ci -r$(VERSION) $$aa; \ + fi; \ + fi \ + done + +.c.o: + $(CC) $(CFLAGS) $(INCLUDE) -c $*.c + +depend: + @echo depending in src/kic + @if [ x$(DEPEND_DONE) = x ]; then \ + echo DEPEND_DONE = 1 >> Makefile; \ + $(DEPEND_PROG) $(INCLUDE) $(CFILES) $(FILTER) >> Makefile; \ + fi + +clean: + -rm *.o $(LIB_TARGET) + +distclean: + -rm *.o $(LIB_TARGET) Makefile + +####################################################################### +DEPEND_DONE = 1 +45s.o: 45s.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +attri.o: attri.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +basic.o: basic.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +boxes.o: boxes.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +break.o: break.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +change.o: change.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +contexts.o: contexts.c ../include/prefix.h ../include/kic.h \ + ../include/cd.h ../include/nmalloc.h ../include/macros.h \ + ../include/cdext.h ../include/fb.h ../include/coords.h \ + ../include/kicext.h +copy.o: copy.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +debug.o: debug.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +delete.o: delete.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +dir.o: dir.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +erase.o: erase.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +flatten.o: flatten.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +grid.o: grid.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +hcopy.o: hcopy.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +init.o: init.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +instance.o: instance.c ../include/prefix.h ../include/kic.h \ + ../include/cd.h ../include/nmalloc.h ../include/macros.h \ + ../include/cdext.h ../include/fb.h ../include/coords.h \ + ../include/kicext.h +labels.o: labels.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +lineclip.o: lineclip.c ../include/prefix.h ../include/kic.h \ + ../include/cd.h ../include/nmalloc.h ../include/macros.h \ + ../include/cdext.h ../include/fb.h ../include/coords.h \ + ../include/kicext.h +lines.o: lines.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +logo.o: logo.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +measure.o: measure.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +modify.o: modify.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +more.o: more.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +point.o: point.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +polyclip.o: polyclip.c ../include/prefix.h ../include/kic.h \ + ../include/cd.h ../include/nmalloc.h ../include/macros.h \ + ../include/cdext.h ../include/fb.h ../include/coords.h \ + ../include/kicext.h +polygns.o: polygns.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +prpty.o: prpty.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +redispla.o: redispla.c ../include/prefix.h ../include/kic.h \ + ../include/cd.h ../include/nmalloc.h ../include/macros.h \ + ../include/cdext.h ../include/fb.h ../include/coords.h \ + ../include/kicext.h +select.o: select.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +sline.o: sline.c +techfile.o: techfile.c ../include/prefix.h ../include/kic.h \ + ../include/cd.h ../include/nmalloc.h ../include/macros.h \ + ../include/cdext.h ../include/fb.h ../include/coords.h \ + ../include/kicext.h +viewport.o: viewport.c ../include/prefix.h ../include/kic.h \ + ../include/cd.h ../include/nmalloc.h ../include/macros.h \ + ../include/cdext.h ../include/fb.h ../include/coords.h \ + ../include/kicext.h +wires.o: wires.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +xorbox.o: xorbox.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h +zoom.o: zoom.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h --- kic-2.4a.orig/src/xmfb/Makefile +++ kic-2.4a/src/xmfb/Makefile @@ -0,0 +1,77 @@ +# Generated automatically from Makefile.in by configure. +####################################################################### +# src/xmfb/Makefile.in +####################################################################### +# $Id$ +####################################################################### + +VERSION = 2.4a +DATE = Sun Nov 25 17:27:43 CET 2007 + +CC = gcc +CFLAGS = -O -Wall -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H +DEPEND_PROG = gcc -MM +RANLIB = ranlib +FILTER = +X_INC = + +LIB_TARGET = ../xmfb.a +HFILES = +CFILES = 6x8font.c 8x14font.c 8x16font.c 8x8font.c mfb.c mfbcsdl.c mfbtext.c \ + text1.c xfb.c +ALLFILES = $(CFILES) $(HFILES) Makefile.in +COBJS = $(CFILES:.c=.o) +INCLUDE = -I../include $(X_INC) + +$(LIB_TARGET): $(COBJS) + ar r $(LIB_TARGET) $? + $(RANLIB) $(LIB_TARGET) + +co: $(ALLFILES) + +$(ALLFILES): + -@if [ ! -h $@ ]; then \ + co $@; \ + fi; + +ci: + -@for aa in $(ALLFILES); do\ + if [ ! -h $$aa ]; then \ + rcsdiff $$aa > /dev/null 2>&1; \ + if [ $$? = 1 ]; then \ + rcs -l $$aa > /dev/null 2>&1; \ + ci -r$(VERSION) $$aa; \ + fi; \ + fi \ + done + +.c.o: + $(CC) $(CFLAGS) $(INCLUDE) -c $*.c + +depend: + @echo depending in src/xmfb + @if [ x$(DEPEND_DONE) = x ]; then \ + echo DEPEND_DONE = 1 >> Makefile; \ + $(DEPEND_PROG) $(INCLUDE) $(CFILES) $(FILTER) >> Makefile; \ + fi + +clean: + -rm *.o $(LIB_TARGET) + +distclean: + -rm *.o $(LIB_TARGET) Makefile + +####################################################################### +DEPEND_DONE = 1 +6x8font.o: 6x8font.c ../include/mfb.h +8x14font.o: 8x14font.c ../include/mfb.h +8x16font.o: 8x16font.c ../include/mfb.h +8x8font.o: 8x8font.c ../include/mfb.h +mfb.o: mfb.c ../include/mfb.h +mfbcsdl.o: mfbcsdl.c ../include/mfb.h +mfbtext.o: mfbtext.c ../include/mfb.h +text1.o: text1.c ../include/mfb.h +xfb.o: xfb.c ../include/prefix.h ../include/kic.h ../include/cd.h \ + ../include/nmalloc.h ../include/macros.h ../include/cdext.h \ + ../include/fb.h ../include/coords.h ../include/kicext.h \ + ../include/mfb.h