OLD | NEW |
1 ## | 1 ## |
2 # | 2 # |
3 # Copyright (c) International Business Machines Corp., 2004 | 3 # Copyright (c) International Business Machines Corp., 2004 |
4 # | 4 # |
5 # This program is free software; you can redistribute it and/or modify | 5 # This program is free software; you can redistribute it and/or modify |
6 # it under the terms of the GNU General Public License as published by | 6 # it under the terms of the GNU General Public License as published by |
7 # the Free Software Foundation; either version 2 of the License, or | 7 # the Free Software Foundation; either version 2 of the License, or |
8 # (at your option) any later version. | 8 # (at your option) any later version. |
9 # | 9 # |
10 # This program is distributed in the hope that it will be useful, | 10 # This program is distributed in the hope that it will be useful, |
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See | 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See |
13 # the GNU General Public License for more details. | 13 # the GNU General Public License for more details. |
14 # | 14 # |
15 # You should have received a copy of the GNU General Public License | 15 # You should have received a copy of the GNU General Public License |
16 # along with this program; if not, write to the Free Software | 16 # along with this program; if not, write to the Free Software |
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 # | 18 # |
19 ## | 19 ## |
20 | 20 |
21 SUBDIRS = common | 21 SUBDIRS = common |
22 SUBDIRS += `ls */Makefile | sed "s/Makefile//g" | sed "s/common\///g"` | 22 SUBDIRS += `ls */Makefile | sed "s/Makefile//g" | sed "s/common\///g"` |
23 | 23 |
24 LDFLAGS += -L/usr/local/lib -ltspi -lssl -lcrypto -lpthread | |
25 | |
26 all: | 24 all: |
27 » @set -e; for i in $(SUBDIRS); do $(MAKE) LDFLAGS="$(LDFLAGS)" \ | 25 » @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done |
28 » -C $$i ; done | |
29 | 26 |
30 install: | 27 install: |
31 @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done | 28 @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done |
32 | 29 |
33 clean: | 30 clean: |
34 @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done | 31 @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done |
35 | 32 |
OLD | NEW |