awips2/ldm/src/complex_program.make
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

90 lines
1.8 KiB
Makefile

# $Id: complex_program.make,v 1.2 2003/02/27 22:07:11 steve Exp $
include ../macros.make
INCLUDES = -I../config -I../misc -I../ulog -I../protocol -I../pq
TAG_SRCS = \
../misc/*.c ../misc/*.h \
../ulog/*.c ../ulog/*.h \
../protocol/*.c ../protocol/*.h \
../pq/*.c ../pq/*.h
LDLIBS = -lm
C_PROGRAMS = $(PROGRAM)
PROG_CSRCS = \
afos_message.c \
do.c \
dtime.c \
faa604_message.c \
feed.c \
file.c \
fxbuf.c \
pqing.c \
rawfile.c \
tokens.c \
tty.c \
wmo_header.c \
wmo_message.c \
wmo_start.c \
xbuf.c
PROG_OBJS = \
afos_message.o \
do_check.o \
do_nocheck.o \
dtime.o \
faa604_message.o \
feed.o \
file.o \
fxbuf.o \
pqing.o \
rawfile.o \
tokens.o \
tty.o \
wmo_header.o \
wmo_message.o \
wmo_start.o \
xbuf.o
MANUALS = pqing.1
PACKING_LIST = \
Makefile.in \
$(PROG_CSRCS) \
afos_message.h \
crc_tab.h \
dtime.h \
faa604_message.h \
faa604_message.c \
feed.h \
pqing.1 \
rawfile.h \
tokens.h \
wmo_header.h \
wmo_message.h \
wmo_start.h \
xbuf.h \
test.wmo \
pqcat.out.expect
all : $(C_PROGRAMS)
install : installed_programs installed_manuals links
$(C_PROGRAMS) : $(PROG_OBJS) $(LIBRARY)
$(CC) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBS)
links: $(BINDIR)/$(C_PROGRAMS)
cd $(BINDIR) ; rm -f dds ; ln -s $(PROG) dds
cd $(BINDIR) ; rm -f pps ; ln -s $(PROG) pps
cd $(BINDIR) ; rm -f ids ; ln -s $(PROG) ids
cd $(BINDIR) ; rm -f hds ; ln -s $(PROG) hds
cd $(BINDIR) ; rm -f hrs ; ln -s $(PROG) hrs
cd $(BINDIR) ; rm -f ddplus ; ln -s $(PROG) ddplus
cd $(BINDIR) ; rm -f feedtest ; ln -s $(PROG) feedtest
cd $(BINDIR) ; rm -f afos ; ln -s $(PROG) afos
do_check.o : do.c crc_tab.h
$(COMPILE.c) -DSCAN_CHECK do.c && mv do.o $@
do_nocheck.o : do.c crc_tab.h
$(COMPILE.c) -USCAN_CHECK do.c && mv do.o $@
include ../rules.make
include depends