-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.am
executable file
·37 lines (31 loc) · 888 Bytes
/
Makefile.am
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
## ##########################################################################
##
## File: OOPIC Makefile.am
##
## Purpose: Run automake at the top level to make Makefile.in in all
## subdirectories.
##
## ##########################################################################
PIC_DIRS = otools physics advisor xg
SUBDIRS = $(PIC_DIRS) config
all-local:
-rm -f xoopic
-/bin/ln -s xg/xoopic xoopic
depend:
for i in $(PIC_DIRS) ; do \
(cd $$i; \
echo "Making depend in $$i"; \
make depend) \
done
crufix: linuxfix
linuxfix:
for i in $(PIC_DIRS) ; do \
( cd $$i; \
echo "fixing the Makefile in $$i"; \
mv Makefile Makefile.old ;\
cat Makefile.old | sed 's/ cru / /' > Makefile);\
mv Makefile.in Makefile.in.old ;\
cat Makefile.in.old | sed 's/ cru / /' > Makefile.in) \
done
automake:
./config/automake.sh