source: SH_SHM/trunk/source/foreign/Makefile @ 358

Revision 358, 813 bytes checked in by marcus, 12 years ago (diff)

r192 | walther | 2011-03-31 17:30:28 +0200 (Do, 31 Mär 2011) | 4 lines

  • locsat and fk source may be defined at command line
  • replacing makedepend by gccmakedep (bug not fixed for 5 years in Xorg)
  • added include to sysbase.h for proper macro definition
Line 
1# file Makefile
2#      ========
3#
4# version 8, 16-Feb-2000
5#
6# Makefile of directory $SH_SOURCE/foreign
7# K. Stammler, 7-Mar-95
8
9CFLAGS      = $(SH_CCOPTIONS) -fPIC -I.. -DBASECNST=\"basecnst.h\" -Dsparc=1
10CC          = $(SH_COMPILER)
11LD          = $(SH_COMPILER)
12RANLIB          = $(SH_RANLIB)
13LDFLAGS     = -L/usr/local/X11/lib
14LIBS        = -lm -lX
15
16LIB_FRGN    = ${SH_LIB}libfrgn.a
17LIB_FRGN_SRCS   = f2c.c gsedata.c lineparse.c sh_ah.c sh_gse.c sh_gse2.c \
18        sh_len.c sh_neic.c shfrgn.c
19
20#LIB_FRGN_OBJS  = $(LIB_FRGN_SRCS:%.c=%.o)
21LIB_FRGN_OBJS   = $(LIB_FRGN_SRCS:.c=.o)
22
23
24all:
25        @echo $(LIB_FRGN_OBJS); make $(LIB_FRGN)
26
27
28$(LIB_FRGN): $(LIB_FRGN_OBJS)
29        ar r $@ $(LIB_FRGN_OBJS); $(RANLIB) $@
30
31
32clean:
33        @rm $(LIB_FRGN_OBJS) *%
34
35
36depend:
37        gccmakedep -s "# DO NOT DELETE" -- $(CFLAGS) -- $(LIB_FRGN_SRCS)
38
39
40
41# DO NOT DELETE
42
Note: See TracBrowser for help on using the repository browser.