diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/makefil1 | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'public/sdk/inc/makefil1')
-rw-r--r-- | public/sdk/inc/makefil1 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/public/sdk/inc/makefil1 b/public/sdk/inc/makefil1 new file mode 100644 index 000000000..f2b08c940 --- /dev/null +++ b/public/sdk/inc/makefil1 @@ -0,0 +1,62 @@ +# +# This is the MIDL compile phase of the build process. +# +# The following symbols should be defined in your environment: +# BASEDIR - Used to indicate where the start of the nt tree is. +# ie. this could be set to d:\nt or c:\ntrel +# + +# The following is where you put the name of your .idl file without +# the .idl extension: + +IDL_NAME = ntrpc +IMPORT = ntimp + +# +# + +!IFNDEF BASEDIR +BASEDIR=\nt +!ENDIF + +SDKBIN = $(BASEDIR)\public\sdk\bin +SDKINC = $(BASEDIR)\public\sdk\inc +SDKCRTINC = $(BASEDIR)\public\sdk\inc\crt +PRIVATEINC = $(BASEDIR)\private\inc +FLAGS = -Di386 +INCS = -I$(SDKINC) -I$(SDKCRTINC) -I$(PRIVATEINC) + +!IF "$(NTVERSION)" == "" +TARGETS = .\$(IDL_NAME).h + +!ENDIF + +# +# Define Products and Dependencies +# + +all: $(TARGETS) $(EXTRN_DEPENDS) +!IF "$(BUILDMSG)" != "" + @ech ; $(BUILDMSG) ; +!ENDIF + +clean: delete_source all + +delete_source: + erase $(TARGETS) + +# +# MIDL COMPILE +# + +!IF "$(NTVERSION)" == "" + +$(TARGETS) : $(IDL_NAME).idl $(EXTRN_DEPENDS) + $(SDKBIN)\midl $(FLAGS) $(IDL_NAME).idl $(INCS) + IF EXIST $(IDL_NAME)_x.c del $(IDL_NAME)_x.c + IF EXIST $(IDL_NAME)_c.c del $(IDL_NAME)_c.c + IF EXIST $(IDL_NAME)_y.c del $(IDL_NAME)_y.c + IF EXIST $(IDL_NAME)_s.c del $(IDL_NAME)_s.c + +!ENDIF + |