source: trunk/src/data_exchange/import_generic/makefile.ux @ 2868

Revision 2868, 1.2 KB checked in by paulf, 13 years ago (diff)

minor MACOSX directives

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2#
3#   THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE
4#   CHECKED IT OUT USING THE COMMAND CHECKOUT.
5#
6#    $Id$
7#
8#    Revision history:
9#     $Log$
10#     Revision 1.3  2007/03/28 15:42:27  paulf
11#     minor MACOSX directives
12#
13#     Revision 1.2  2005/07/27 18:46:02  friberg
14#     fix to makefile.ux from the sol version
15#
16#     Revision 1.1  2005/07/25 20:32:51  friberg
17#     added in UNIX makefile
18#
19#
20
21CFLAGS = -D_REENTRANT $(GLOBALFLAGS)
22#LIBS =-lnsl -mt -lpthread
23# removed -lnsl for MACOSX
24LIBS = -mt -lpthread
25
26B = $(EW_HOME)/$(EW_VERSION)/bin
27L = $(EW_HOME)/$(EW_VERSION)/lib
28
29
30EWBIN = $L/kom.o $L/getutil.o $L/logit_mt.o $L/sema_ew.o \
31        $L/transport.o $L/sleep_ew.o $L/socket_ew.o $L/time_ew.o \
32        $L/threads_ew.o $L/socket_ew_common.o
33         
34all:
35        make -f makefile.ux import_generic
36        make -f makefile.ux import_ack
37
38import_generic: import_generic.o $(EWBIN)
39        cc -o $B/import_generic import_generic.o $(EWBIN) $(LIBS)
40
41import_ack: import_ack.o $(EWBIN)
42        cc -o $B/import_ack import_ack.o $(EWBIN) $(LIBS)
43
44
45lint:
46        lint import_generic.c import_ack.c  $(GLOBALFLAGS)
47
48# Clean-up rules
49clean:
50        rm -f a.out core *.o *.obj *% *~
51
52clean_bin:
53        rm -f $B/import_generic* $B/import_ack*
Note: See TracBrowser for help on using the repository browser.