-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from asfadmin/devel
Devel
- Loading branch information
Showing
336 changed files
with
6,287 additions
and
8,147 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,6 @@ | |
*.out | ||
*.app | ||
|
||
# scons stuff | ||
.sconsign.dblite | ||
|
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
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
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
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,40 @@ | ||
import os.path | ||
|
||
Import("globalenv") | ||
localenv = globalenv.Clone() | ||
|
||
localenv.AppendUnique(CPPPATH = [ | ||
"#include", | ||
"#src/asf", | ||
"#src/asf_meta", | ||
"#src/libasf_proj", | ||
"#src/libasf_sar", | ||
"#src/libasf_raster", | ||
]) | ||
|
||
localenv.ParseConfig("pkg-config --cflags --libs libgeotiff") | ||
localenv.ParseConfig("pkg-config --cflags --libs gsl") | ||
localenv.ParseConfig("pkg-config --cflags --libs glib-2.0") | ||
localenv.ParseConfig("pkg-config --cflags --libs libpng") | ||
|
||
localenv.AppendUnique(LIBS = ["asf", | ||
"asf_meta", | ||
"asf_proj", | ||
"asf_raster", | ||
"asf_fft", | ||
]) | ||
|
||
head_build_dir, tail_build_dir = os.path.split(Dir(".").path) | ||
|
||
localenv.AppendUnique(LIBPATH = [ | ||
"#" + os.path.join(head_build_dir, "asf"), | ||
"#" + os.path.join(head_build_dir, "asf_meta"), | ||
"#" + os.path.join(head_build_dir, "libasf_proj"), | ||
"#" + os.path.join(head_build_dir, "libasf_raster"), | ||
"#" + os.path.join(head_build_dir, "asf_fft"), | ||
]) | ||
|
||
bins = localenv.Program("adjust_bands", Glob("*.c")) | ||
|
||
globalenv.Install(globalenv["inst_dirs"]["bins"], bins) | ||
|
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,42 @@ | ||
import os.path | ||
|
||
Import("globalenv") | ||
localenv = globalenv.Clone() | ||
|
||
localenv.AppendUnique(CPPPATH = [ | ||
"#include", | ||
"#src/asf", | ||
"#src/asf_meta", | ||
"#src/libasf_proj", | ||
]) | ||
|
||
localenv.ParseConfig("pkg-config --cflags --libs libgeotiff") | ||
localenv.ParseConfig("pkg-config --cflags --libs gsl") | ||
localenv.ParseConfig("pkg-config --cflags --libs glib-2.0") | ||
|
||
localenv.AppendUnique(LIBS = [ | ||
"asf", | ||
"asf_meta", | ||
"asf_proj", | ||
]) | ||
|
||
head_build_dir, tail_build_dir = os.path.split(Dir(".").path) | ||
|
||
localenv.AppendUnique(LIBPATH = [ | ||
"#" + os.path.join(head_build_dir, "asf"), | ||
"#" + os.path.join(head_build_dir, "asf_meta"), | ||
"#" + os.path.join(head_build_dir, "libasf_proj"), | ||
]) | ||
|
||
bins = localenv.Program("airsarin", [ | ||
"airsarin.c", | ||
"airsar2ddr.c", | ||
"airsar_io.c", | ||
]) | ||
|
||
globalenv.Install(globalenv["inst_dirs"]["bins"], bins) | ||
|
||
mans = localenv.File(["airsarin.1"]) | ||
|
||
globalenv.Install(globalenv["inst_dirs"]["mans"], mans) | ||
|
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,36 @@ | ||
import os.path | ||
|
||
Import("globalenv") | ||
localenv = globalenv.Clone() | ||
|
||
localenv.AppendUnique(CPPPATH = [ | ||
"#src/asf/", | ||
"#include/", | ||
"#src/asf_meta/", | ||
"#src/libasf_proj/", | ||
"#src/libasf_raster/", | ||
"#src/libasf_sar", | ||
]) | ||
|
||
localenv.ParseConfig("pkg-config --cflags --libs libgeotiff") | ||
localenv.ParseConfig("pkg-config --cflags --libs gsl") | ||
localenv.ParseConfig("pkg-config --cflags --libs glib-2.0") | ||
|
||
localenv.AppendUnique(LIBS = [ | ||
"asf", | ||
"asf_proj", | ||
"asf_meta", | ||
]) | ||
|
||
head_build_dir, tail_build_dir = os.path.split(Dir(".").path) | ||
|
||
localenv.AppendUnique(LIBPATH = [ | ||
"#" + os.path.join(head_build_dir, "asf"), | ||
"#" + os.path.join(head_build_dir, "libasf_proj"), | ||
"#" + os.path.join(head_build_dir, "asf_meta"), | ||
]) | ||
|
||
|
||
bins = localenv.Program("analyze_yaw", Glob("*.c")) | ||
|
||
globalenv.Install(globalenv["inst_dirs"]["bins"], bins) |
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,33 @@ | ||
include ../../make_support/system_rules | ||
|
||
LIBS = \ | ||
$(LIBDIR)/libasf_ardop.a \ | ||
$(LIBDIR)/libasf_sar.a \ | ||
$(LIBDIR)/libasf_export.a \ | ||
$(LIBDIR)/libasf_raster.a \ | ||
$(LIBDIR)/asf_fft.a \ | ||
$(LIBDIR)/asf_meta.a \ | ||
$(LIBDIR)/libasf_proj.a \ | ||
$(LIBDIR)/asf.a \ | ||
$(PROJ_LIBS) \ | ||
$(JPEG_LIBS) \ | ||
$(GEOTIFF_LIBS) \ | ||
$(TIFF_LIBS) \ | ||
$(PNG_LIBS) \ | ||
$(GSL_LIBS) \ | ||
$(GLIB_LIBS) \ | ||
$(ZLIB_LIBS) | ||
|
||
LIBC = $(LIBS) -lm | ||
|
||
OBJS = ardop.o parse_cla.o | ||
|
||
all: ardop | ||
|
||
ardop: $(OBJS) | ||
$(CC) $(CFLAGS) -o ardop $(OBJS) $(LIBC) $(LDFLAGS) | ||
mv ardop$(BIN_POSTFIX) $(BINDIR) | ||
cp ardop.1 ../../man/cat1/ardop.1 | ||
|
||
clean: | ||
rm -f core *.o |
Oops, something went wrong.