Made SICS compile in the new git setup
This commit is contained in:
121
.gitignore
vendored
Normal file
121
.gitignore
vendored
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
# Took these from the https://github.com/github/gitignore project on October 21, 2011
|
||||||
|
|
||||||
|
# **** 'Personal' entries don't belong in here - put them in your .git/info/exclude file ****
|
||||||
|
|
||||||
|
# Ignore text editor (e.g. emacs) autosave files
|
||||||
|
*~
|
||||||
|
|
||||||
|
|
||||||
|
# Compiled Object files
|
||||||
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
*.d
|
||||||
|
SICServer
|
||||||
|
|
||||||
|
# Compiled Dynamic libraries
|
||||||
|
*.so
|
||||||
|
|
||||||
|
# Compiled Static libraries
|
||||||
|
*.lai
|
||||||
|
*.la
|
||||||
|
*.a
|
||||||
|
|
||||||
|
# Compiled python files
|
||||||
|
*.py[co]
|
||||||
|
|
||||||
|
# Eclipse-generated files
|
||||||
|
*.pydevproject
|
||||||
|
.project
|
||||||
|
.metadata
|
||||||
|
bin/**
|
||||||
|
tmp/**
|
||||||
|
tmp/**/*
|
||||||
|
*.tmp
|
||||||
|
*.bak
|
||||||
|
*.swp
|
||||||
|
*~.nib
|
||||||
|
local.properties
|
||||||
|
.classpath
|
||||||
|
.settings/
|
||||||
|
.loadpath
|
||||||
|
|
||||||
|
# External tool builders
|
||||||
|
.externalToolBuilders/
|
||||||
|
|
||||||
|
# Locally stored "Eclipse launch configurations"
|
||||||
|
*.launch
|
||||||
|
|
||||||
|
# CDT-specific
|
||||||
|
.cproject
|
||||||
|
|
||||||
|
# PDT-specific
|
||||||
|
.buildpath
|
||||||
|
|
||||||
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
*.sln
|
||||||
|
*.vcproj
|
||||||
|
*.exe
|
||||||
|
*.vcxproj
|
||||||
|
*.filters
|
||||||
|
|
||||||
|
# User-specific files
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
*.sln.docstates
|
||||||
|
*.sdf
|
||||||
|
|
||||||
|
#Test results
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Build results
|
||||||
|
[Dd]ebug/
|
||||||
|
[Rr]elease/
|
||||||
|
*_i.c
|
||||||
|
*_p.c
|
||||||
|
*.ilk
|
||||||
|
*.meta
|
||||||
|
*.obj
|
||||||
|
*.pch
|
||||||
|
*.pdb
|
||||||
|
*.pgc
|
||||||
|
*.pgd
|
||||||
|
*.rsp
|
||||||
|
*.sbr
|
||||||
|
*.tlb
|
||||||
|
*.tli
|
||||||
|
*.tlh
|
||||||
|
*.tmp
|
||||||
|
*.vspscc
|
||||||
|
.builds
|
||||||
|
|
||||||
|
|
||||||
|
# Visual C++ cache files
|
||||||
|
ipch/
|
||||||
|
*.aps
|
||||||
|
*.ncb
|
||||||
|
*.opensdf
|
||||||
|
*.sdf
|
||||||
|
|
||||||
|
# Visual Studio profiler
|
||||||
|
*.psess
|
||||||
|
*.vsp
|
||||||
|
|
||||||
|
# ReSharper is a .NET coding add-in
|
||||||
|
_ReSharper*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Others
|
||||||
|
*.autosave
|
||||||
|
|
||||||
|
|
||||||
|
# Windows image file caches
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
|
||||||
|
# Mac OS X Finder
|
||||||
|
.DS_Store
|
||||||
|
|
4
frame.c
4
frame.c
@ -19,8 +19,8 @@
|
|||||||
#include "HistMem.h"
|
#include "HistMem.h"
|
||||||
#include "HistMem.i"
|
#include "HistMem.i"
|
||||||
#include "HistDriv.i"
|
#include "HistDriv.i"
|
||||||
#include "psi/hardsup/sinqhm.h"
|
#include "sicspsi/hardsup/sinqhm.h"
|
||||||
#include "psi/sinqhmdriv.i"
|
#include "sicspsi/sinqhmdriv.i"
|
||||||
#include "nxdict.h"
|
#include "nxdict.h"
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
|
|
||||||
|
18
make_gen
18
make_gen
@ -76,30 +76,30 @@ matrix/libmatrix.a: libmat
|
|||||||
libmat:
|
libmat:
|
||||||
cd matrix; make $(MFLAGS) libmatrix.a
|
cd matrix; make $(MFLAGS) libmatrix.a
|
||||||
|
|
||||||
psi/hardsup/libhlib.a: libhlib
|
$(SICSROOT)/sicspsi/hardsup/libhlib.a: libhlib
|
||||||
|
|
||||||
libhlib:
|
libhlib:
|
||||||
cd psi/hardsup; make $(MFLAGS) libhlib.a
|
cd $(SICSROOT)/sicspsi/hardsup; make $(MFLAGS) libhlib.a
|
||||||
|
|
||||||
psi/tecs/libtecsl.a: libtecsl
|
$(SICSROOT)/sicspsi/tecs/libtecsl.a: libtecsl
|
||||||
|
|
||||||
libtecsl:
|
libtecsl:
|
||||||
cd psi/tecs; make $(MFLAGS) libtecsl.a
|
cd $(SICSROOT)/sicspsi/tecs; make $(MFLAGS) libtecsl.a
|
||||||
|
|
||||||
psi/libpsi.a: libpsi
|
$SICSROOT)/sicspsi/libpsi.a: libpsi
|
||||||
|
|
||||||
libpsi:
|
libpsi:
|
||||||
cd psi; make $(MFLAGS) libpsi.a
|
cd $(SICSROOT)/sicspsi; make $(MFLAGS) libpsi.a
|
||||||
|
|
||||||
purge:
|
purge:
|
||||||
rm -f SICServer $(SUBLIBS)
|
rm -f SICServer $(SUBLIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o *.d SICServer
|
rm -f *.o *.d SICServer
|
||||||
cd psi/hardsup; make $(MFLAGS) clean
|
cd $(SICSROOT)/sicspsi/hardsup; make $(MFLAGS) clean
|
||||||
cd matrix; make $(MFLAGS) clean
|
cd matrix; make $(MFLAGS) clean
|
||||||
cd psi/tecs; make $(MFLAGS) clean
|
cd $(SICSROOT)/sicspsi/tecs; make $(MFLAGS) clean
|
||||||
cd psi; make $(MFLAGS) clean
|
cd $(SICSROOT)/sicspsi; make $(MFLAGS) clean
|
||||||
|
|
||||||
Dbg.o: Dbg.c
|
Dbg.o: Dbg.c
|
||||||
cc -g -I/data/koenneck/include -c Dbg.c
|
cc -g -I/data/koenneck/include -c Dbg.c
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Mark Koennecke 1996-2001
|
# Mark Koennecke 1996-2001
|
||||||
# Markus Zolliker, March 2003
|
# Markus Zolliker, March 2003
|
||||||
|
# Mark Koennecke, February 2014
|
||||||
#==========================================================================
|
#==========================================================================
|
||||||
# assign if the National Instrument GPIB driver is available
|
# assign if the National Instrument GPIB driver is available
|
||||||
SINQDIR=/afs/psi.ch/project/sinq
|
SINQDIR=/afs/psi.ch/project/sinq
|
||||||
@ -17,14 +18,14 @@ include sllinux_def
|
|||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -I$(HDFROOT)/include -DNXXML -DHDF5 $(NI) \
|
CFLAGS = -I$(HDFROOT)/include -DNXXML -DHDF5 $(NI) \
|
||||||
-Ipsi/hardsup -I. -MMD \
|
-I$(SICSROOT)/sicspsi/hardsup -I$(SICSROOT) -I. -MMD \
|
||||||
-Werror -DCYGNUS -DNONINTF $(DBG) $(DFORTIFY) \
|
-Werror -DCYGNUS -DNONINTF $(DBG) $(DFORTIFY) \
|
||||||
-Wall -Wno-unused -Wunused-value -Wno-comment -Wno-switch
|
-Wall -Wno-unused -Wunused-value -Wno-comment -Wno-switch
|
||||||
|
|
||||||
BINTARGET = bin
|
BINTARGET = bin
|
||||||
EXTRA=nintf.o
|
EXTRA=nintf.o
|
||||||
SUBLIBS = psi/libpsi.a psi/hardsup/libhlib.a matrix/libmatrix.a \
|
SUBLIBS = $(SICSROOT)/sicspsi/libpsi.a $(SICSROOT)/sicspsi/hardsup/libhlib.a \
|
||||||
psi/tecs/libtecsl.a
|
matrix/libmatrix.a $(SICSROOT)/sicspsi/tecs/libtecsl.a
|
||||||
LIBS = -L$(HDFROOT)/lib $(SUBLIBS) $(NILIB) $(EPICSLIBS) \
|
LIBS = -L$(HDFROOT)/lib $(SUBLIBS) $(NILIB) $(EPICSLIBS) \
|
||||||
-ltcl -lNeXus $(HDFROOT)/lib/libhdf5.a \
|
-ltcl -lNeXus $(HDFROOT)/lib/libhdf5.a \
|
||||||
$(HDFROOT)/lib/libsz.a \
|
$(HDFROOT)/lib/libsz.a \
|
||||||
@ -35,9 +36,3 @@ include make_gen
|
|||||||
|
|
||||||
-include $(OBJ:.o=.d)
|
-include $(OBJ:.o=.d)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user