open-src/app/xlswins/sun-src/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Tue, 02 Mar 2010 13:31:46 -0800
changeset 919 425233ae7236
parent 907 3c35d611cdaa
child 943 294f64612d23
permissions -rw-r--r--
6931307 Standardize Sun copyright & license notices in X gate on current format
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
501
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     2
#
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     3
# xlswins 1.x Makefile
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     4
#
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 501
diff changeset
     5
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 501
diff changeset
     6
# Use is subject to license terms.
501
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     7
#
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     8
# Permission is hereby granted, free of charge, to any person obtaining a
919
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
     9
# copy of this software and associated documentation files (the "Software"),
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    10
# to deal in the Software without restriction, including without limitation
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    11
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    12
# and/or sell copies of the Software, and to permit persons to whom the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    13
# Software is furnished to do so, subject to the following conditions:
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    14
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    15
# The above copyright notice and this permission notice (including the next
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    16
# paragraph) shall be included in all copies or substantial portions of the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    17
# Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    18
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    19
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    20
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    21
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    22
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    23
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    24
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    25
# DEALINGS IN THE SOFTWARE.
501
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    26
#
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    27
#
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    28
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    29
OBJS = xlswins.o
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    30
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    31
xlswins: $(OBJS)
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    32
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) -lX11
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    33
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 501
diff changeset
    34
install: xlswins
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 501
diff changeset
    35
	mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 501
diff changeset
    36
	$(INSTALL) -m 755 xlswins $(DESTDIR)$(bindir)/xlswins
501
172978e9a050 6736025 Replace xlswins with open src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    37
	$(INSTALL) -m 644 xlswins.1 \
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 501
diff changeset
    38
		$(DESTDIR)$(mandir)/man1/xlswins.1