| Line | |
|---|
| 1 | ## @file
|
|---|
| 2 | # DLLENTRY static library
|
|---|
| 3 | #
|
|---|
| 4 |
|
|---|
| 5 | SUB_DEPTH = ../..
|
|---|
| 6 | include $(KBUILD_PATH)/subheader.kmk
|
|---|
| 7 |
|
|---|
| 8 | LIBRARIES += dllentry
|
|---|
| 9 | dllentry_TEMPLATE = OdinCxx
|
|---|
| 10 | dllentry_SOURCES = dllentry.cpp
|
|---|
| 11 | dllentry_STAGE = dummy/ # just to keep it off the way, see below
|
|---|
| 12 |
|
|---|
| 13 | # We need to link with .o rather than .lib to override weak symbols
|
|---|
| 14 | OTHERS += $(PATH_STAGE_LIB)/dllentry.o
|
|---|
| 15 | OTHER_CLEAN += $(PATH_STAGE_LIB)/dllentry.o
|
|---|
| 16 |
|
|---|
| 17 | $$(PATH_STAGE_LIB)/dllentry.o: $$(dllentry_0_OUTDIR)/dllentry.o
|
|---|
| 18 | $(call MSG_INST_TRG,dllentry,$^,$@)
|
|---|
| 19 | $(QUIET2)$(CP) $^ $@
|
|---|
| 20 |
|
|---|
| 21 | include $(FILE_KBUILD_SUB_FOOTER)
|
|---|
| 22 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.