1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
#####################################################################
#
# Makefile for the GNU cfengine (C) Mark Burgess 1994
#
#####################################################################
srcdir = @srcdir@
VPATH = @srcdir@
OBJ = getopt.o \
getopt1.o \
full-write.o\
regex.o \
md5.o \
md5c.o
SCI_CC = -cckr
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
DEFS = @DEFS@
AR = ar
RANLIB = @RANLIB@
RM = rm -f
#
# Note that if you are compiling with gcc -- you will almost certainly
# need the ADDITIONAL CFLAGS -w
#
# On solaris, you can remove the -w flag is you're not using the
# GNU compiler
#
#####################################################################
# Rules
######################################################################
all: libcfpub.a
install: all
@echo "Nothing to install"
libcfpub.a: ${OBJ}
${AR} cru $@ ${OBJ}
-${RANLIB} $@
clean:
${RM} ${OBJ}
distclean: clean
${RM} Makefile *.o
${RM} libcfpub.a libpub.a
.c.o:
${CC} -c ${CPPFLAGS} ${CFLAGS} ${DEFS} $<
|