Annotation of OpenXM/src/ox_ntl/crypt/sha1/Makefile, Revision 1.5
1.5 ! iwane 1: # $OpenXM: OpenXM/src/ox_ntl/crypt/sha1/Makefile,v 1.4 2004/07/04 02:31:51 iwane Exp $
1.1 iwane 2:
1.4 iwane 3: CXX ?= g++
4: CC ?= gcc
1.1 iwane 5:
1.5 ! iwane 6: RM ?= /bin/rm -f
1.4 iwane 7: CP ?= /bin/cp
1.1 iwane 8:
1.4 iwane 9: OpenXM_HOME ?= ${PWD}/../../../..
1.1 iwane 10: PREFIX=$(OpenXM_HOME)
11:
1.4 iwane 12: CFLAGS += -g -Wall
13: CXXFLAGS += -g -Wall -D_WITH_NTL_
14: CPPFLAGS = -I$(PREFIX)/include
1.1 iwane 15:
16:
17: .SUFFIXES: .cpp .o .c
18:
1.3 iwane 19: SRCC=sha1.c sha1test.c
1.1 iwane 20: SRCP=ntlsha.cpp
21:
1.3 iwane 22: OBJC=$(SRCC:.c=.o)
1.1 iwane 23:
1.3 iwane 24: PROGS=sha1test
1.1 iwane 25:
26: all: $(PROGS)
27:
1.3 iwane 28: $(PROGS): $(OBJC)
29: $(CC) $(CFLAGS) $(LDFLAGS) $(OBJC) -o $@
1.1 iwane 30:
31:
32: .cpp.o:
1.4 iwane 33: $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@
1.1 iwane 34:
35: .c.o:
1.4 iwane 36: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
1.1 iwane 37:
38: clean:
1.5 ! iwane 39: -$(RM) $(OBJC) $(PROGS)
1.1 iwane 40:
1.2 iwane 41: ntlsha.cpp: sha1.h
1.1 iwane 42:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>