File: rules.mk

package info (click to toggle)
xplc 0.3.13-12.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,536 kB
  • sloc: sh: 2,739; cpp: 2,697; ansic: 1,127; makefile: 64; perl: 6
file content (31 lines) | stat: -rw-r--r-- 1,183 bytes parent folder | download | duplicates (9)
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
# XPLC - Cross-Platform Lightweight Components
# Copyright (C) 2005, Net Integration Technologies, Inc.
#
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
#
# $Id: rules.mk,v 1.1 2005/10/21 13:18:22 sfllaw Exp $

default: $(UUID_OBJS) $(UUID_BINS) uuid/bin/uuidcdef

uuid/libuuid.a: $(patsubst %.c,%.o,$(wildcard uuid/*.c))

uuid/bin/uuidcdef: uuid/bin/uuidgen
	$(LN_S) $(notdir $<) $@

uuid/bin/%: uuid/bin/%.o $(with_uuid_static)
	$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@

uuid/bin/%: LDLIBS+=$(with_uuid)