fence-virt/common/Makefile.in

47 lines
1.2 KiB
Makefile
Raw Permalink Normal View History

###############################################################################
###############################################################################
##
## Copyright (C) 2009 Red Hat, Inc.
##
## This copyrighted material is made available to anyone wishing to use,
## modify, copy, or redistribute it subject to the terms and conditions
## of the GNU General Public License v.2.
##
###############################################################################
###############################################################################
include ../Makefile.top
TARGETS=libfence_virt.a
libfence_virt_a_SOURCE=mcast.c ip_lookup.c simple_auth.c tcp.c \
debug.c simple_auth.c fdops.c log.c
INCLUDES=-I../include `nss-config --cflags` `nspr-config --cflags`
all: ${TARGETS}
libfence_virt.a: ${libfence_virt_a_SOURCE:.c=.o}
ar rc $@ $^
fdops.o: fdops.c
$(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
ip_lookup.o: ip_lookup.c
$(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
mcast.o: mcast.c
$(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
tcp.o: tcp.c
$(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
%.o: %.c
2019-05-07 15:46:33 +03:00
$(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
clean:
rm -f ${TARGETS} *~ *.o testprog
install: