]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Generate ccapi.def export list from V2, V3, debug lists. It is no longer a file...
authorKevin Koch <kpkoch@mit.edu>
Thu, 20 Mar 2008 15:28:11 +0000 (15:28 +0000)
committerKevin Koch <kpkoch@mit.edu>
Thu, 20 Mar 2008 15:28:11 +0000 (15:28 +0000)
Update test Makefile.in to use file ccapi_string.c.

TargetVersion: 1.7
Component: krb5-libs
Ticket: 5594
Tags:  pullup
Subj: Work on compiling the CCAPI test suite on Windows.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20284 dc483132-0cff-0310-8789-dd5450dbe970

src/ccapi/lib/win/Makefile.in
src/ccapi/lib/win/ccapi.def [deleted file]
src/ccapi/lib/win/debug.exports [new file with mode: 0644]
src/ccapi/test/Makefile.in

index fa4c0adef695ef944cae8643635be55c78999a8c..df4d95fd982cf3d1808295129d189a1641bd049d 100644 (file)
@@ -94,6 +94,14 @@ $(OUTPRE)ccapi.dll: $(OBJS) ccapi.def
        $(LINK) $(LFLAGS) -entry:_DllMainCRTStartup@12 -dll /map:$*.map /out:$@ /DEF:ccapi.def $(OBJS) \\r
            /implib:ccapi.lib $(dllflags) $(LIBS) $(KFWLIB) $(SCLIB) rpcrt4.lib $(conlibsdll) $(conflags) \r
 \r
+ccapi.def: \r
+    echo ;ccapi.def is generated by a Makefile rule. > ccapi.def\r
+    echo HEAPSIZE      8192  >> ccapi.def\r
+    echo EXPORTS          >> ccapi.def\r
+    type ccapi.exports    >> ccapi.def\r
+    type ccapi_v2.exports >> ccapi.def\r
+    type debug.exports    >> ccapi.def\r
+\r
 finish:\r
     echo "Finished in ccapi/lib/win."\r
     cd ..\r
diff --git a/src/ccapi/lib/win/ccapi.def b/src/ccapi/lib/win/ccapi.def
deleted file mode 100644 (file)
index d062e55..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-;LIBRARY               COMERR32
-HEAPSIZE       8192
-
-EXPORTS
-    cci_debug_printf
-    
-    cc_initialize
-
-       cci_string_new
-       cci_string_d_initializer
-       ccapi_string_release
-
-    cci_credentials_iterator_new 
-    cci_credentials_iterator_write 
-
-    cci_ccache_iterator_new 
-    cci_ccache_iterator_write 
-
-    ccapi_ccache_iterator_release 
-    ccapi_ccache_iterator_next 
-    ccapi_ccache_iterator_clone     
-
-    ccapi_credentials_iterator_release 
-    ccapi_credentials_iterator_next 
-    ccapi_credentials_iterator_clone
-    
-;debugging:
-    _cci_check_error
-    cci_os_ipc
-    cci_os_ipc_msg
-    cci_os_ipc_thread_init
-    cci_stream_data
-    cci_stream_write
-    cci_stream_new
-    
-    ccs_authenticate
-    
-           
-       
\ No newline at end of file
diff --git a/src/ccapi/lib/win/debug.exports b/src/ccapi/lib/win/debug.exports
new file mode 100644 (file)
index 0000000..0c37653
--- /dev/null
@@ -0,0 +1,13 @@
+    cci_debug_printf\r
+    _cci_check_error\r
+    cci_os_ipc\r
+    cci_os_ipc_msg\r
+    cci_os_ipc_thread_init\r
+    cci_stream_data\r
+    cci_stream_write\r
+    cci_stream_new\r
+    \r
+    ccs_authenticate\r
+    \r
+           \r
+       
\ No newline at end of file
index a155c1384a783f9ba55a41ed656388a6060a0294..9edab530cde7a6aa1401d8a416c877c9e69c5ebc 100644 (file)
@@ -34,6 +34,7 @@ LOCALINCLUDES = /I$(BUILDTOP) /I$(BUILDTOP)$(S)include /I$(BUILDTOP)$(S)include$
 ##DOS##       ccapi_ipc.c \
 ##DOS##       ccapi_credentials.c \
 ##DOS##       ccapi_credentials_iterator.c \
+##DOS##       ccapi_string.c \
 ##DOS##       ccapi_v2.c
 
 ##DOS##COMSRC=cci_cred_union.c \
@@ -69,6 +70,7 @@ PINGOBJS =  $(OUTPRE)ccapi_ccache.$(OBJEXT) \
             $(OUTPRE)ccapi_ipc.$(OBJEXT) \
             $(OUTPRE)ccapi_credentials.$(OBJEXT) \
             $(OUTPRE)ccapi_credentials_iterator.$(OBJEXT) \
+            $(OUTPRE)ccapi_string.$(OBJEXT) \
             $(OUTPRE)ccapi_v2.$(OBJEXT) \
             $(OUTPRE)cci_cred_union.$(OBJEXT) \
             $(OUTPRE)cci_identifier.$(OBJEXT) \
@@ -212,7 +214,10 @@ simple_lock_test:
        $(CC) -o $(TESTDIR)/simple_lock_test simple_lock_test.c $(LIBS)
 
 copy-script:
-       cp $(SCRIPT_NAME) $(DSTDIR)/$(SCRIPT_NAME)
+    echo Copy script ...
+    cd
+    dir ccapi_test
+       cp $(SCRIPT_NAME) $(DSTDIR)$(S)$(SCRIPT_NAME)
 
 success-message:
        @echo