4f870c4fd0
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
35 lines
968 B
Makefile
35 lines
968 B
Makefile
###############################################################################
|
|
###############################################################################
|
|
##
|
|
## 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 $@ $^
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $^ $(INCLUDES)
|
|
|
|
clean:
|
|
rm -f ${TARGETS} *~ *.o testprog
|
|
|
|
install:
|
|
|