-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,995 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> | ||
<storageModule moduleId="org.eclipse.cdt.core.settings"> | ||
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.1265435909"> | ||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.1265435909" moduleId="org.eclipse.cdt.core.settings" name="Default"> | ||
<externalSettings/> | ||
<extensions> | ||
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/> | ||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
</extensions> | ||
</storageModule> | ||
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> | ||
<configuration buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1265435909" name="Default" optionalBuildProperties="" parent="org.eclipse.cdt.build.core.emptycfg"> | ||
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.1265435909.1105134369" name="/" resourcePath=""> | ||
<toolChain id="cdt.managedbuild.toolchain.gnu.base.981526201" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.base"> | ||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.target.gnu.platform.base.399049478" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/> | ||
<builder enabledIncrementalBuild="false" id="cdt.managedbuild.target.gnu.builder.base.609326836" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.245730250" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1107352546" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base"> | ||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.include.paths.1373237706" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath"> | ||
<listOptionValue builtIn="false" value=""${workspace_loc:/SMA-Software/global/include}""/> | ||
</option> | ||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.942118041" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.1499168798" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base"> | ||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.43470142" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath"> | ||
<listOptionValue builtIn="false" value=""${workspace_loc:/SMA-Software/global/include}""/> | ||
</option> | ||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1331236846" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.508394890" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.1922008451" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1130919018" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> | ||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> | ||
<additionalInput kind="additionalinput" paths="$(LIBS)"/> | ||
</inputType> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.assembler.base.1324002944" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base"> | ||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.both.asm.option.include.paths.1587060131" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath"> | ||
<listOptionValue builtIn="false" value=""${workspace_loc:/SMA-Software/global/include}""/> | ||
</option> | ||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.3021900" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> | ||
</tool> | ||
</toolChain> | ||
</folderInfo> | ||
</configuration> | ||
</storageModule> | ||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> | ||
</cconfiguration> | ||
</storageModule> | ||
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> | ||
<project id="lookup.null.867744921" name="lookup"/> | ||
</storageModule> | ||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> | ||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/> | ||
<storageModule moduleId="scannerConfiguration"> | ||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> | ||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1265435909;cdt.managedbuild.toolchain.gnu.base.1265435909.1105134369;cdt.managedbuild.tool.gnu.c.compiler.base.1499168798;cdt.managedbuild.tool.gnu.c.compiler.input.1331236846"> | ||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> | ||
</scannerConfigBuildInfo> | ||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1265435909;cdt.managedbuild.toolchain.gnu.base.1265435909.1105134369;cdt.managedbuild.tool.gnu.cpp.compiler.base.1107352546;cdt.managedbuild.tool.gnu.cpp.compiler.input.942118041"> | ||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> | ||
</scannerConfigBuildInfo> | ||
</storageModule> | ||
<storageModule moduleId="refreshScope" versionNumber="2"> | ||
<configuration configurationName="Default"> | ||
<resource resourceType="PROJECT" workspacePath="/lookup"/> | ||
</configuration> | ||
</storageModule> | ||
</cproject> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>lookup</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> | ||
<triggers>clean,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | ||
<triggers>full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.cdt.core.cnature</nature> | ||
<nature>org.eclipse.cdt.core.ccnature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<project> | ||
|
||
<configuration id="cdt.managedbuild.toolchain.gnu.base.1265435909" name="Default"> | ||
|
||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> | ||
|
||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> | ||
|
||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> | ||
|
||
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/> | ||
|
||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="625271141223134853" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true"> | ||
|
||
<language-scope id="org.eclipse.cdt.core.gcc"/> | ||
|
||
<language-scope id="org.eclipse.cdt.core.g++"/> | ||
|
||
</provider> | ||
|
||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> | ||
|
||
</extension> | ||
|
||
</configuration> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Load the common Makefile definitions... | ||
include $(GLOBALINC)/setup.mk | ||
|
||
LOOKUPSVC = $(OBJ)/lookup_svc.o $(OBJ)/lookup_xdr.o $(TCPUTIL) | ||
|
||
GENHEADERS = $(RPC)/lookup.h | ||
|
||
LDFLAGS += -lm $(RPCFLAGS) | ||
|
||
# Top level make targets... | ||
all: $(BIN)/lookup $(BIN)/lookupd | ||
|
||
.PHONY: lookup | ||
lookup: $(BIN)/lookup | ||
|
||
$(BIN)/lookup : LDFLAGS += -lpopt | ||
$(BIN)/lookup : $(OBJ)/lookupClient.o $(OBJ)/lookup.o $(SMASH) $(SIMPLE_ASTROMETRY) $(RPC_LOOKUP) | ||
|
||
.PHONY: lookupd | ||
lookupd: $(BIN)/lookupd | ||
|
||
$(BIN)/lookupd : LDFLAGS += -lsystemd $(THREADS) | ||
$(BIN)/lookupd : $(OBJ)/lookupService.o $(OBJ)/lookup.o $(PROCLOCK) $(LOOKUPSVC) $(EPHEM_ASTROMETRY) | ||
|
||
|
||
# Default targets / rules / and dependencies... | ||
include $(GLOBALINC)/recipes.mk | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* lookup.h | ||
* | ||
* Created on: Aug 14, 2018 | ||
* Author: Attila Kovacs | ||
*/ | ||
|
||
#ifndef INCLUDE_LOOKUP_H_ | ||
#define INCLUDE_LOOKUP_H_ | ||
|
||
#include <rpc/rpc.h> | ||
|
||
#include "astrometry.h" | ||
#include "rpc/lookup.h" | ||
|
||
#define LOOKUP_HOST "lookup" | ||
|
||
CLIENT *createLookupClient(const char *serverName); | ||
char *setSourceProperties(LQTargetProperties *p, TargetDefinition *source); | ||
char *lookupSource(const char *name, LQTargetProperties *p); | ||
void setUserSource(const char *sourceName, const EquatorialCoordinates *eq, double pmra, double pmdec, TargetDefinition *source); | ||
EquatorialCoordinates *lookupICRS(const char *serverName, const char *name, LQSite *site, double tjd, boolean *isSolarSystem); | ||
|
||
|
||
int isMPCNovasID(short id); | ||
|
||
#endif /* INCLUDE_LOOKUP_H_ */ |
Oops, something went wrong.