Changeset 276 for trunk/idl-compiler


Ignore:
Timestamp:
Mar 26, 2007, 10:27:23 PM (18 years ago)
Author:
cinc
Message:

Started work on IH file emitter.

Location:
trunk/idl-compiler
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/Makefile

    r275 r276  
    1313PARSERDIR       =       ./parser_c
    1414HEMITTERDIR     =       ./h-emitter_c
     15IHEMITTERDIR    =       ./ih-emitter_c
    1516
    1617CFLAGS          =       -Zmt -Zcrtdll -D__OS2__ -D__ST_MT_ERRNO__ -c -Wall
     
    3839                        $(OBJDIR)/filestem_parser.o \
    3940                        $(OBJDIR)/h_file_emitter.o \
     41                        $(OBJDIR)/ih_file_emitter.o \
    4042                        $(OBJDIR)/printdata.o
    4143
     
    7274        $(CC) -I $(INC) $(CFLAGS)  -o$@ $<
    7375
     76$(OBJDIR)/%.o:  $(IHEMITTERDIR)/%.c $(INCDIR)/parser.h
     77        $(CC) -I $(INC) $(CFLAGS)  -o$@ $<
     78
    7479# Create the directories for temp files
    7580$(OBJDIR)/o.dep:
  • trunk/idl-compiler/c/nom-idl-compiler.c

    r275 r276  
    659659  if(fOptionEmitH)
    660660    emitHFile(parseInfo.pInterfaceArray);
     661  if(fOptionEmitIH)
     662    emitIHFile(parseInfo.pInterfaceArray);
    661663
    662664#if 0
  • trunk/idl-compiler/include/parser.h

    r275 r276  
    175175void parseFileStem(void);
    176176
     177/* Emitters */
    177178void emitHFile(GPtrArray* pInterfaceArray);
     179void emitIHFile(GPtrArray* pInterfaceArray);
    178180
    179181/* In printdata.c */
Note: See TracChangeset for help on using the changeset viewer.