File: makefile.vc

package info (click to toggle)
xlispstat 3.52.14-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,560 kB
  • ctags: 12,676
  • sloc: ansic: 91,357; lisp: 21,759; sh: 1,525; makefile: 521; csh: 1
file content (44 lines) | stat: -rw-r--r-- 1,089 bytes parent folder | download | duplicates (4)
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
XLSDIR = ..\..
WXLSDIR = $(XLSDIR)\msdos
XLSLIB = vcwxls32.lib

TOOLS = f:\devstudio\vc
CC=$(TOOLS)\bin\cl.exe
LINK32=link.exe
LIB32=lib.exe

DLL_CFLAGS=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_Windows" /FD \
  /D POSIX_MISTAKE /D HAVE_MEMMOVE /I $(WXLSDIR) /I $(XLSDIR) /I regex \
  /D far=
DLL_LDFLAGS=$(STDLIBS) /nologo /subsystem:windows /dll /incremental:no\
 /machine:I386

STDLIBS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
 advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
 odbccp32.lib

.c.obj:
	$(CC) $(DLL_CFLAGS) -c $<
{$(WXLSDIR)}.c.obj:
	$(CC) $(DLL_CFLAGS) -c $<
{regex}.c.obj:
	$(CC) $(DLL_CFLAGS) -c $<

OBJECTS = dllstub.obj regexp.obj \
	regcomp.obj regerror.obj regexec.obj regfree.obj

regexp.dll : $(OBJECTS) $(XLSLIB) vcregexp.def
    $(LINK32) @<<
  $(DLL_LDFLAGS) /out:regexp.dll /def:vcregexp.def $(OBJECTS) $(XLSLIB)
<<

vcwxls32.lib: $(WXLSDIR)/wxls32.def
   $(LIB32) /def:$(WXLSDIR)/wxls32.def /out:vcwxls32.lib

clean :
	-@erase *.obj
	-@erase *.dll
	-@erase *.exp
	-@erase *.lib
	-@erase *.exe
	-@erase *.idb