source: trunk/third/xpm/Makefile.noX @ 15269

Revision 15269, 2.4 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15268, which included commits to RCS files with non-trunk default branches.
Line 
1#
2#  Copyright (C) 1989-95 GROUPE BULL
3#
4#  Permission is hereby granted, free of charge, to any person obtaining a copy
5#  of this software and associated documentation files (the "Software"), to
6#  deal in the Software without restriction, including without limitation the
7#  rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8#  sell copies of the Software, and to permit persons to whom the Software is
9#  furnished to do so, subject to the following conditions:
10#
11#  The above copyright notice and this permission notice shall be included in
12#  all copies or substantial portions of the Software.
13#
14#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16#  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17#  GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18#  AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20#
21#  Except as contained in this notice, the name of GROUPE BULL shall not be
22#  used in advertising or otherwise to promote the sale, use or other dealings
23#  in this Software without prior written authorization from GROUPE BULL.
24#
25
26#
27# XPM Makefile - Arnaud LE HORS
28#
29
30# NOTE: if the build fails on your system using this Makefile, you need to check
31# and possibly edit each of the Makefile in the subdirs lib, sxpm, and cxpm.
32
33SUBDIRS= lib sxpm cxpm
34
35MAKE=make
36MFLAGS=-f Makefile.noX
37INSTALL= install -c
38CURRENT_DIR=.
39
40all::
41        @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
42        for i in $(SUBDIRS) ;\
43        do \
44        (cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
45        $(MAKE) $(MFLAGS)  all); \
46        done
47clean::
48        @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
49        for i in $(SUBDIRS) ;\
50        do \
51        (cd $$i ; echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \
52        $(MAKE) $(MFLAGS) RM_CMD='$(RM_CMD)' clean); \
53        done
54
55
56install::
57        @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
58        for i in $(SUBDIRS) ;\
59        do \
60        (cd $$i ; echo "installing" "in $(CURRENT_DIR)/$$i..."; \
61        $(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' INSTALL='$(INSTALL)' install); \
62        done
63
64install.man::
65        @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
66        for i in $(SUBDIRS) ;\
67        do \
68        (cd $$i ; echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \
69        $(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install.man); \
70        done
Note: See TracBrowser for help on using the repository browser.