]> Pileus Git - ~andy/rsl/blob - src/Makefile.am
Merge branch 'master' into aweather
[~andy/rsl] / src / Makefile.am
1 M_CPPFLAGS = -I. -I..
2 AM_YFLAGS = -d
3
4 lib_LTLIBRARIES = librsl.la
5
6 include_HEADERS = rsl.h toolkit_1BC-51_appl.h
7
8 headers = africa.h dorade.h lassen.h \
9           mcgill.h nsig.h radtec.h rainbow.h \
10           rapic_routines.h toga.h \
11           wsr88d.h \
12           $(include_HEADERS)
13
14 librsl_la_LDFLAGS  = -version-info 1:44
15 librsl_la_CPPFLAGS = -DDATADIRRSL="\"$(DOTS)$(datadir)/rsl1\""
16 librsl_la_SOURCES  = \
17         rapic_parse.y rapic_scan.l rapic_to_radar.c rapic_routines.c \
18         radtec.c radtec_to_radar.c \
19         dorade.c dorade_print.c dorade_to_radar.c \
20         lassen.c lassen_to_radar.c \
21         radar.c volume.c image_gen.c cappi.c fraction.c read_write.c farea.c \
22         range.c radar_to_uf.c uf_to_radar.c wsr88d_to_radar.c \
23         carpi.c cube.c sort_rays.c toga_to_radar.c gts.c histogram.c \
24         ray_indexes.c anyformat_to_radar.c get_win.c endian.c mcgill_to_radar.c \
25         mcgill.c interp.c toga.c wsr88d.c wsr88d_get_site.c wsr88d_m31.c \
26         prune.c reverse.c fix_headers.c \
27         wsr88d_align_split_cut_rays.c \
28         wsr88d_merge_split_cuts.c \
29         nsig_to_radar.c nsig.c nsig2_to_radar.c \
30         africa_to_radar.c africa.c \
31         radar_to_hdf_2.c hdf_to_radar.c toolkit_memory_mgt.c \
32         radar_to_hdf_1.c rainbow.c rainbow_to_radar.c $(headers)
33
34 if SYS_WIN
35 librsl_la_LDFLAGS += -mwindows -no-undefined
36 librsl_la_LIBADD   = -lws2_32
37 librsl_la_SOURCES += gzip_win32.c 
38 else
39 librsl_la_SOURCES += gzip.c 
40 endif
41
42 # This should be speciifc to rapic,
43 # but I'm not sure how to do that with autofoo
44 AM_LFLAGS  = -P rapic
45 AM_YFLAGS += -p rapic
46 LEX_OUTPUT_ROOT = lex.rapic
47
48 BUILT_SOURCES = rapic_parse.h
49
50 DISTCLEANFILES = rapic_scan.c rapic_parse.c