blob: 207dde7991dc82529d1dbf3804e080848714c9bc (
plain)
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
|
diff -r -C3 libmba-0.7.0/Makefile libmba/Makefile
*** libmba-0.7.0/Makefile 2003-10-15 02:56:32.000000000 -0600
--- libmba/Makefile 2004-07-29 12:47:27.532270825 -0600
***************
*** 1,7 ****
! prefix = /usr/local
! includedir = $(prefix)/include
! libdir = $(prefix)/lib
! mandir = $(prefix)/man
CC = gcc
LIBNAME = mba
MAJVERSION = 0.7
--- 1,7 ----
! prefix = ./
! includedir = $(prefix)
! libdir = $(prefix)
! mandir = $(prefix)
CC = gcc
LIBNAME = mba
MAJVERSION = 0.7
***************
*** 23,29 ****
all: $(ARNAME)($(OBJS)) $(SONAME)
$(SONAME): $(ARNAME)($(OBJS)) $(OBJS)
! $(CC) -shared $(OBJS) -L$(libdir) -lc -lexpat -lutil -Wl,-h,$(SOVERSION) -o $(SONAME)
.c.a:
$(CC) $(CFLAGS) -c $< -o $*.o
--- 23,29 ----
all: $(ARNAME)($(OBJS)) $(SONAME)
$(SONAME): $(ARNAME)($(OBJS)) $(OBJS)
! $(CC) -shared $(OBJS) -L$(libdir) -lc -lutil -Wl,-h,$(SOVERSION) -o $(SONAME)
.c.a:
$(CC) $(CFLAGS) -c $< -o $*.o
***************
*** 53,59 ****
clean:
rm -rf $(includedir)/mba
rm -f $(OBJS) $(ARNAME) $(SONAME) $(libdir)/$(ARNAME) $(libdir)/$(SONAME) $(libdir)/$(SOVERSION) $(libdir)/lib$(LIBNAME).so $(DISTRO).zip
! cd $(mandir)/man3 && rm -f $(MAN)
sho: src/shellout.c src/mba/shellout.h
gcc -Wall -W -DTEST -DMSGNO -lmba -lutil -o sho src/shellout.c
--- 53,59 ----
clean:
rm -rf $(includedir)/mba
rm -f $(OBJS) $(ARNAME) $(SONAME) $(libdir)/$(ARNAME) $(libdir)/$(SONAME) $(libdir)/$(SOVERSION) $(libdir)/lib$(LIBNAME).so $(DISTRO).zip
! # cd $(mandir)/man3 && rm -f $(MAN)
sho: src/shellout.c src/mba/shellout.h
gcc -Wall -W -DTEST -DMSGNO -lmba -lutil -o sho src/shellout.c
|