1 --- clipssrc/Makefile.orig 2008-03-11 19:35:38.000000000 -0700
2 +++ clipssrc/Makefile 2008-03-11 19:37:38.000000000 -0700
4 genrcpsr.o globlbin.o globlbsc.o globlcmp.o globlcom.o \
5 globldef.o globlpsr.o immthpsr.o incrrset.o inherpsr.o \
6 inscom.o insfile.o insfun.o insmngr.o insmoddp.o insmult.o \
7 - inspsr.o insquery.o insqypsr.o iofun.o lgcldpnd.o main.o \
8 + inspsr.o insquery.o insqypsr.o iofun.o lgcldpnd.o \
9 memalloc.o miscfun.o modulbin.o modulbsc.o modulcmp.o moduldef.o \
10 modulpsr.o modulutl.o msgcom.o msgfun.o msgpass.o msgpsr.o \
11 multifld.o multifun.o objbin.o objcmp.o objrtbin.o objrtbld.o \
13 tmpltbin.o tmpltbsc.o tmpltcmp.o tmpltdef.o tmpltfun.o tmpltlhs.o \
14 tmpltpsr.o tmpltrhs.o tmpltutl.o userdata.o userfunctions.o utility.o watch.o
19 - gcc -c -Wall -Wundef -Wpointer-arith -Wshadow -Wcast-qual \
20 + $(GCC) $(CPPFLAGS) -c -fPIC -Wall -Wundef -Wpointer-arith -Wshadow -Wcast-qual \
21 -Wcast-align -Winline -Wmissing-declarations -Wredundant-decls \
22 -Wmissing-prototypes -Wnested-externs \
23 -Wstrict-prototypes -Waggregate-return -Wno-implicit $<
26 - gcc -o clips $(OBJS) -lm -ltermcap
27 +clips : $(SHLIB) main.o
28 + $(GCC) -o clips main.o -L. -lclips -lm -ltermcap $(LDFLAGS)
32 + $(GCC) -shared -Wl,-soname,libclips.so -o $(SHLIB) $(OBJS)
35 + install -d $(DESTDIR)/opt/bin/
36 + install clips $(DESTDIR)/opt/bin
37 + $(STRIP) $(DESTDIR)/opt/bin/clips
38 + install -d $(DESTDIR)/opt/lib/
39 + install $(SHLIB) $(DESTDIR)/opt/lib/
40 + $(STRIP) $(DESTDIR)/opt/lib/$(SHLIB)
42 # Dependencies generated using "gcc -MM *.c"
45 watch.o: watch.c setup.h envrnmnt.h usrsetup.h constant.h memalloc.h \
46 router.h prntutil.h moduldef.h conscomp.h constrct.h symbol.h \
47 userdata.h evaluatn.h expressn.h exprnops.h exprnpsr.h extnfunc.h \
48 - scanner.h pprint.h symblcmp.h modulpsr.h utility.h argacces.h watch.h
49 \ No newline at end of file
50 + scanner.h pprint.h symblcmp.h modulpsr.h utility.h argacces.h watch.h