]> git.ipfire.org Git - people/ms/strongswan.git/blob - src/libfreeswan/libcrypto/libserpent/Makefile
- fixed stroke error output to starter
[people/ms/strongswan.git] / src / libfreeswan / libcrypto / libserpent / Makefile
1 CFLAGS=-O3 -fomit-frame-pointer -D__KERNEL__ -Wall $(EXTRA_CFLAGS)
2 INC=-I../include
3 LIBOBJ=serpent.o serpent_cbc.o
4 BLIB=libserpent.a
5
6 .c.o:
7 $(CC) $(CPPFLAGS) $(CFLAGS) $(INC) -c $< -o $@
8
9 $(BLIB): $(LIBOBJ)
10 /bin/rm -f $(BLIB)
11 ar cr $(BLIB) $(LIBOBJ)
12 -if test -s /bin/ranlib; then /bin/ranlib $(BLIB); \
13 else if test -s /usr/bin/ranlib; then /usr/bin/ranlib $(BLIB); \
14 else exit 0; fi; fi
15
16 test: test_main.o $(BLIB)
17 $(CC) -o $@ $^
18
19 clean:
20 rm -f *.[oa] core $(TARGET) test