]> Pileus Git - ~andy/rsl/blob - src/Makefile.am
7bcf3813ad11c2c67fd7e01ebe631aed471fe563
[~andy/rsl] / src / Makefile.am
1 AM_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:42
15 librsl_la_CPPFLAGS = -DDATADIRRSL="\"$(dots)$(datadir)/rsl\"" 
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         gzip.c prune.c reverse.c fix_headers.c \
27         nsig_to_radar.c nsig.c nsig2_to_radar.c \
28         africa_to_radar.c africa.c \
29         radar_to_hdf_2.c hdf_to_radar.c toolkit_memory_mgt.c \
30         radar_to_hdf_1.c rainbow.c rainbow_to_radar.c $(headers)
31
32 if WIN32
33 librsl_la_LDFLAGS += -mwindows -no-undefined
34 librsl_la_LIBADD   = -lws2_32
35 dots               = ..
36 endif
37
38 # This should be speciifc to rapic,
39 # but I'm not sure how to do that with autofoo
40 AM_LFLAGS  = -P rapic
41 AM_YFLAGS += -p rapic
42 LEX_OUTPUT_ROOT = lex.rapic
43
44 BUILT_SOURCES = rapic_parse.h
45
46 DISTCLEANFILES = rapic_scan.c rapic_parse.c