Rework the README and INSTALL files. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/3/head
parent
c4d576ead5
commit
3537979536
@ -1,3 +0,0 @@
|
||||
[submodule "admin"]
|
||||
path = admin
|
||||
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
|
@ -1,167 +1,22 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
ktechlab relies on cmake to build.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, a file
|
||||
`config.cache' that saves the results of its tests to speed up
|
||||
reconfiguring, and a file `config.log' containing compiler output
|
||||
(useful mainly for debugging `configure').
|
||||
Here are suggested default options:
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If at some point `config.cache'
|
||||
contains results you don't want to keep, you may remove or edit it.
|
||||
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||||
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DBUILD_ALL="ON" \
|
||||
-DWITH_ALL_OPTIONS="ON"
|
||||
|
||||
The file `configure.in' is used to create `configure' by a program
|
||||
called `autoconf'. You only need `configure.in' if you want to change
|
||||
it or regenerate `configure' using a newer version of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
|
||||
Running `configure' takes a while. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
4. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. You can give `configure'
|
||||
initial values for variables by setting them in the environment. Using
|
||||
a Bourne-compatible shell, you can do that on the command line like
|
||||
this:
|
||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
||||
|
||||
Or on systems that have the `env' program, you can do it like this:
|
||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not supports the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a time
|
||||
in the source code directory. After you have installed the package for
|
||||
one architecture, use `make distclean' before reconfiguring for another
|
||||
architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' will install the package's files in
|
||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
||||
installation prefix other than `/usr/local' by giving `configure' the
|
||||
option `--prefix=PATH'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
||||
PATH as the prefix for installing programs and libraries.
|
||||
Documentation and other data files will still use the regular prefix.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' can not figure out
|
||||
automatically, but needs to determine by the type of host the package
|
||||
will run on. Usually `configure' can figure that out, but if it prints
|
||||
a message saying it can not guess the host type, give it the
|
||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name with three fields:
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the host type.
|
||||
|
||||
If you are building compiler tools for cross-compiling, you can also
|
||||
use the `--target=TYPE' option to select the type of system they will
|
||||
produce code for and the `--build=TYPE' option to select the type of
|
||||
system on which you are compiling the package.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Operation Controls
|
||||
==================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Use and save the results of the tests in FILE instead of
|
||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
||||
debugging `configure'.
|
||||
|
||||
`--help'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made.
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--version'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options.
|
||||
Requirements:
|
||||
=============
|
||||
|
||||
- gpsim
|
||||
|
@ -1,5 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.5
|
||||
|
||||
include admin/deps.am
|
||||
|
||||
SUBDIRS=$(TOPSUBDIRS)
|
@ -0,0 +1,32 @@
|
||||
|
||||
KTechlab - circuit simulator for microcontrollers and electronics.
|
||||
|
||||
|
||||
KTechlab is a circuit simulator with a nice, clickable and discoverable
|
||||
interface. It supports many discrete components, logic circuits as well
|
||||
as PIC programming in its own Basic dialect and some form of assembler.
|
||||
|
||||
.
|
||||
|
||||
Contributing
|
||||
--------------
|
||||
|
||||
If you wish to contribute to ktechlab, you might do so:
|
||||
|
||||
- TDE Gitea Workspace (TGW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/gitea
|
||||
|
||||
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/weblate
|
||||
|
||||
|
||||
Translations status
|
||||
---------------------
|
||||
|
||||
### messages
|
||||
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/ktechlab/multi-auto.svg
|
||||
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/ktechlab/)
|
||||
|
||||
### desktop files
|
||||
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/ktechlab-desktop-files/multi-auto.svg
|
||||
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/ktechlab-desktop-files/)
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
Subproject commit a7f75ac0ff587d5b8694a1b78557597161f8104c
|
File diff suppressed because it is too large
Load Diff
@ -1,262 +0,0 @@
|
||||
/* config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Gpsim 0.21.11 was found */
|
||||
#undef GPSIM_0_21_11
|
||||
|
||||
/* Gpsim 0.21.12 was found */
|
||||
#undef GPSIM_0_21_12
|
||||
|
||||
/* Gpsim 0.21.4 was found */
|
||||
#undef GPSIM_0_21_4
|
||||
|
||||
/* Gpsim 0.27.0 was found */
|
||||
#undef GPSIM_0_27_0
|
||||
|
||||
/* Gpsim 0.31.0 was found */
|
||||
#undef GPSIM_0_31_0
|
||||
|
||||
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
|
||||
#undef HAVE_CARBON_CARBON_H
|
||||
|
||||
/* Define if you have the CoreAudio API */
|
||||
#undef HAVE_COREAUDIO
|
||||
|
||||
/* Define to 1 if you have the <crt_externs.h> header file. */
|
||||
#undef HAVE_CRT_EXTERNS_H
|
||||
|
||||
/* Defines if your system has the crypt function */
|
||||
#undef HAVE_CRYPT
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define if you have libjpeg */
|
||||
#undef HAVE_LIBJPEG
|
||||
|
||||
/* Define if you have libpng */
|
||||
#undef HAVE_LIBPNG
|
||||
|
||||
/* Define if you have a working libpthread (will enable threaded code) */
|
||||
#undef HAVE_LIBPTHREAD
|
||||
|
||||
/* Define if you have libz */
|
||||
#undef HAVE_LIBZ
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define if your system needs _NSGetEnviron to set up the environment */
|
||||
#undef HAVE_NSGETENVIRON
|
||||
|
||||
/* Define if you have res_init */
|
||||
#undef HAVE_RES_INIT
|
||||
|
||||
/* Define if you have the res_init prototype */
|
||||
#undef HAVE_RES_INIT_PROTO
|
||||
|
||||
/* Define if you have a STL implementation by SGI */
|
||||
#undef HAVE_SGI_STL
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#undef HAVE_SNPRINTF
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define if you have strlcat */
|
||||
#undef HAVE_STRLCAT
|
||||
|
||||
/* Define if you have the strlcat prototype */
|
||||
#undef HAVE_STRLCAT_PROTO
|
||||
|
||||
/* Define if you have strlcpy */
|
||||
#undef HAVE_STRLCPY
|
||||
|
||||
/* Define if you have the strlcpy prototype */
|
||||
#undef HAVE_STRLCPY_PROTO
|
||||
|
||||
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
||||
#undef HAVE_SYS_BITYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#undef HAVE_VSNPRINTF
|
||||
|
||||
/* Suffix for lib directories */
|
||||
#undef KDELIBSUFF
|
||||
|
||||
/* Define a safe value for MAXPATHLEN */
|
||||
#undef KDEMAXPATHLEN
|
||||
|
||||
/* Gpsim was not found */
|
||||
#undef NO_GPSIM
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* The size of a `char *', as computed by sizeof. */
|
||||
#undef SIZEOF_CHAR_P
|
||||
|
||||
/* The size of a `int', as computed by sizeof. */
|
||||
#undef SIZEOF_INT
|
||||
|
||||
/* The size of a `long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG
|
||||
|
||||
/* The size of a `short', as computed by sizeof. */
|
||||
#undef SIZEOF_SHORT
|
||||
|
||||
/* The size of a `size_t', as computed by sizeof. */
|
||||
#undef SIZEOF_SIZE_T
|
||||
|
||||
/* The size of a `unsigned long', as computed by sizeof. */
|
||||
#undef SIZEOF_UNSIGNED_LONG
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Defined if compiling without arts */
|
||||
#undef WITHOUT_ARTS
|
||||
|
||||
/* Define to 1 if your processor stores words with the most significant byte
|
||||
first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
#undef WORDS_BIGENDIAN
|
||||
|
||||
/*
|
||||
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
|
||||
* headers and I'm too lazy to write a configure test as long as only
|
||||
* unixware is related
|
||||
*/
|
||||
#ifdef _UNIXWARE
|
||||
#define HAVE_BOOLEAN
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
|
||||
* that defines bzero.
|
||||
*/
|
||||
|
||||
#if defined(_AIX)
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
|
||||
# include <sys/time.h>
|
||||
# include <crt_externs.h>
|
||||
# define environ (*_NSGetEnviron())
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_RES_INIT_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
int res_init(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_STRLCAT_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
unsigned long strlcat(char*, const char*, unsigned long);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_STRLCPY_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
unsigned long strlcpy(char*, const char*, unsigned long);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* On HP-UX, the declaration of vsnprintf() is needed every time !
|
||||
*/
|
||||
|
||||
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
|
||||
#if __STDC__
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int snprintf(char *str, size_t n, char const *fmt, ...);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(__SVR4) && !defined(__svr4__)
|
||||
#define __svr4__ 1
|
||||
#endif
|
||||
|
||||
|
||||
/* type to use in place of socklen_t if not defined */
|
||||
#undef kde_socklen_t
|
||||
|
||||
/* type to use in place of socklen_t if not defined (deprecated, use
|
||||
kde_socklen_t) */
|
||||
#undef ksize_t
|
File diff suppressed because it is too large
Load Diff
@ -1,2 +0,0 @@
|
||||
./admin/configure.in.min
|
||||
configure.in.in
|
@ -1,264 +0,0 @@
|
||||
dnl =======================================================
|
||||
dnl FILE: ./admin/configure.in.min
|
||||
dnl =======================================================
|
||||
|
||||
dnl This file is part of the KDE libraries/packages
|
||||
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
|
||||
|
||||
dnl This file is free software; you can redistribute it and/or
|
||||
dnl modify it under the terms of the GNU Library General Public
|
||||
dnl License as published by the Free Software Foundation; either
|
||||
dnl version 2 of the License, or (at your option) any later version.
|
||||
|
||||
dnl This library is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
dnl Library General Public License for more details.
|
||||
|
||||
dnl You should have received a copy of the GNU Library General Public License
|
||||
dnl along with this library; see the file COPYING.LIB. If not, write to
|
||||
dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
dnl Boston, MA 02110-1301, USA.
|
||||
|
||||
# Original Author was Kalle@kde.org
|
||||
# I lifted it in some mater. (Stephan Kulow)
|
||||
# I used much code from Janos Farkas
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(acinclude.m4) dnl a source file from your sub dir
|
||||
|
||||
dnl This is so we can use kde-common
|
||||
AC_CONFIG_AUX_DIR(admin)
|
||||
|
||||
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
|
||||
unset CDPATH
|
||||
|
||||
dnl Checking host/target/build systems, for make, install etc.
|
||||
AC_CANONICAL_SYSTEM
|
||||
dnl Perform program name transformation
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
dnl Automake doc recommends to do this only here. (Janos)
|
||||
AM_INIT_AUTOMAKE(ktechlab, 0.3) dnl searches for some needed programs
|
||||
|
||||
KDE_SET_PREFIX
|
||||
|
||||
dnl generate the config header
|
||||
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_CHECK_COMPILERS
|
||||
AC_ENABLE_SHARED(yes)
|
||||
AC_ENABLE_STATIC(no)
|
||||
KDE_PROG_LIBTOOL
|
||||
|
||||
dnl for NLS support. Call them in this order!
|
||||
dnl WITH_NLS is for the po files
|
||||
AM_KDE_WITH_NLS
|
||||
|
||||
KDE_USE_TQT(3.2.0)
|
||||
AC_PATH_KDE
|
||||
dnl =======================================================
|
||||
dnl FILE: configure.in.in
|
||||
dnl =======================================================
|
||||
|
||||
#MIN_CONFIG(3.2.0)
|
||||
|
||||
dnl PACKAGE set before
|
||||
AC_C_BIGENDIAN
|
||||
AC_CHECK_KDEMAXPATHLEN
|
||||
|
||||
|
||||
################################
|
||||
## BEGIN Check for gpsim 0.21 ##
|
||||
################################
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
ktechlab_save_CXXFLAGS="$CXXFLAGS"
|
||||
|
||||
AC_ARG_WITH(glib12, [ --with-glib12 force using glib 1.2.x [default=no]])
|
||||
if test "x$with_glib12" != "xyes" ; then
|
||||
glib_cflags=`pkg-config --cflags glib-2.0`
|
||||
else
|
||||
glib_cflags=`glib-config --cflags`
|
||||
fi
|
||||
AC_SUBST(glib_cflags)
|
||||
|
||||
CXXFLAGS="$glib_cflags"
|
||||
|
||||
AC_MSG_CHECKING([for gpsim 0.21.4 availability])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <gpsim/interface.h>
|
||||
#include <gpsim/gpsim_interface.h>
|
||||
#include <gpsim/breakpoints.h>
|
||||
#include <gpsim/gpsim_time.h>
|
||||
void func() { (void)cycles; (void)initialize_gpsim_core(); (void)load_symbol_file(0,0); }
|
||||
],
|
||||
[],
|
||||
AC_MSG_RESULT( yes )
|
||||
have_gpsim_0_21_4=yes,
|
||||
AC_MSG_RESULT( no )
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([for gpsim 0.21.11 availability])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <gpsim/interface.h>
|
||||
#include <gpsim/gpsim_interface.h>
|
||||
#include <gpsim/breakpoints.h>
|
||||
#include <gpsim/gpsim_time.h>
|
||||
#include <gpsim/symbol.h>
|
||||
#include <gpsim/program_files.h>
|
||||
void func() { (void)cycles; (void)initialize_gpsim_core(); }
|
||||
],
|
||||
[],
|
||||
AC_MSG_RESULT( yes )
|
||||
have_gpsim_0_21_11=yes,
|
||||
AC_MSG_RESULT( no )
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([for gpsim 0.21.12 availability])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <gpsim/ValueCollections.h>
|
||||
],
|
||||
[],
|
||||
AC_MSG_RESULT( yes )
|
||||
have_gpsim_0_21_12=yes,
|
||||
AC_MSG_RESULT( no )
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([for gpsim 0.27.0 availability])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <gpsim/pic-processor.h>
|
||||
void func() { pic_processor *Processor; sizeof(Processor->Wreg); }
|
||||
],
|
||||
[],
|
||||
AC_MSG_RESULT( yes )
|
||||
have_gpsim_0_27_0=yes,
|
||||
AC_MSG_RESULT( no )
|
||||
)
|
||||
|
||||
CXXFLAGS="$ktechlab_save_CXXFLAGS"
|
||||
AC_LANG_RESTORE
|
||||
|
||||
##############################
|
||||
## END Check for gpsim 0.21 ##
|
||||
##############################
|
||||
|
||||
|
||||
|
||||
################################
|
||||
## BEGIN DO_NOT_COMPILE CHECK ##
|
||||
################################
|
||||
|
||||
if test x$have_gpsim_0_21_12 == xyes; then
|
||||
AC_DEFINE([GPSIM_0_21_12],[],[Gpsim 0.21.12 was found])
|
||||
CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS"
|
||||
else
|
||||
if test x$have_gpsim_0_21_4 != xyes; then
|
||||
if test x$have_gpsim_0_21_11 != xyes; then
|
||||
AC_DEFINE([NO_GPSIM],[],[Gpsim was not found])
|
||||
LIB_GPSIM=""
|
||||
else
|
||||
AC_DEFINE([GPSIM_0_21_11],[],[Gpsim 0.21.11 was found])
|
||||
fi
|
||||
else
|
||||
AC_DEFINE([GPSIM_0_21_4],[],[Gpsim 0.21.4 was found])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$have_gpsim_0_21_4 == xyes || test x$have_gpsim_0_21_11 == xyes || test x$have_gpsim_0_21_12 == xyes; then
|
||||
wi_cv_lib_readline=no
|
||||
ac_save_LIBS="$LIBS"
|
||||
# Note: $LIBCURSES is permitted to be empty.
|
||||
for LIBREADLINE in "-lreadline" "-lreadline $LIBCURSES" "-lreadline -ltermcap" "-lreadline -lncurses" "-lreadline -lcurses"
|
||||
do
|
||||
LIBS="$ac_save_LIBS $LIBREADLINE"
|
||||
LIB_GPSIM="$LIBREADLINE -lgpsim -lgpsim_eXdbm -lgpsimcli -lgpsimgui"
|
||||
AC_TRY_RUN([
|
||||
/* program */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
/* Note: don't actually call readline, since it may block;
|
||||
* We just want to see if it (dynamic) linked in okay.
|
||||
*/
|
||||
if (argc == 0) /* never true */
|
||||
readline(0);
|
||||
exit(0);
|
||||
}
|
||||
],[
|
||||
# action if true
|
||||
wi_cv_lib_readline=yes
|
||||
],[
|
||||
# action if false
|
||||
wi_cv_lib_readline=no
|
||||
],[
|
||||
# action if cross compiling
|
||||
wi_cv_lib_readline=no
|
||||
])
|
||||
|
||||
if test "$wi_cv_lib_readline" = yes ; then break ; fi
|
||||
done
|
||||
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
|
||||
if test x$have_gpsim_0_27_0 == xyes; then
|
||||
AC_DEFINE([GPSIM_0_27_0],[],[Gpsim 0.27.0 was found])
|
||||
fi
|
||||
|
||||
AC_SUBST(LIB_GPSIM)
|
||||
|
||||
##############################
|
||||
## END DO_NOT_COMPILE CHECK ##
|
||||
##############################
|
||||
|
||||
KDE_CREATE_SUBDIRSLIST
|
||||
AC_CONFIG_FILES([ Makefile ])
|
||||
AC_CONFIG_FILES([ doc/Makefile ])
|
||||
AC_CONFIG_FILES([ doc/en/Makefile ])
|
||||
AC_CONFIG_FILES([ icons/Makefile ])
|
||||
AC_CONFIG_FILES([ icons/pics/Makefile ])
|
||||
AC_CONFIG_FILES([ microbe/Makefile ])
|
||||
AC_CONFIG_FILES([ po/Makefile ])
|
||||
AC_CONFIG_FILES([ src/Makefile ])
|
||||
AC_CONFIG_FILES([ src/core/Makefile ])
|
||||
AC_CONFIG_FILES([ src/drawparts/Makefile ])
|
||||
AC_CONFIG_FILES([ src/electronics/Makefile ])
|
||||
AC_CONFIG_FILES([ src/electronics/components/Makefile ])
|
||||
AC_CONFIG_FILES([ src/electronics/simulation/Makefile ])
|
||||
AC_CONFIG_FILES([ src/flowparts/Makefile ])
|
||||
AC_CONFIG_FILES([ src/gui/Makefile ])
|
||||
AC_CONFIG_FILES([ src/languages/Makefile ])
|
||||
AC_CONFIG_FILES([ src/mechanics/Makefile ])
|
||||
AC_CONFIG_FILES([ src/micro/Makefile ])
|
||||
AC_OUTPUT
|
||||
if test x$have_gpsim_0_21_4 != xyes; then
|
||||
if test x$have_gpsim_0_21_11 != xyes; then
|
||||
echo ""
|
||||
echo "################################################################################"
|
||||
echo "# WARNING: gpsim support will not be compiled as gpsim >= 0.21.4 was not found #"
|
||||
echo "################################################################################"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$all_tests" = "bad"; then
|
||||
if test ! "$cache_file" = "/dev/null"; then
|
||||
echo ""
|
||||
echo "Please remove the file $cache_file after changing your setup"
|
||||
echo "so that configure will find the changes next time."
|
||||
echo ""
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
echo "Good - your configure finished. Start make now"
|
||||
echo ""
|
||||
fi
|
@ -1,180 +0,0 @@
|
||||
#MIN_CONFIG(3.2.0)
|
||||
|
||||
KDE_ENABLE_HIDDEN_VISIBILITY
|
||||
|
||||
AM_INIT_AUTOMAKE(ktechlab, 0.3)
|
||||
AC_C_BIGENDIAN
|
||||
AC_CHECK_KDEMAXPATHLEN
|
||||
|
||||
|
||||
###################################
|
||||
## BEGIN Check for gpsim version ##
|
||||
###################################
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
ktechlab_save_CXXFLAGS="$CXXFLAGS"
|
||||
|
||||
AC_ARG_WITH(glib12, [ --with-glib12 force using glib 1.2.x [default=no]])
|
||||
if test "x$with_glib12" != "xyes" ; then
|
||||
glib_cflags=`pkg-config --cflags glib-2.0`
|
||||
else
|
||||
glib_cflags=`glib-config --cflags`
|
||||
fi
|
||||
AC_SUBST(glib_cflags)
|
||||
|
||||
CXXFLAGS="$glib_cflags"
|
||||
|
||||
AC_MSG_CHECKING([for gpsim 0.21.4 availability])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <gpsim/interface.h>
|
||||
#include <gpsim/gpsim_interface.h>
|
||||
#include <gpsim/breakpoints.h>
|
||||
#include <gpsim/gpsim_time.h>
|
||||
void func() { (void)cycles; (void)initialize_gpsim_core(); (void)load_symbol_file(0,0); }
|
||||
],
|
||||
[],
|
||||
AC_MSG_RESULT( yes )
|
||||
have_gpsim_0_21_4=yes,
|
||||
AC_MSG_RESULT( no )
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([for gpsim 0.21.11 availability])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <gpsim/interface.h>
|
||||
#include <gpsim/gpsim_interface.h>
|
||||
#include <gpsim/breakpoints.h>
|
||||
#include <gpsim/gpsim_time.h>
|
||||
#include <gpsim/symbol.h>
|
||||
#include <gpsim/program_files.h>
|
||||
void func() { (void)cycles; (void)initialize_gpsim_core(); }
|
||||
],
|
||||
[],
|
||||
AC_MSG_RESULT( yes )
|
||||
have_gpsim_0_21_11=yes,
|
||||
AC_MSG_RESULT( no )
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([for gpsim 0.21.12 availability])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <gpsim/ValueCollections.h>
|
||||
],
|
||||
[],
|
||||
AC_MSG_RESULT( yes )
|
||||
have_gpsim_0_21_12=yes,
|
||||
AC_MSG_RESULT( no )
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([for gpsim 0.27.0 availability])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <gpsim/pic-processor.h>
|
||||
void func() { pic_processor *Processor; sizeof(Processor->Wreg); }
|
||||
],
|
||||
[],
|
||||
AC_MSG_RESULT( yes )
|
||||
have_gpsim_0_27_0=yes,
|
||||
AC_MSG_RESULT( no )
|
||||
)
|
||||
|
||||
CXXFLAGS="$glib_cflags $ktechlab_save_CXXFLAGS"
|
||||
|
||||
AC_MSG_CHECKING([if gpsim requires C++11])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <gpsim/gpsim_object.h>
|
||||
void func() { gpsimObject *gpsimObj; sizeof(gpsimObj); }
|
||||
],
|
||||
[],
|
||||
AC_MSG_RESULT( no ),
|
||||
have_gpsim_0_31_0=yes
|
||||
GPSIM_CXXFLAGS="-std=c++11"
|
||||
AC_MSG_RESULT( yes )
|
||||
)
|
||||
|
||||
CXXFLAGS="$ktechlab_save_CXXFLAGS"
|
||||
AC_LANG_RESTORE
|
||||
|
||||
#################################
|
||||
## END Check for gpsim version ##
|
||||
#################################
|
||||
|
||||
|
||||
|
||||
################################
|
||||
## BEGIN DO_NOT_COMPILE CHECK ##
|
||||
################################
|
||||
|
||||
if test x$have_gpsim_0_21_12 == xyes; then
|
||||
AC_DEFINE([GPSIM_0_21_12],[],[Gpsim 0.21.12 was found])
|
||||
CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS"
|
||||
else
|
||||
if test x$have_gpsim_0_21_4 != xyes; then
|
||||
if test x$have_gpsim_0_21_11 != xyes; then
|
||||
AC_DEFINE([NO_GPSIM],[],[Gpsim was not found])
|
||||
LIB_GPSIM=""
|
||||
else
|
||||
AC_DEFINE([GPSIM_0_21_11],[],[Gpsim 0.21.11 was found])
|
||||
fi
|
||||
else
|
||||
AC_DEFINE([GPSIM_0_21_4],[],[Gpsim 0.21.4 was found])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$have_gpsim_0_21_4 == xyes || test x$have_gpsim_0_21_11 == xyes || test x$have_gpsim_0_21_12 == xyes; then
|
||||
wi_cv_lib_readline=no
|
||||
ac_save_LIBS="$LIBS"
|
||||
# Note: $LIBCURSES is permitted to be empty.
|
||||
for LIBREADLINE in "-lreadline" "-lreadline $LIBCURSES" "-lreadline -ltermcap" "-lreadline -lncurses" "-lreadline -lcurses"
|
||||
do
|
||||
LIBS="$ac_save_LIBS $LIBREADLINE"
|
||||
LIB_GPSIM="$LIBREADLINE -lgpsim -lgpsim_eXdbm -lgpsimcli -lgpsimgui"
|
||||
AC_TRY_RUN([
|
||||
/* program */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
/* Note: don't actually call readline, since it may block;
|
||||
* We just want to see if it (dynamic) linked in okay.
|
||||
*/
|
||||
if (argc == 0) /* never true */
|
||||
readline(0);
|
||||
exit(0);
|
||||
}
|
||||
],[
|
||||
# action if true
|
||||
wi_cv_lib_readline=yes
|
||||
],[
|
||||
# action if false
|
||||
wi_cv_lib_readline=no
|
||||
],[
|
||||
# action if cross compiling
|
||||
wi_cv_lib_readline=no
|
||||
])
|
||||
|
||||
if test "$wi_cv_lib_readline" = yes ; then break ; fi
|
||||
done
|
||||
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
|
||||
if test x$have_gpsim_0_27_0 == xyes; then
|
||||
AC_DEFINE([GPSIM_0_27_0],[],[Gpsim 0.27.0 was found])
|
||||
fi
|
||||
|
||||
if test x$have_gpsim_0_31_0 == xyes; then
|
||||
AC_DEFINE([GPSIM_0_31_0],[],[Gpsim 0.31.0 was found])
|
||||
fi
|
||||
|
||||
AC_SUBST(LIB_GPSIM)
|
||||
AC_SUBST(GPSIM_CXXFLAGS)
|
||||
|
||||
##############################
|
||||
## END DO_NOT_COMPILE CHECK ##
|
||||
##############################
|
||||
|
@ -1,7 +0,0 @@
|
||||
# the SUBDIRS is filled automatically by am_edit. If files are
|
||||
# in this directory they are installed into the english dir
|
||||
|
||||
KDE_LANG = en
|
||||
KDE_DOCS = AUTO
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
|
@ -1,7 +0,0 @@
|
||||
KDE_DOCS = ktechlab
|
||||
# KDE_MANS = ktechlab
|
||||
KDE_LANG = en
|
||||
# KDE_DOCS = AUTO
|
||||
|
||||
kde_docs_KDEDOCS = debugging.docbook circuits.docbook flowcode.docbook \
|
||||
quick.docbook faq.docbook picprograms.docbook
|
@ -1,6 +0,0 @@
|
||||
|
||||
METASOURCES = AUTO
|
||||
|
||||
KDE_ICON = AUTO
|
||||
|
||||
SUBDIRS = pics
|
@ -1,19 +0,0 @@
|
||||
|
||||
METASOURCES = AUTO
|
||||
ktlicon_DATA = and.png cell.png logic_input.png logic_output.png nand.png \
|
||||
nor.png not.png or.png xor.png current_source.png ground.png voltage.png \
|
||||
capacitor.png led.png resistor.png signal_lamp.png seven_segment.png ammeter.png \
|
||||
diode.png npn.png pnp.png voltmeter.png dpdt.png dpst.png ptb.png ptm.png \
|
||||
spdt.png spst.png keypad.png opamp.png xnor.png circuit.png flowcode.png \
|
||||
delay.png interrupt.png pinread.png pinwrite.png portread.png portwrite.png \
|
||||
repeat.png while.png for.png assignment.png branch.png delay.png embed.png end.png \
|
||||
interrupt.png pinread.png pinwrite.png portread.png portwrite.png \
|
||||
repeat.png start.png sub.png subcall.png unary.png item.png ic1.png \
|
||||
ic2.png ic3.png voltagesignal.png currentsignal.png clockinput.png cccs.png \
|
||||
ccvs.png vcvs.png vccs.png mechanics.png buffer.png external_connection.png \
|
||||
logicprobe.png potentiometer.png resistordip.png bidirled.png project_library.png \
|
||||
project_program.png bus.png floatingprobe.png inductor.png matrixdisplay.png \
|
||||
rotary.png
|
||||
ktlicondir = $(kde_datadir)/ktechlab/icons
|
||||
|
||||
|
@ -1,10 +0,0 @@
|
||||
INCLUDES = $(all_includes)
|
||||
METASOURCES = AUTO
|
||||
bin_PROGRAMS = microbe
|
||||
microbe_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
|
||||
microbe_SOURCES = btreebase.cpp btreenode.cpp main.cpp traverser.cpp \
|
||||
expression.cpp pic14.cpp variable.cpp optimizer.cpp instruction.cpp microbe.cpp \
|
||||
parser.cpp
|
||||
noinst_HEADERS = btreebase.h btreenode.h traverser.h pic14.h variable.h \
|
||||
optimizer.h microbe.h parser.h
|
||||
microbe_LDADD = -lpthread $(LIB_TDEFILE)
|
@ -1 +0,0 @@
|
||||
POFILES = AUTO
|
@ -1,88 +0,0 @@
|
||||
## Makefile.am for ktechlab
|
||||
|
||||
# this is the program that gets installed. it's name is used for all
|
||||
# of the other Makefile.am variables
|
||||
bin_PROGRAMS = ktechlab
|
||||
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/drawparts \
|
||||
-I$(top_srcdir)/src/electronics -I$(top_srcdir)/src/electronics/components \
|
||||
-I$(top_srcdir)/src/electronics/simulation -I$(top_srcdir)/src/flowparts -I$(top_srcdir)/src/gui \
|
||||
-I$(top_srcdir)/src/languages -I$(top_srcdir)/src/mechanics -I$(top_srcdir)/src/micro $(all_includes)
|
||||
|
||||
# the library search path.
|
||||
ktechlab_LDFLAGS = -module $(all_libraries) $(KDE_RPATH) $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI) -lDCOP $(LIB_TDEPARTS) $(LIB_GPSIM)
|
||||
|
||||
# the libraries to link against.
|
||||
ktechlab_LDADD = $(top_builddir)/src/gui/libgui.la \
|
||||
$(top_builddir)/src/micro/libmicro.la $(top_builddir)/src/flowparts/libflowparts.la \
|
||||
$(top_builddir)/src/mechanics/libmechanics.la $(top_builddir)/src/electronics/libelectronics.la \
|
||||
$(top_builddir)/src/electronics/simulation/libelements.la $(top_builddir)/src/electronics/components/libcomponents.la \
|
||||
$(top_builddir)/src/languages/liblanguages.la $(top_builddir)/src/drawparts/libdrawparts.la \
|
||||
$(top_builddir)/src/core/libcore.la -ltdeutils -ltdetexteditor $(LIB_TDEFILE) $(LIB_TDEPRINT) $(LIB_TQT) $(LIB_GPSIM)
|
||||
|
||||
# which sources should be compiled for ktechlab
|
||||
ktechlab_SOURCES = ktechlab.cpp node.cpp connector.cpp itemlibrary.cpp \
|
||||
libraryitem.cpp projectmanager.cpp picitem.cpp variant.cpp canvasitemparts.cpp \
|
||||
flowcontainer.cpp microsettings.cpp fpnode.cpp cells.cpp asmformatter.cpp conrouter.cpp \
|
||||
nodegroup.cpp canvasmanipulator.cpp iteminterface.cpp itemgroup.cpp ciwidgetmgr.cpp \
|
||||
filemetainfo.cpp resizeoverlay.cpp document.cpp view.cpp docmanager.cpp cnitem.cpp \
|
||||
item.cpp cnitemgroup.cpp itemview.cpp itemdocument.cpp textview.cpp \
|
||||
textdocument.cpp circuitdocument.cpp flowcodedocument.cpp icnview.cpp icndocument.cpp \
|
||||
viewcontainer.cpp circuitview.cpp flowcodeview.cpp eventinfo.cpp oscilloscopedata.cpp \
|
||||
itemdocumentdata.cpp docmanageriface.cpp documentiface.cpp viewiface.cpp \
|
||||
docmanageriface.skel viewiface.skel documentiface.skel simulator.cpp katemdi.cpp \
|
||||
debugmanager.cpp recentfilesaction.cpp variablelabel.cpp
|
||||
|
||||
ktechlab_PCH = AUTO
|
||||
|
||||
|
||||
# these are the headers for your project
|
||||
noinst_HEADERS = ktechlab.h node.h connector.h itemlibrary.h libraryitem.h \
|
||||
projectmanager.h picitem.h canvasitemparts.h microsettings.h fpnode.h cells.h \
|
||||
asmformatter.h conrouter.h nodegroup.h canvasmanipulator.h iteminterface.h itemgroup.h \
|
||||
ciwidgetmgr.h filemetainfo.h resizeoverlay.h document.h view.h docmanager.h cnitem.h \
|
||||
item.h cnitemgroup.h itemview.h itemdocument.h textview.h textdocument.h \
|
||||
circuitdocument.h flowcodedocument.h icnview.h icndocument.h viewcontainer.h \
|
||||
circuitview.h flowcodeview.h eventinfo.h oscilloscopedata.h itemdocumentdata.h \
|
||||
docmanageriface.h documentiface.h viewiface.h simulator.h katemdi.h debugmanager.h \
|
||||
recentfilesaction.h variablelabel.h
|
||||
|
||||
|
||||
# client stuff
|
||||
|
||||
|
||||
# let automoc handle all of the meta source files (moc)
|
||||
METASOURCES = AUTO
|
||||
|
||||
|
||||
messages: rc.cpp
|
||||
$(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui" -o -name "*.kcfg"` > rc.cpp
|
||||
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
|
||||
if test -n "$$LIST"; then \
|
||||
$(XGETTEXT) $$LIST -o $(podir)/ktechlab.pot; \
|
||||
fi
|
||||
|
||||
#KDE_ICON = ktechlab
|
||||
#KDE_ICON = AUTO
|
||||
|
||||
# this is where the kdelnk file will go
|
||||
kdelnkdir = $(kde_appsdir)/Development
|
||||
kdelnk_DATA = ktechlab.desktop
|
||||
|
||||
# this is where the XML-GUI resource file goes
|
||||
rcdir = $(kde_datadir)/ktechlab
|
||||
rc_DATA = ktechlabui.rc error_messages_en_gb ktechlabcircuitui.rc \
|
||||
ktechlabflowcodeui.rc ktechlabitemviewui.rc ktechlabmechanicsui.rc ktechlabtextui.rc ktechlabkateui.rc
|
||||
|
||||
SUBDIRS = core gui flowparts micro mechanics electronics languages drawparts
|
||||
#iconsdir = $(kde_datadir)/ktechlab/icons
|
||||
|
||||
|
||||
mimedir = $(kde_mimedir)/application
|
||||
mime_DATA = x-circuit.desktop x-flowcode.desktop x-ktechlab.desktop x-microbe.desktop
|
||||
EXTRA_DIST = $(mime_DATA)
|
||||
|
||||
katesyntaxdir = $(kde_datadir)/katepart/syntax
|
||||
katesyntax_DATA = microbe.xml
|
||||
|
@ -1,6 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/drawparts -I$(top_srcdir)/src/electronics -I$(top_srcdir)/src/electronics/components -I$(top_srcdir)/src/electronics/simulation -I$(top_srcdir)/src/flowparts -I$(top_srcdir)/src/gui -I$(top_srcdir)/src/languages -I$(top_srcdir)/src/mechanics -I$(top_srcdir)/src/micro $(all_includes)
|
||||
METASOURCES = AUTO
|
||||
libcore_la_LDFLAGS = $(all_libraries)
|
||||
noinst_LTLIBRARIES = libcore.la
|
||||
kde_kcfg_DATA = ktechlab.kcfg
|
||||
libcore_la_SOURCES = ktlconfig.kcfgc main.cpp
|
@ -1,6 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/electronics -I$(top_srcdir)/src/electronics/components -I$(top_srcdir)/src/electronics/simulation -I$(top_srcdir)/src/flowparts -I$(top_srcdir)/src/gui -I$(top_srcdir)/src/languages -I$(top_srcdir)/src/mechanics -I$(top_srcdir)/src/micro $(all_includes)
|
||||
METASOURCES = AUTO
|
||||
noinst_LTLIBRARIES = libdrawparts.la
|
||||
libdrawparts_la_SOURCES = drawpart.cpp dpline.cpp solidshape.cpp dptext.cpp
|
||||
noinst_HEADERS = drawpart.h dpline.h solidshape.h dptext.h
|
||||
|
@ -1,20 +0,0 @@
|
||||
CXXFLAGS += $(GPSIM_CXXFLAGS)
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/electronics \
|
||||
-I$(top_srcdir)/src/electronics/components -I$(top_srcdir)/src/electronics/simulation \
|
||||
-I$(top_srcdir)/src/flowparts -I$(top_srcdir)/src/gui -I$(top_srcdir)/src/languages \
|
||||
-I$(top_srcdir)/src/mechanics -I$(top_srcdir)/src/micro $(glib_cflags) $(all_includes)
|
||||
|
||||
METASOURCES = AUTO
|
||||
|
||||
SUBDIRS = simulation components
|
||||
|
||||
noinst_LTLIBRARIES = libelectronics.la
|
||||
|
||||
libelectronics_la_SOURCES = component.cpp subcircuits.cpp gpsimprocessor.cpp \
|
||||
switch.cpp pin.cpp wire.cpp ecnode.cpp port.cpp
|
||||
|
||||
libelectronics_la_LIBADD = \
|
||||
$(top_builddir)/src/electronics/simulation/libelements.la $(top_builddir)/src/electronics/components/libcomponents.la
|
||||
|
||||
noinst_HEADERS = gpsimprocessor.h switch.h pin.h wire.h ecnode.h port.h
|
@ -1,35 +0,0 @@
|
||||
CXXFLAGS += $(GPSIM_CXXFLAGS)
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/electronics -I$(top_srcdir)/src/electronics/components \
|
||||
-I$(top_srcdir)/src/electronics/simulation -I$(top_srcdir)/src/gui -I$(top_srcdir)/src/languages \
|
||||
-I$(top_srcdir)/src/micro $(glib_cflags) $(all_includes)
|
||||
|
||||
METASOURCES = AUTO
|
||||
noinst_HEADERS = ecresistor.h ecled.h ecdiode.h ecsevensegment.h eckeypad.h \
|
||||
eccapacitor.h ec555.h eccurrentsource.h ecfixedvoltage.h ecbcdto7segment.h \
|
||||
ecsignallamp.h ecclockinput.h ecpotentiometer.h ecopamp.h ecvoltagesource.h \
|
||||
eccurrentsignal.h ecvoltagesignal.h ecground.h multiinputgate.h fulladder.h multiplexer.h \
|
||||
demultiplexer.h externalconnection.h ecsubcircuit.h meter.h probe.h resistordip.h \
|
||||
addac.h dependentsource.h flipflop.h toggleswitch.h pushswitch.h ram.h \
|
||||
discretelogic.h piccomponent.h piccomponentpin.h binarycounter.h bidirled.h \
|
||||
matrixdisplay.h bussplitter.h matrixdisplaydriver.h magnitudecomparator.h \
|
||||
serialportcomponent.h parallelportcomponent.h inductor.h ecbjt.h rotoswitch.h
|
||||
|
||||
noinst_LTLIBRARIES = libcomponents.la
|
||||
libcomponents_la_SOURCES = ecresistor.cpp ecled.cpp ecdiode.cpp \
|
||||
ecsevensegment.cpp eckeypad.cpp eccapacitor.cpp ec555.cpp eccurrentsource.cpp \
|
||||
ecfixedvoltage.cpp ecbcdto7segment.cpp ecsignallamp.cpp ecclockinput.cpp \
|
||||
ecpotentiometer.cpp ecopamp.cpp ecvoltagesource.cpp eccurrentsignal.cpp ecvoltagesignal.cpp \
|
||||
ecground.cpp multiinputgate.cpp fulladder.cpp multiplexer.cpp demultiplexer.cpp \
|
||||
externalconnection.cpp ecsubcircuit.cpp meter.cpp probe.cpp resistordip.cpp addac.cpp \
|
||||
dependentsource.cpp flipflop.cpp toggleswitch.cpp pushswitch.cpp ram.cpp discretelogic.cpp \
|
||||
piccomponent.cpp piccomponentpin.cpp binarycounter.cpp bidirled.cpp matrixdisplay.cpp \
|
||||
bussplitter.cpp matrixdisplaydriver.cpp magnitudecomparator.cpp serialportcomponent.cpp \
|
||||
parallelportcomponent.cpp inductor.cpp ecbjt.cpp rotoswitch.cpp
|
||||
|
||||
libcomponents_la_PCH = AUTO
|
||||
|
||||
|
||||
libcomponents_la_LIBADD =\
|
||||
$(top_builddir)/src/electronics/simulation/libelements.la
|
@ -1,11 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/electronics $(all_includes)
|
||||
METASOURCES = AUTO
|
||||
noinst_LTLIBRARIES = libelements.la
|
||||
libelements_la_SOURCES = cccs.cpp ccvs.cpp circuit.cpp currentsource.cpp \
|
||||
diode.cpp element.cpp elementset.cpp logic.cpp matrix.cpp vccs.cpp vcvs.cpp \
|
||||
voltagesource.cpp capacitance.cpp resistance.cpp currentsignal.cpp voltagepoint.cpp \
|
||||
voltagesignal.cpp elementsignal.cpp nonlinear.cpp reactive.cpp vec.cpp bjt.cpp opamp.cpp \
|
||||
inductance.cpp
|
||||
noinst_HEADERS = cccs.h ccvs.h circuit.h currentsource.h diode.h element.h \
|
||||
elementset.h logic.h matrix.h vccs.h vcvs.h voltagesource.h capacitance.h \
|
||||
resistance.h elementsignal.h nonlinear.h reactive.h vec.h bjt.h opamp.h inductance.h
|
@ -1,15 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/electronics \
|
||||
-I$(top_srcdir)/src/electronics/components -I$(top_srcdir)/src/gui -I$(top_srcdir)/src/languages \
|
||||
-I$(top_srcdir)/src/micro $(all_includes)
|
||||
METASOURCES = AUTO
|
||||
noinst_LTLIBRARIES = libflowparts.la
|
||||
noinst_HEADERS = callsub.h delay.h end.h forloop.h readport.h setpin.h start.h \
|
||||
testpin.h unary.h varassignment.h varcomparison.h writeport.h repeat.h while.h \
|
||||
sub.h inputbutton.h flowpart.h pinmapping.h
|
||||
libflowparts_la_SOURCES = callsub.cpp delay.cpp end.cpp forloop.cpp \
|
||||
readport.cpp setpin.cpp start.cpp testpin.cpp unary.cpp varassignment.cpp \
|
||||
varcomparison.cpp writeport.cpp repeat.cpp while.cpp sub.cpp count.cpp embed.cpp \
|
||||
interrupt.cpp keypad.cpp pulse.cpp sevenseg.cpp inputbutton.cpp flowpart.cpp \
|
||||
pinmapping.cpp
|
||||
|
||||
libflowparts_la_PCH = AUTO
|
@ -1,23 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/core \
|
||||
-I$(top_srcdir)/src/electronics -I$(top_srcdir)/src/electronics/components \
|
||||
-I$(top_srcdir)/src/electronics/simulation -I$(top_srcdir)/src/flowparts -I$(top_srcdir)/src/gui \
|
||||
-I$(top_srcdir)/src/languages -I$(top_srcdir)/src/mechanics -I$(top_srcdir)/src/micro \
|
||||
-I$(top_srcdir)/gpsim-interface $(all_includes)
|
||||
METASOURCES = AUTO
|
||||
noinst_LTLIBRARIES = libgui.la
|
||||
libgui_la_SOURCES = contexthelp.cpp doublespinbox.cpp itemeditor.cpp \
|
||||
itemselector.cpp microsettingsdlg.cpp newfiledlg.cpp orientationwidget.cpp \
|
||||
outputmethoddlg.cpp pieditor.cpp plvitem.cpp propertieslistview.cpp asmformattingwidget.ui \
|
||||
gpasmsettingswidget.ui logicwidget.ui newfilewidget.ui newprojectwidget.ui \
|
||||
outputmethodwidget.ui microsettingswidget.ui settingsdlg.cpp oscilloscope.cpp \
|
||||
oscilloscopewidget.ui oscilloscopeview.cpp probepositioner.cpp generaloptionswidget.ui \
|
||||
logview.cpp createsubprojectwidget.ui processingoptionswidget.ui \
|
||||
sdccoptionswidget.ui projectdlgs.cpp linkeroptionswidget.ui microselectwidget.cpp \
|
||||
symbolviewer.cpp picprogrammerconfigwidget.ui newpinmappingwidget.ui programmerwidget.ui \
|
||||
programmerdlg.cpp colorcombo.cpp
|
||||
|
||||
libgui_la_PCH = AUTO
|
||||
|
||||
noinst_HEADERS = settingsdlg.h oscilloscope.h oscilloscopeview.h \
|
||||
probepositioner.h projectdlgs.h microselectwidget.h symbolviewer.h programmerdlg.h \
|
||||
colorcombo.h
|
@ -1,14 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/electronics -I$(top_srcdir)/src/electronics/components \
|
||||
-I$(top_srcdir)/src/electronics/simulation -I$(top_srcdir)/src/flowparts -I$(top_srcdir)/src/gui \
|
||||
-I$(top_srcdir)/src/languages -I$(top_srcdir)/src/mechanics -I$(top_srcdir)/src/micro -Igui \
|
||||
$(all_includes)
|
||||
METASOURCES = AUTO
|
||||
noinst_LTLIBRARIES = liblanguages.la
|
||||
liblanguages_la_SOURCES = language.cpp languagemanager.cpp microbe.cpp \
|
||||
externallanguage.cpp gpasm.cpp gpdasm.cpp processchain.cpp flowcode.cpp asmparser.cpp \
|
||||
sdcc.cpp gplink.cpp gplib.cpp sourceline.cpp picprogrammer.cpp
|
||||
noinst_HEADERS = externallanguage.h gpasm.h gpdasm.h language.h \
|
||||
languagemanager.h microbe.h processchain.h flowcode.h asmparser.h sdcc.h gplink.h gplib.h \
|
||||
sourceline.h picprogrammer.h
|
||||
liblanguages_la_LIBADD = $(top_builddir)/src/gui/libgui.la
|
@ -1,8 +0,0 @@
|
||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/drawparts $(all_includes)
|
||||
METASOURCES = AUTO
|
||||
noinst_HEADERS = mechanicsitem.h chassiscircular2.h mechanicssimulation.h \
|
||||
mechanicsdocument.h mechanicsgroup.h mechanicsview.h
|
||||
|
||||
noinst_LTLIBRARIES = libmechanics.la
|
||||
libmechanics_la_SOURCES = mechanicsitem.cpp chassiscircular2.cpp \
|
||||
mechanicssimulation.cpp mechanicsdocument.cpp mechanicsgroup.cpp mechanicsview.cpp
|
@ -1,7 +0,0 @@
|
||||
INCLUDES = $(all_includes)
|
||||
METASOURCES = AUTO
|
||||
noinst_LTLIBRARIES = libmicro.la
|
||||
noinst_HEADERS = microinfo.h picinfo.h picinfo16bit.h picinfo14bit.h \
|
||||
picinfo12bit.h microlibrary.h asminfo.h
|
||||
libmicro_la_SOURCES = microinfo.cpp picinfo.cpp picinfo16bit.cpp \
|
||||
picinfo14bit.cpp picinfo12bit.cpp microlibrary.cpp micropackage.cpp asminfo.cpp
|
Loading…
Reference in new issue