| Last change
 on this file since 1569 was             951, checked in by sandervl, 26 years ago | 
        
          | 
Initterm creates LX image object during initialization
 | 
        
          | File size:
            1.1 KB | 
      
      
| Line |  | 
|---|
| 1 | # $Id: makefile,v 1.12 1999-09-15 23:26:05 sandervl Exp $ | 
|---|
| 2 |  | 
|---|
| 3 | # | 
|---|
| 4 | # PD-Win32 API | 
|---|
| 5 | # | 
|---|
| 6 | #       advapi32.dll makefile | 
|---|
| 7 | # | 
|---|
| 8 |  | 
|---|
| 9 | PDWIN32_INCLUDE = ..\..\include | 
|---|
| 10 | PDWIN32_LIB = ..\..\lib | 
|---|
| 11 | PDWIN32_BIN = ..\..\bin | 
|---|
| 12 | PDWIN32_TOOLS = ..\..\tools\bin | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 | !include $(PDWIN32_INCLUDE)/pdwin32.mk | 
|---|
| 16 |  | 
|---|
| 17 | CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) | 
|---|
| 18 | CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) | 
|---|
| 19 |  | 
|---|
| 20 |  | 
|---|
| 21 | TARGET = advapi32 | 
|---|
| 22 |  | 
|---|
| 23 | OBJS =  advapi32.obj initterm.obj registry.obj | 
|---|
| 24 |  | 
|---|
| 25 |  | 
|---|
| 26 | all: $(TARGET).dll $(TARGET).lib | 
|---|
| 27 |  | 
|---|
| 28 |  | 
|---|
| 29 | $(TARGET).dll: $(OBJS) $(TARGET).def | 
|---|
| 30 | $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \ | 
|---|
| 31 | $(PDWIN32_LIB)/kernel32.lib \ | 
|---|
| 32 | $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) | 
|---|
| 33 | $(CP) $@ $(PDWIN32_BIN) | 
|---|
| 34 |  | 
|---|
| 35 |  | 
|---|
| 36 | $(TARGET).lib: $(TARGET)exp.def | 
|---|
| 37 | $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def | 
|---|
| 38 | $(CP) $@ $(PDWIN32_LIB) | 
|---|
| 39 |  | 
|---|
| 40 | $(TARGET)exp.def: $(TARGET).def | 
|---|
| 41 | $(IMPDEF) $** $@ | 
|---|
| 42 |  | 
|---|
| 43 |  | 
|---|
| 44 | advapi32.obj: advapi32.cpp advapi32.h $(PDWIN32_INCLUDE)\odinwrap.h | 
|---|
| 45 | registry.obj: registry.cpp $(PDWIN32_INCLUDE)\odinwrap.h | 
|---|
| 46 | initterm.obj: initterm.cpp | 
|---|
| 47 |  | 
|---|
| 48 | clean: | 
|---|
| 49 | $(RM) *.obj *.lib *.dll *~ *.map *.pch | 
|---|
| 50 | $(RM) $(PDWIN32_BIN)\$(TARGET).dll | 
|---|
| 51 | $(RM) $(PDWIN32_LIB)\$(TARGET).lib | 
|---|
| 52 | $(RM) $(TARGET)exp.def | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.