blob: de26d5d46fe98ba48f201c4604db7a0bad577172 (
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
|
diff -r -U3 libmba-0.8.10/Makefile libmba/Makefile
--- libmba-0.8.10/Makefile 2004-08-27 22:59:43.000000000 -0600
+++ libmba/Makefile 2004-08-31 18:30:01.120125541 -0600
@@ -1,7 +1,7 @@
-prefix = /usr/local
-includedir = $(prefix)/include
-libdir = $(prefix)/lib
-mandir = $(prefix)/man
+prefix = ./
+includedir = $(prefix)
+libdir = $(prefix)
+mandir = $(prefix)
CC = gcc
LIBNAME = mba
MAJVERSION = 0.8
@@ -60,7 +60,7 @@
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)
+ # 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
diff -r -U3 libmba-0.8.10/Makefile.msvc libmba/Makefile.msvc
--- libmba-0.8.10/Makefile.msvc 2004-08-27 22:41:52.000000000 -0600
+++ libmba/Makefile.msvc 2004-08-31 19:26:49.998837317 -0600
@@ -3,16 +3,17 @@
#
# Debug options
#
-cflags=$(cflags) /MDd /GZ /Gm /ZI /Od /Isrc /I$(EXPAT)\Source\lib /D_DEBUG /DWIN32 /D_WINDOWS /DUNICODE /D_UNICODE /D_USRDLL /DLIBMBA_EXPORTS /DUSE_WCHAR /DMSGNO
-lflags=/nologo /dll /debug /pdbtype:sept
+# cflags=$(cflags) /MLd /GZ /Gm /ZI /Od /Isrc /I$(EXPAT)\Source\lib /D_DEBUG /DWIN32 /D_WINDOWS /DUNICODE /D_UNICODE /D_USRDLL /DLIBMBA_EXPORTS /DUSE_WCHAR /DMSGNO
+# lflags=/nologo /dll /debug /pdbtype:sept
# Production options
#
-#cflags=$(cflags) /Isrc /I$(EXPAT)\Source\lib /DWIN32 /D_WINDOWS /DUNICODE /D_UNICODE /D_USRDLL /DLIBMBA_EXPORTS /DUSE_WCHAR /DMSGNO
-#lflags=/nologo /dll /incremental:no
+cflags=$(cflags) /ML /Isrc /DWIN32 /D_WINDOWS /DUNICODE /D_UNICODE /D_USRDLL /DLIBMBA_EXPORTS /DUSE_WCHAR /DMSGNO
+lflags=/nologo /dll /incremental:no
OBJS=src\cfg.obj src\hashmap.obj src\hexdump.obj src\linkedlist.obj src\mbs.obj src\msgno.obj src\stack.obj src\pool.obj src\varray.obj src\wcwidth.obj src\csv.obj src\path.obj src\text.obj src\eval.obj src\allocator.obj src\suba.obj src\bitset.obj src\time.obj src\misc.obj
+all: libmba.dll libmba.lib
libmba.dll: $(OBJS)
$(link) $(lflags) /out:libmba.dll $(OBJS)
|