open-src/app/xmag_multivis/sun-src/Makefile
changeset 1422 e9cadc0026d8
parent 1370 7a7a374453e5
equal deleted inserted replaced
1421:e78901f90784 1422:e9cadc0026d8
     1 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     1 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
     2 #
     2 #
     3 # Permission is hereby granted, free of charge, to any person obtaining a
     3 # Permission is hereby granted, free of charge, to any person obtaining a
     4 # copy of this software and associated documentation files (the "Software"),
     4 # copy of this software and associated documentation files (the "Software"),
     5 # to deal in the Software without restriction, including without limitation
     5 # to deal in the Software without restriction, including without limitation
     6 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
     6 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    32 	$(LD) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)
    32 	$(LD) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)
    33 
    33 
    34 .c.o:
    34 .c.o:
    35 	$(CC) $(CFLAGS) $(MULTIVIS_CPPFLAGS) $(CPPFLAGS) -c $(OUTPUT_OPTION) $<
    35 	$(CC) $(CFLAGS) $(MULTIVIS_CPPFLAGS) $(CPPFLAGS) -c $(OUTPUT_OPTION) $<
    36 
    36 
    37 install: xmag_multivis
    37 install: xmag_multivis xmag_multivis.man
    38 	mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1
    38 	mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1
    39 	$(INSTALL) -m 0555 xmag_multivis $(DESTDIR)$(PREFIX)/bin
    39 	$(INSTALL) -m 0555 xmag_multivis $(DESTDIR)$(PREFIX)/bin
    40 	$(INSTALL) -m 0444 xmag_multivis.man $(DESTDIR)$(PREFIX)/share/man/man1/xmag_multivis.1
    40 	$(INSTALL) -m 0444 xmag_multivis.man $(DESTDIR)$(PREFIX)/share/man/man1/xmag_multivis.1
    41 
    41