File: Makefile

package info (click to toggle)
coldsync 3.0%2Bpre3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,188 kB
  • ctags: 2,033
  • sloc: ansic: 20,386; perl: 2,302; cpp: 1,640; yacc: 1,102; lex: 802; makefile: 533; sh: 177
file content (76 lines) | stat: -rw-r--r-- 1,599 bytes parent folder | download | duplicates (2)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# $Id: Makefile,v 1.13 2002/11/23 16:32:40 azummo Exp $

TOP =		..
SUBDIR =	libpconn

LIBNAME =	pconn
SHLIB_MAJOR =	0
SHLIB_MINOR =	0

LIBSRCS =	cfmakeraw.c \
		crc.c \
		dlp_cmd.c \
		dlp_rpc.c \
		util.c \
		dlp.c \
		netsync.c \
		palm_errno.c \
		padp.c \
		slp.c \
		cmp.c \
		PConnection.c \
		PConnection_serial.c \
		PConnection_usb.c \
		PConnection_libusb.c \
		PConnection_net.c \
		spc_client.c 

LIBOBJS =	${LIBSRCS:.c=.o}
SHLIBOBJS =	${LIBSRCS:.c=.So}

CLEAN =		${LIBOBJS} ${SHLIBOBJS} ${LIBRARY} \
		*.ln *.bak *~ core *.core .depend
DISTCLEAN =
SPOTLESS =

DISTFILES =	Makefile ${LIBSRCS}

OTHERTAGFILES =	${LIBSRCS}

include ${TOP}/Make.rules

depend::
	${MKDEP} ${CPPFLAGS} ${LIBSRCS}

all::	${LIBRARY}

# It might be a good idea later on to install the library, so that
# people can write other programs that communicate with the Palm, but
# not just yet.
# install::

# XXX - Building shared libraries:
#  FreeBSD:
#	${CC} -fpic -DPIC ${CFLAGS} -c foo.c -o foo.So
#	ld -o foo.So.tmp -x -r foo.So
#	mv foo.So.tmp foo.So
#
#	rm -f libfoo.so.1 libfoo.so
#	ln -sf libfoo.so.1 libfoo.so
#	${CC} -shared -Wl,-x -o libfoo.so.1 -Wl,-soname,libfoo.so.1 \
#		`lorder *.So | tsort -q`

# Solaris: has 'lorder' and 'tsort', but linker doesn't support "-x"
# (delete local symbols).
#	'ln' is picky: you need to say 'ln -f -s foo bar', not 'ln -fs'
# or 'ln -sf' :-(
#	'tsort' doesn't take "-q" option.

# DU: has 'lorder' and 'tsort'
#	'ld' recognizes "-x" option.
#	'tsort' doesn't take "-q" option.

# This is for Emacs's benefit:
# Local Variables:	***
# fill-column:	75	***
# End:			***