tg_def.mk (534c536d) tg_def.mk (cde270a3)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 274 unchanged lines hidden (view full) ---

283 @fix_def_file < $(DEF$(TNR)EXPORTFILE) >> $@.tmp_ord
284.ENDIF
285 @sort < $@.tmp_ord | uniq > $@.exptmpfile
286 @fix_def_ord < $@.exptmpfile >> $@.tmpfile
287 @+-$(RM) $@
288 $(COMMAND_ECHO)+$(RENAME) $@.tmpfile $@
289 @+-$(RM) $@.tmp_ord
290 @+-$(RM) $@.exptmpfile
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 274 unchanged lines hidden (view full) ---

283 @fix_def_file < $(DEF$(TNR)EXPORTFILE) >> $@.tmp_ord
284.ENDIF
285 @sort < $@.tmp_ord | uniq > $@.exptmpfile
286 @fix_def_ord < $@.exptmpfile >> $@.tmpfile
287 @+-$(RM) $@
288 $(COMMAND_ECHO)+$(RENAME) $@.tmpfile $@
289 @+-$(RM) $@.tmp_ord
290 @+-$(RM) $@.exptmpfile
291 $(COMMAND_ECHO)+$(IMPLIB) $(IMPLIBFLAGS) $(SHL$(TNR)IMPLIBN:s/.lib/.a/) $@
292 $(COMMAND_ECHO)+emxomf -o $(SHL$(TNR)IMPLIBN) $(SHL$(TNR)IMPLIBN:s/.lib/.a/)
291.IF "$(SHL$(TNR)USE_EXPORTS)"=="" || "$(SHL$(TNR)USE_EXPORTS)"=="ordinal"
292#03/11/2012 if 'name' is not used, export from def file (with ordinals)
293 @echo Build import library from DEF file.
294 @+-$(RM) $(LB)/$(SHL$(TNR)TARGETN:b).lib
295 $(COMMAND_ECHO)+$(IMPLIB) $(IMPLIBFLAGS) $(LB)/$(SHL$(TNR)TARGETN:b).lib $@
296.ENDIF # "$(SHL$(TNR)USE_EXPORTS)"==""
293
294.ENDIF # "$(GUI)"=="OS2"
295
296.IF "$(GUI)"=="UNX"
297$(DEF$(TNR)TARGETN): \
298 $(DEF$(TNR)DEPN) \
299 $(DEF$(TNR)EXPORTFILE)
300 @echo just a dummy for UNIX > $@
301.ENDIF
302.ENDIF # "$(DEF$(TNR)TARGETN)"!=""
303
304
305# Anweisungen fuer das Linken
306# unroll end
307#######################################################
308
297
298.ENDIF # "$(GUI)"=="OS2"
299
300.IF "$(GUI)"=="UNX"
301$(DEF$(TNR)TARGETN): \
302 $(DEF$(TNR)DEPN) \
303 $(DEF$(TNR)EXPORTFILE)
304 @echo just a dummy for UNIX > $@
305.ENDIF
306.ENDIF # "$(DEF$(TNR)TARGETN)"!=""
307
308
309# Anweisungen fuer das Linken
310# unroll end
311#######################################################
312