Implemented connection type "tcp" (GCT_TCP), use <hostname>:<port> as "port"
[gnokii.git] / common / devices / Makefile
1
2 #
3 # $Id$
4 #
5 # Makefile for the GNOKII tool suite.
6 #
7 # Copyright (C) 1999 Hugh Blemings & Pavel Janík ml.
8 #               2000 Karel Zak
9 #
10
11 #
12 # For this common directory is used "subsystem.o" .o files concept.
13 #   (the list of object files to be linked together (to COMMON.o),
14 #   and other dirs is used this _one_ file (instead of all OBJS)
15 #
16
17 TOPDIR=../..
18 include $(TOPDIR)/Makefile.global
19
20 OBJS =  tekram.o
21
22 ifdef WIN32
23         OBJS += $(TOPDIR)/win32/winserial.o
24 else
25         OBJS += unixserial.o \
26                 unixirda.o \
27                 tcp.o
28 endif
29
30 all: DEVICES.o
31
32 DEVICES.o: $(OBJS)
33         $(LD) DEVICES.o $(OBJS)
34
35 clean:
36         $(RM) $(OBJS) *~ depend LINKS.o
37
38 install:
39         @echo
40
41 depend dep:
42         $(CC) $(CFLAGS) -MM *.c >depend
43
44 ifeq (depend,$(wildcard depend))
45 include depend
46 endif
47
48
49 .PHONY: all install clean dep depend
50